Mailer
Mail from SMTP Server
From Name [email]form@xxx.com[/email]
Sendmail Path mymail.xxx.com
SMTP Authentication Yes
SMTP Security none
SMTP Port 25
SMTP Username [email]form@xxx.com[/email]
SMTP Password xxxxx
SMTP Host mymail.xxx.com
Forums
contact, other forms not working after form setup with Chron
After setting up a secure online form using Chronoforms and ChronoConnectivity, I find I get errors such as this "PHPMAILER_RECIPIENTS_FAILEDperson@emailaddress.com" for two contact form plugins.
PS - in problem solving this I changed code here in components\com_contact\controller.php,
More specifically, I changed this line,
At about this also started getting 500 error for that form's parent page.
// Prepare email body
$prefix = JText::sprintf('ENQUIRY_TEXT', JURI::base());
$body = $prefix."\n".$name.' <'.$email.'>'."\r\n\r\n".stripslashes($body);
$mail = JFactory::getMailer();
$mail->addRecipient( $contact->email_to );
$mail->setSender( array( $email, $name ) )
$mail->setSubject( $FromName.': '.$subject );
$mail->setBody( $body );
More specifically, I changed this line,
$mail->setSender( array( $email, $name ) )
and when it didn't work changed it back to this. At least what is there now is what I remember it being.At about this also started getting 500 error for that form's parent page.
Also, when I try to submit the ChronoForm now it receive this:
Last week because of many problems we were having that seemed to be related to our having the site inside the "secure" folder, we set up a duplicate site in "public", set each menu item to SSL 'no' or 'ignore' except for the home page where the link to the secure Chronoform resides.
This solved the 404 and mixed content warnings and we thought all was well until these form problems emerged.
You are not allowed to access this URL
Last week because of many problems we were having that seemed to be related to our having the site inside the "secure" folder, we set up a duplicate site in "public", set each menu item to SSL 'no' or 'ignore' except for the home page where the link to the secure Chronoform resides.
This solved the 404 and mixed content warnings and we thought all was well until these form problems emerged.
Hi Scott,
I can't quite make sense of what is happening here . . .
I can see that you missed the closing ; off the line that you edited. It's possible that that is causing some of the other errors.
Bob
I can't quite make sense of what is happening here . . .
I can see that you missed the closing ; off the line that you edited. It's possible that that is causing some of the other errors.
Bob
Bob,
I downloaded fresh copy of Joomla, same version (Joomla! 1.5.23 Stable) and replaced the components\com_contact\controller.php file. Can now access the parent page.
Discovered ssl was applied to helptherapists.com instead of helptherapist.com. Found and and corrected the lines that caused that.
Still not accessing the two forms, web host insists one copy of site must be in the folder named "secure" so have gone back to having the site there and having the folder named "Public" holding redirect instructions only. This the way it was until recently. Today I had discovered that having duplicate folders was causing havoc when I added content. I had hoped that going back would get me the forms back, too.
No, the forms are not working.
The Chronoform returns "You are not allowed to access this URL" in Chrome "PHPMAILER_RECIPIENTS_FAILEDxxxx@thesite.com" in IE9.
The Joomla contact form which had never been problematic has been returning,
I have not changed the SMTP settings in Global Configuration. I did toggle the SMTP Authentication to no and back once. I also have not altered the form html during these changes.
The client is missing the online secure form badly.
Thank you for any insight,
Scott
I downloaded fresh copy of Joomla, same version (Joomla! 1.5.23 Stable) and replaced the components\com_contact\controller.php file. Can now access the parent page.
Discovered ssl was applied to helptherapists.com instead of helptherapist.com. Found and and corrected the lines that caused that.
Still not accessing the two forms, web host insists one copy of site must be in the folder named "secure" so have gone back to having the site there and having the folder named "Public" holding redirect instructions only. This the way it was until recently. Today I had discovered that having duplicate folders was causing havoc when I added content. I had hoped that going back would get me the forms back, too.
No, the forms are not working.
The Chronoform returns "You are not allowed to access this URL" in Chrome "PHPMAILER_RECIPIENTS_FAILEDxxxx@thesite.com" in IE9.
The Joomla contact form which had never been problematic has been returning,
PHPMAILER_RECIPIENTS_FAILEDdyyyy@thesite.com
.I have not changed the SMTP settings in Global Configuration. I did toggle the SMTP Authentication to no and back once. I also have not altered the form html during these changes.
The client is missing the online secure form badly.
Thank you for any insight,
Scott
SMTP authentication was toggled off; toggled back to on.
ChronoForm form returns same message;
contact form now returns, "SMTP Error! Could not connect to SMTP host."
ChronoForm form returns same message;
contact form now returns, "SMTP Error! Could not connect to SMTP host."
Hi Scott,
This still sounds like a problem with the Mail Server setup :-(
Bob
This still sounds like a problem with the Mail Server setup :-(
Bob
Must be.
Working on the ChonoForms secure online form as that's the one they want most urgently.
Turned SMTP Security to SSL from none.
I received "session timed out..." and did what Fredrik suggested in here: http://www.chronoengine.com/forums.html?cont=posts&f=2&t=15864#p40543
Now I receive "SMTP Error! Could not connect to SMTP host."
SMTP port is 25 - could this be he issue?
Rest of settings are as described on August 1 and untouched from when forms were working.
Can you point me to other files that impact SMTP that might have been affected by the folder changes?
Working on the ChonoForms secure online form as that's the one they want most urgently.
Turned SMTP Security to SSL from none.
I received "session timed out..." and did what Fredrik suggested in here: http://www.chronoengine.com/forums.html?cont=posts&f=2&t=15864#p40543
Now I receive "SMTP Error! Could not connect to SMTP host."
SMTP port is 25 - could this be he issue?
Rest of settings are as described on August 1 and untouched from when forms were working.
Can you point me to other files that impact SMTP that might have been affected by the folder changes?
According to web host the SMTP settings need to be set to Google apps where our email is.
Here again are the current settings (that were working before we copied the site into duplicate folders:
How did this work before?
Here again are the current settings (that were working before we copied the site into duplicate folders:
Mailer
Mail from SMTP Server
From Name [email]form@sitenameonGoogle.com[/email]
Sendmail Path mymail.webhost's name.com
SMTP Authentication Yes
SMTP Security none
SMTP Port 25
SMTP Username [email]form@sitenameonGoogle.com[/email]
SMTP Password xxxxx
SMTP Host mymail.webhost's name.com
How did this work before?
Hi Scott,
If you are using Google mail then shouldn't the SMTP server be smtp.gmail.com ??
Bob
If you are using Google mail then shouldn't the SMTP server be smtp.gmail.com ??
Bob
We changed the domain name a couple of years ago and set up email to match. This was done on Google apps by someone else. It is not gmail; it's [email]name@sitename.com[/email]. The SMTP settings in Joomla have not changed and worked until the recent change.
I remember the person who set it up complaining of the amount of back & forth he had between Google and the host techs. I think it had to do with the mx settings.
I remember the person who set it up complaining of the amount of back & forth he had between Google and the host techs. I think it had to do with the mx settings.
Found out the MX records are for incoming and so irrelevant and are set okay.
Second tech too suggests using G apps settings. Don't understand why the settings we used worked until late.
Second tech too suggests using G apps settings. Don't understand why the settings we used worked until late.
Was SMTP settings.
Works as set up per this link for Gmail worked:http://baylinux.com/resources/45-joomla/64-joomlasecuremailpatch.html
Still wonder why the old settings worked all this time...
Again, thank you.
Works as set up per this link for Gmail worked:http://baylinux.com/resources/45-joomla/64-joomlasecuremailpatch.html
Mail from SMTP Server
From Name [email]login@gmail.com[/email]
Sendmail Path irrelevant
SMTP Authentication Yes
SMTP Security ssl
SMTP Port 465
SMTP Username [email]login@gmail.com[/email]
SMTP Password xxxxx
SMTP Host smtp.gmail.com
Still wonder why the old settings worked all this time...
Again, thank you.
This topic is locked and no more replies can be posted.