I noticed that the phpmailer.php file in .../includes/ under my J1.5 install is a lot different and smaller than its couterpart under J1.0. See below:
------- J1.5 phpmailer ----
<?php
/**
* Legacy Mode compatibility
* @version $Id: class.phpmailer.php 10381 2008-06-01 03:35:53Z pasamio $
* @package Joomla.Legacy
*/
require_once( dirname(__FILE__) . '/../../libraries/phpmailer/phpmailer.php' );
---------------------
I also notice the absence of a closing tag ?> for the php tag.
Per the advice in this forum, I added the stqatement below in the phpmailer.php file and still not getting my webform results emailed to addresses specified in the CF forms (email setup).
ini_set("sendmail_from","webmaster@myriversstate.com");
Please advise what I need to do differently or additionally in J1.5 as I do have the forms working ok in J1.0. ALl this happened after I migrated to J1.5 to take advantage of the v3.0 of CF.
Thx.
Hi obisi,
did you check the tutorials for CF 3 first ? its under Downloads/CF tutorials/
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Yes I have. With debug turned on, I get pass on all questions including saying email results sent successfully. However, I am not getting the results from any of the two email addresses I specified. I also read on this forum or somewhere online that one needs to include the statement: init_set("sendmail", user@domainname) etc in the phpmailer.php under includes directory to make email results from webform to work.
That is what I did under J1.0 to make it work. But looking at the same phpmailer.php under J1.5, both size and content are very different. I went ahead and added the one line of code and still not working.
I also noticed that the <?php tag was not closed properly under J1.5 (at least given my limited coding smarts). I am just wondering if I needed to do anything with a phpmailer.php in J1.5 as I did in J1.0 and if so, do I have the correct file size and content.
I've checked 3 installs of J1.5 and the phpmailer.php are the same limited content and different from its J1.0 version.
I want o=to say that the email funciton is working in CF but appealing to all using J1.5 and CF to help me; if nothing else confirm that the version of Phpmailer.php I have is correct, nothing needs to be done to it so I know where to focus effort for resolution.
My webhosting company says their platform is working fine since emails are sent with the J1.0 version.
Please help.
thx
Hi obisi7,
Can you send an email from anywhere in Joomla 1.5? By using the email link on an article page? Or when you register as a new user? If the answer is 'No' then your Joomla email set up isn't correct.
You don't normally need to make any changes to the phpmailer.php file unless your ISP tells you that something is wrong.
If in doubt you can set up a Gmail account and try using mail.google.com as an SMTP server.
Bob
Hi obisi,
After making the tests Bob suggested, you may try to change the mail function under the Joomla global config!
Regards
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Bob and Max --
Thx for trying to help. To Bob's questions:
1. I am able to create a new user in Joomla successfully
2. I was able to activate an email link (using mailto:) in an article to send an email to me successfully.
3. My email setting in Joomla Global Config is set to Php Mail and the above worked fine.
So I am at a loss why webform email results are not being sent to stated email addresses. I've also created gmail accounts and yet to try the SMTP route; maybe my last resort. Since I will be turning this site to the client on its own web host platform, I wanted to make it work as scuh without resulting to creating an email that is not tied to the domain name of the site (as that would what google email setup will entail).
Thx for untangling this for me.
BTW, to checout my issue pls visit myriversstate.com and under the "Services" tab on the home page, click on the links to test form submission and email link. I will be delighted to recieve any data you may enter in the first form (Certificate of Occupancy). It is yet to work for me regarding sending results via email.
did you try to change the email function in Joomla ? make it SMTP or PHP mail or sendmail ?
don't use same from and recipient emails!
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Boy this is proving intractable. I've setup a smtp server as follows:
1. created an email account on gmail as obisi7
2. selected the smtp server and gave the user credentials
3. entered mail.google.com as smtp server
I am getting this error: ce
* SMTP Error! Could not connect to SMTP host.
I've ried using obisi7 and [email]obisi7@gmail.com[/email] as username but no luck.
When I used php mail function, I didn't get any error except no results are being emailed. I do get the thank you page after submision.
Pls help; I am at my wits end on this. Thx
I also just checked to see if data is being saved into the table created and alas, no data is being saved even though a table is created and published as well.
Is there any special step that needs to be taken for 1.5 version? I did exactly everything I did in J1.0 where things work but this is baffling and tasking my know how. Pls help. What should I look for since no data is being captured (table and email). Thx
Hi obisi,
send me login details to your site in PM and I will check it quickly!
Regards
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
chronoforms great stuff. can't imagine how I could live without it. That is why we actually paid for it.!
similar problem. same physical site, joomla 1.0 chronoforms 2.3.9, webforms work, joomla 1.5, latestest chronoforms3.x doesn't.
by same physical site, I mean it.
joomla 1.0 and 1.5 in different databases, but to switch from 1.0 to 1.5, I just tarbar and untar the whole thing.
joomla 1.5 can email from content page (built in joomla functions, button on content page).
I read the FAQ and install pdf's.
I turned debuging on, sef on and off, captha on and off. I checked all the options, best I can.
debug output shows it working, even says it sent email, but it never showed a sample email as is described in debugging faq.s
I have yet to try any of the 'hacks' outlined in this post, as they did not seem to have helped.
What do you need from me?
site: Joomla 1.5.7 on freebsd, php 5.2.6, mysql 5.1. and as I stated, same site under joomla 1.0 sends emails from webform and articles, under joomla 1.5, only able to send from articles.
Hi,
try to play with the email functions in the global configuration of joomla, like making it "sendmail" or SMTP, it never works ?
Regards
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Correct, no different.
debug shows this: (again, no 'sample email' shown)
Form passed first SPAM check OK
Form passed the submissions limit (if enabled) OK
Form passed the Image verification (if enabled) OK
Form passed the server side validation (if enabled) OK
Form passed the plugins step (if enabled) OK
Emails data loaded OK
Form passed all before email code evaluation OK
Debug End
_POST: Array ( [firstname] => Michael [lastname] => Scheidell [companyphone] => 561-999-5000 [extension] => [email] => [email]user@example.com[/email] [title] => [companyname] => SECNAP Network Security [companyaddress] => [companyaddress2] => [city] => [state] => FL [zipcode] => [companysize] => 500 [interest] => specs [submit] => Submit Information [84804495e62441e6468421bf43c88fc4] => 1 )
Hi scheidell,
I think you have missed something here, the debug doesn't say that the email failed or succeded so the email is not enabled!!! make sure you have at least one email enabled at the forms manager, you need to see "Enabled: 1"
Regards
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Scheidel and I have exactly the same problem and I do have email enabled on all of my forms. Max, I've PM you with my login credentials for your assistance and still waiting on what the resolution will be.
Things wokred as supposed to but in J1.5 it is not so. Pls help as I am behind the 8 ball. Data is neither being saved in the table created and published or emailed to email addresses set up. No error is displayed but nothing works with CF 3.0 under J1.5. I was beginning to feel like my problem was imaginary until I saw this post with the same problem.
Thx Sir.
ah, but I fixed mine by enabling the emails, ONE EACH LINE IN THE HEADER PLACE.
so, click on
'to'
'from'
(or dymic to or from) and make sure the it says 'yes' and hit apply, in the little box AND up top.
and do this every time you change it.
Hi Obisi,
Just tested and made at test form and the data is getting saved ok, only email is not coming to me too, the debug says the email went out successfully and so there should be something obstacles the email on its way, I can't tell what exactly! check your mail server again and ask your host maybe they have an idea!
Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Hi Max--
Thx for looking into this. I guess I am not sure what the next step is as this is still not working even though webform results are being emailed using Smart Former and email link in an article. So my web host coy said no problem on their side.
I am also curious why no data is being saved with any of my forms though your test form saves data and not emailing. What am I missing? Pls help with this challenge. My stuff wroks in J1.0 and took so much pain to migrate to J1.5. The forms processing is a major element of my site. Thx for hearing my cry and helping.
Hi Obisi,
Regarding data saving, could you please check my test form and see how the data is saving and look into your forms to see whats the problem ? this will help you gain more knowledge with the extension!
lets test the emails one more time, disable the emails at the test form and add this line of code at the onsubmit after email box, change variables names to some data and submit the form and see if you get an email :
JUtility::sendMail($fromemail, $fromname, $recipients, $subject, $email_body, true);
let me know!
Regards
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
I'm experiencing the same problem. Was there a resolution to this post?
Hi NuMedia,
before reaching to this result, have you followed the tutorials in the Downloads/CF tutorials/ area ? did you play with your email data like the TO and From emails and names ? show me a screen shot of your email setup and general tabs!
Regards
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Max,
Thanks for the prompt reply. I hope that I'm just overlooking something simply, because I have revisited all the tutorial and tried all the suggestions found in the forums. Here are some screen shots from a test site with the last test form I threw together. I'll be in a meeting for a few hours, but will return to give this my full attention afterward.
[attachment=4]<!-- ia4 -->untitled-1[1].jpg<!-- ia4 -->[/attachment]
[attachment=3]untitled-2[1].jpg[/attachment]
[attachment=2]untitled-3[1].jpg[/attachment]
[attachment=1]untitled-4[1].jpg[/attachment][attachment=0]untitled-5[1].jpg[/attachment]
This is running on IIS6, PHP 5, MySQL 5, Joomla 1.5.8. I can provide more details when I return, if needed. Thanks again!
hmm, looks like teh same issue, is this a local server ? can you send emails from normal joomla contact form ? try to use different TO and from emails combinations!
Regards
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
This is not a localhost or local network server. The test site is running on one of my shared hosting servers. Joomla e-mails work just fine. Changing to and from emails even within different domains makes no difference. Your thoughts?
Hi Numedia, try to send to a gmail address and from an address at your current site mail server, so if your site is mydomain.com then send from [email]some_valida_address@mydomain.com[/email] and the from name should be of this email exactly! I believe the whole issue is your mail server setup!
Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
I've already confirmed that the problem is not with my mail service. (And I have tried your suggestion previously... thanks.) It appears that I've been experiencing 2 problems...
First, there was an extra "com" hidden in the display field such that the sending e-mail for some tests were directed to "some_valid_email@some_valid_domain.comcom". This neither resolved nor returned any errors by the mail service. Since I've been working from IE6/IE7/FF3 at this point I'm somewhat curious how this was hidden so well, but it's my oversight none-the-less.
Second, my quick test e-mails were delivering successfully, but caught in an updated SPAM filter on a local mail account.
I'm still working through the new forms setup to confirm, but I think it's safe to say that this was yet another case of operator error!
Thanks for the update, I'm very interested to know more about the extra com issue, can't understand it well indeed, and why this extra com doesn't appear at the debug screenshot above ?
regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
It must have been a type-o, but I'm not sure how it occurred. I fount it by using the right-arrow key to nudge over in the field and I don't think it has anything to do with Chronoforms. The screenshots from earlier this morning were from a different test form -- and that form generated the e-mails that were delivered.
Ok, this is a good news, I hope it would solve the other issues happen with few other users though.
Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
If nothing else it affirms that v3 indeed works on Joomla 1.5.8 with php5, mySQL5, on Windows IIS6 servers. Thanks for your help and understanding!
Max--
This is Obisi7again. I've checked and rechecked all of my setup against the form you also set up (test form) that is not sending email either. The added frustration for me is that none of my forms, though set up correctly as confirmed by debug=on setting and comparison with your settings, they are not saving data into tables.
Pls use the login credentials I PM to you earlier for another look. I really need your help as this has over tasked and delayed my production a great deal. It took me this long to respond bcos I really want to solve this problem by first trying and now that it is still not working, Ineed the community help.
---
One thing Inoticed though that is different with your testform is that your submit button did not have a value specified and yet showed up labeled as "Send Query". I am not sure where that label is defined.
Could it be that my statement shown below:
<input type="submit" name="submit" id="submit" value="Send Form" />
is not working and incorrect even though there is no such error reported? I've tested my mail service to be working per all the suggested tests in this thread. I get email from article links, form results work under J1.0 using the same webserver, tried different to and from email specs.
I hate to revert back to J1.0 just bcos of form processing issues. I think it will be dismissive to sugeest my issues are lack of knowledge using this extension as I've used it successfully under J1.0 and have set up the configs under J1.5 as best as I know how and done the tutorial as well. I now need higher order assistance.
Pls note that I am also a paid customer and not a trial user. Thx for your considerate help ... I am stuck in the same neutral gear and need to move.
my website is <!-- w --><a class="postlink" href="http://www.myriversstate.com">www.myriversstate.com</a><!-- w --> and the form in question is found under Ministry and selecting Agriculture.
Also, pls assist me in validating my form code to ensure there is no embedded char(s) preventing even a database recording of form data. I designed the form in Dreamweaver CS3 and pasted the code into CF.. I am just trying to find out where the problem could be but coming up empty thus far.
I validated the code in Dreamweaver and it passed just as CF also passed all using debug=on. I am speachless and confused. Pls help. I need the email results function and at least a database capture of submitted data. Thx
A url re-drect tells me (at least) that form was processed; so where is the data being sent?
Hi obisi7,
Your form looks OK as far as I can tell from the HTML. I don't have a login so can't check any further.
If you like you can take a Form Backup from the icon in the Forms Manager, post it here or email it to me and I'll look at that.
Bob
Hi obisi7,
In the DB Connection tab you had 'Enable Data Storage' set to No. Form data is saving OK now.
Bob
Hi obisi,
after Bob fixed the database issue for you, what makes you revert back to J1.0 ?
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
I have not reverted back to J1.0. I was only saying that the email results function works when I was using J1.0 and not working for me yet in J1.5.
Thx Bob for fixing the DB data save issue but how about email results issue, any luck? I truly appreciate this community on the willingness to help and empower others to learn and contribute to the community for help of other newbies.
Pls advise on the resolution for the email results issue which is befuddling still.
thx
Hi obisi7,
Sorry, I forgot to look at the email issue (seems that I can only manage one thing at a time!). I'll take a look shortly.
Bob
Hi obisi,
when you test the email try to disable the DB connection, also, can you ask your host for the mail server log and see if it shows anything meaningful about this!
Regards
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Hi obisi7,
I suspect that the problem is a combination of using a Dynamic From address (which I never recommend) and the Gmail server.
I've changed your form to use a fixed From address, but I think that this must (a) be recognised by your gmail account and (b) be different from the To address.
I suggest that you step through these permutations carefully until you find settings that work.
Bob
Bob--
Thx. The email addresses you have are all valid ( I guess including yours). I will try the form now to see if it works. The fixed email addresses (gmail and aol) are both mine and are valid. I will let you know if it works and pls advise of same if you get an email notice.
Bob--
Just tried it now. With the debug=on, I see the email template filled out with the form data and the fields properly addressed.
I then turned off the debug to see if I now get email results. Did you get anything emailed to you? I didn't get the bcc copy though.
Hi obisi7,
No, I got nothing emailed to me. I tried several different permutations without success.
Bob
I didn't either even though I was on cc: I also noticed that with debug=on, the displayed information reports that email has been sent successfully to the recipient at the "TO:" field but the bcc and cc recipients were not included. Even the email template only shows the "TO:" field and no cc or bcc.
I then went and changed the "TO:" field to point to my gmail address and still no cigar. The DB connection is working though as data are being saved. I've opened a trouble shoot ticket with my host on this problem; specifically that webform email results not working and asked that they also look at the email server log to see if email activity is being logged and to share same with me.
I am not sure where the problem is since mail funciton works with email link in articles under the same envrionment of J1.5 and the webform email results works as expected under J1.0.
This is a stumper and I am glad the best minds (Bob and Max) have first hand knowledge of this and hopefully we will get a solution to this mystery. Thx buddy.
Hi obisi,
let me know what the mail log has, may be this will help, I really hope to find why it doesn't work too! π€
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
I am still pushing for the mail log. However, for now I am told to include an init_ statement in my phpmailer.php file which is located under my /includes folder. That I already did per an earlier advice on a thread in this forum. That worked in J1.0 but not working in J1.5. As I stated earlier in this thread, the two phpmailer.php files (in J1.0 and J1.5) are vastly different in size and content. I have also tried using sendmail and smtp with no luck so I don't know if the phpmailer file is an issue.
I am stunned on this one.
Hi obisi7,
The phpmailer files I have are pretty much identical. In Joomal 1.0 it's includes/phpmailer/class.phpmailer.php and in 1.5 it is libraries/phpmailer/phpmailer.php
Bob
Bob --
With much appreciation to your tireless and patient effort, the problem is resolved. Your reply to my query of why the phpmailer.php files can be vastly different in style and content from 1.0 and 1.5 and God's help revealed the source of the problem.
J1.0 has the file in /includes subfolder while the right file in J1.5 is under libraries even though a similar file (though wrong one) is in /includes as well. That is the file I have been editing without luck.
Everything is good to go now. Thx a bunch. I learned a great deal in the process.
God bless you richly.
Now that I have email results working, may be I should point out another discovered issue. I noticed that email is only sent to the "TO" recipient and not the "CC" or "BCC". Is there another configuration needed to have copies of email sent? This will be most helpful as more than one person needs to get the inquiry form.
I also noticed that even in the debug mode, email is only sent to the "TO" recipient strangely regardless of the validated specifications in the email config.
Hi obisi7,
You'll need to make sure that there are CC & BCC entries set up in the email tab. There are no other special settings.
The debug code does only show the To & From addresses I think - it could be improved.
Bob
PS The file in the includes folder in Joomla 1.5 is used to redirect legacy code to the new folder.
Hi obisi, Bob,
Congratulations to you fixing this!π
@obisi, can you show the line you edited before and after the edit ?
Regards
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
I had a similar problem with 3.0. No emails got through the server, even when DEBUG mode stated that everything was OK and an email should have been sent. I switched to plain text email, however, and the emails got through...
Hi josnygaa, thank you for telling how it worked for you too!
Regards
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
SOlution to my email probelm:
1. a phpmailer.php file must be edited to include a statement (at least for my webhosting service). Ot may be different for your web host.
2. Open the file, with a text editor, which is located in .../libraries/phpmailer/ (if you are using J1.5) or .../includes/phpmailer/ (if you are using J1.0)
3. Insert this statement as the first statement after the opening <? php tag: ini_set ("sendmail_from","webmaster@myriversstate.com"); Such modification should always set correct sender address. That is the [email]webmaster@myriversstate.com[/email] is a valid address on my domain. It doesn't have to be a wwebmaster address, it can be any valid email address.
4. Save
5. Set up and cnfig your CF email tab as needed and BINGO! everything now works as expected. Hope this helps.
I am still struggling with the CC & BCC even though I included both setup in my email tabs, I am yet to get success but will keep working it. If nayone has suceeded with this, please share. I have done as Bob suggested and still no cigar but I do thank everyone for yur help; we are the better for it as a community.
Thank you Obisi, did you have CC and BCC working on J1.0 site ?
Regards
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
I didn't ry CC and BCC in J1.0 site and don't have a way to do that since I've moved to J1.5 platform. I am sure likeall other problems reported in this forum and have been solved, this too will be solved by th ecolctive will of the people. I remain hopeful bcos all of the good people and smarts in teh CF community.
BTW, Max are we any closer to having multipart form integrated into CF? I recall about a month ago yousaid that is the next feature in the CF3.x. I know there is a workaround now which I am using but noting likehaving it natively as a feature.
Thx and jt thought I will put that forward again.
Hi obisi,
ok, I remember many users reported CC and BCC not working but then after changing some setting in the email type or the Joomla version it worked!
still the new version is not ready yet, hopefully by the new yearπ
Regards
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.