Hi,
I can successfully send a test email from Joomla Global Configuration - Server set up.
I am also successful sending email from the Joomla login module.
However I cannot send from my form.
The CF email set up is blank which I take means the Joomla global config will be used.
I am receiving the error
Mailer Error: SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
When debug is on I get:
2016-12-15 19:39:43 SMTP ERROR: Failed to connect to server: php_network_getaddresses: getaddrinfo failed: Name or service not known (0) 2016-12-15 19:39:43 SMTP connect() failed.
Any ideas?
Thanks.
Hi TheMadMonk,
Please drag a Debugger action into the On Submit event, then submit the form and post the debug - including the 'dummy emails' results here.
Note: if you are using the Easy Wizard you can turn on Debug on the Others tab in CFv4 or the Setup tab in CFv5.
Bob
Thanks for the prompt response and apologies for not including this:
[Email] => Array
(
[0] => An email with the details below could NOT be sent:
[1] => To:admin@domain.com
[2] => Subject:Add New Device
[3] => From name:Admin
[4] => From email:enquiries@domain.com
[5] => CC:
[6] => BCC:
[7] => Reply name:Admin
[8] => Reply email:admin@domain.com
[9] => Attachments:
[10] => Array
Hi TheMadMonk,
Please make sure that the From address is the same as the address in the Joomla! mailer settings and different to the To address; please remove the Reply To Name and Email entries (they are redundant here any may be causing a problem).
Bob
The from email in Joomal global config is enquiries@domain.com and the from email in the email action is enquiries@domain.com.
The to address in the email action is admin@domain.com
I have removed the reply to name and email entries have been removed but results are the same.
Thanks
Hi TheMadMonk,
By all means PM me the site URL, the form name, and a SuperAdmin login and I'll take a quick look.
Bob
Hi Bob,
Thanks for the information.
Yes we are still in the sandbox however all the emails in the form are also verified just like the one in the server settings.
In fact the server settings from email is the same address as the from one in the form.
Is there a difference in how AWS treats the emails coming out of the form?
Thanks again.
Hi The MadMonk,
I know nothing much about AWS and I can't test with a verified address :-(
If the CF mail settings are empty then CF uses the Joomla! mailer settings; at the moment I've copied these into the CF Mail settings to help debug. I suggest that you check my test form with a Verified address to see what the debugger info is in that case.
My best guess is that your problems are with the AWS end rather than with CF.
Bob
Thanks Bob.
Moving out of the sandbox has solved the problem.
Not sure why given that all addresses were verified but onward and upward.
Thanks again.