Forums

SMTP Connection Failed

Layne 01 Aug, 2014
Greetings,

I was super excited to find Chronoforms for my most recent project, and it's been a blast to use your program, except for one single issue:

I've set up all the settings in the SMTP settings area of the component. We are using a newer SMTP server that doesn't require authentication. I have the same settings set up with Joomla, and have verified that they work for other components to send email. But when I test the form, it gives me the following message: "Mailer Error: SMTP connect() failed."

Looking at the Debug feed provided by the form I find the following:

"Array
(
[12] => Array
(
[Check Security Question] => Array
(
[0] => Passed the answer check!
)

)

[16] => Array
(
[Email] => Array
(
[0] => An email with the details below could NOT be sent:"

I've triple checked the settings, and made sure all the email addresses and from name's are the same in both the Joomla config, and the Chronoforms config. I've also added them to the Email trigger under setup and made sure everything is the same.

If I could get some help figuring out what's causing the problem, that would be amazing. Thanks!
Max_admin 01 Aug, 2014
1 Likes
Hi Layne,

The last update has a bug at this specific point, it doesn't account for SMTP servers with no authentication credentials, so please send me a message using the "contact us" page to get a patch for that!

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Layne 01 Aug, 2014
Absolutely! I'll contact you directly.

Thank you for the blisteringly fast response!
amSTRad 21 Sep, 2014
Hello,
Unfortunately, I have the same problem. Joomla 2.5 and ChronoForms5 - can you help me, please.
Max_admin 22 Sep, 2014
Answer
Please download the latest update and install it OVER yours!

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Sabato 10 Oct, 2014
Hi everybody,

I have the same issue with chronoform5 and joomla 3.3.3
Is validation necessary to make it work or is it working even without?
Is there a patch to fix the problem to look at?

Kind regards

Fabrizio
Max_admin 10 Oct, 2014
Hi Fabrizio,

Please make sure you have the latest v5 update, this issue has been fixed in v5.0.1

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
wolfyb 28 Oct, 2014
So sorry but I can;t find the SMTP setup. Where is it?
Max_admin 28 Oct, 2014
Under the "Settings" page, Chronoforms admin home > Settings!
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
millebit 11 Dec, 2014
Hello, I have installed the latest version V5 j2.5 but I have the same problem error Mailer Error: SMTP connect () failed.
How can I do to fix? thanks
Max_admin 11 Dec, 2014
Hi millebit,

There should be no problems if your SMTP settings are configured correctly under the Chronoforms settings page.

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
NCA_webmaster 08 Jan, 2015
I have spent a great many hours trying to figure this one out. This was never a problem in previous versions.

I have done everything to get this working and for a moment yesterday, i got it. Then I installed the Plug-in and it broke everything again. All I'm doing now is trying a combination of installing and uninstalling components. Testing every time I install and uninstall things to find the sweet spot.

This is a great component, and I've used it for years, you are doing a great job providing this and other things for free.

Any help with this issue is greatly appreciated.

I've checked and double checked the settings in the mail component of chrono and I can currently receive emails from the normal contact for, so I know the details are correct.

Cheers
Max_admin 10 Jan, 2015
Hi millebit,

Does the form work when you test it using the "View form" link in the forms manager ?

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
agatplus 11 Feb, 2015
Hello everybody,
I have the same problem with chronoforms.
I'll explain
Joomla v3.3.6
chronoforms v5.0.5

Joomla mail settings:
Send mail - yes
Mailer - SMTP
From email - "myemail@myemail.com"
From name - "my site name"
SMTP Authentification - yes
SMTP security - none
SMTP port - 25
SMTP username - "myusername"
SMTP password - "mypassword"
SMTP Host - "myhostname"

Results - Joomla contact form, and other forms (forms that uses joomla smtp settings) can send emails without any problems

Chronoforms v5.0.5 settings:
Mailing method - SMTP
SMTP Security - BLANK
SMTP Host - "myhostname"
SMTP Port - 25
SMTP username - "myusername"
SMTP password - "mypassword"

Result - Chnoforms cannot send emails. Everytime i receive only "Mailer Error: SMTP connect() failed."
Max_admin 11 Feb, 2015
Does it work when you change the "Mailing method" to php mailer ?

Does the "From email" used in your form match the one used in your 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.
agatplus 11 Feb, 2015
i cannot use php mailer because of some security settings in the webserver. From email is same.
agatplus 13 Feb, 2015
Have somebody any suggestion in this case?
Max_admin 13 Feb, 2015
Please try to make sure both the from name & email are the same, also ask your host if there are any other restrictions to take care of, double check there is no space in the "SMTP Security" box.

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
agatplus 15 Feb, 2015
I have double checked everything. SMTP security is empty without any spaces.
Where are no other restrictions, on php mailer.
I want to mention that i have replaced two files in my site (Joomla 3.3.6) (mysite\libraries\phpmailer\phpmailer.php and mysite\libraries\phpmailer\smtp.php) with same files from joomla 2.5.
After this replacement, smtp works correctly in my joomla 3.3.6
May be this will be helpfull to resolve my problem with chronoforms
Max_admin 18 Feb, 2015
Ok, this is weird, could you please package the 4 files and attach them here or upload them some where and send me the link ?

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
cbahiana 10 Mar, 2015
I'm on Joomla 3.4.0 and Chronoforms 5.0.8 and have the same problem.

Replacing the two phpmailer library files with 2.5 versions didn't help.
Max_admin 10 Mar, 2015
Please double check the SMTP details entered in the CF Settings page.
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
cbahiana 11 Mar, 2015
So I did, they are the same used on Joomla (and that are working). I've also tried no security (and checked for space on the tls/ssl field), username@domain and username, using tls (and it's port), using the server name with domain and server ip and using PHP mailer (which I didn't expect to work, and it didn't).
Max_admin 12 Mar, 2015
Ok, a new update is expected shortly should have an option to debug the SMTP connecion, that may tell us what's wrong exactly.

You may also try to ask your host to get the phpmailer to work if that's possible.

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
cbahiana 17 Mar, 2015
Thank you Max,

I just got the update and debugged the problem, it was "Unrecognized authentication type". A few more tweaks and it's running fine now.
Max_admin 17 Mar, 2015
Great news, but if possible, please share the "tweaks"!🙂

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
cbahiana 18 Mar, 2015
1 Likes
Actually the tweaks were on the mail server side, a MS Exchange 2012. As I am not it's administrator I don't really know the details, but the fact is that having the debug information helped solve the problem.
This topic is locked and no more replies can be posted.