Copy link to clipboard
Copied
Hello,
We configured with Coldfusion 10 Tasks that send mail using SES (Amazon) with username and password and validated. We launched the task and will manage coldfusion sending emails every x time processing them. In Coldfusion log we are seeing this error is repeated, albeit that finalment eventually send all emails pending queue, "Error", "scheduler-1", "10/23/14", "15 : 05: 19 ",," javax.mail.MessagingException: Could not connect to SMTP host: email-smtp.us-east-1.amazonaws.com, port: 465, response: -1 " A which may be due to this error? because users have reported to us that do not receive emails.
Regards and thanks for yours answers
Copy link to clipboard
Copied
Hello José Antonio Chao,
Can you Please confirm the "" has been Enabled in the mail server setting or not ? If it is not Enabled, please click the check box corresponding to "" to enable it. And also before submitting your changes, click the "" to check whether your mail server setting verified successfully or not.
After submitting your changes if you will get a message "Connection Verification Successful" , then the mail server will work perfectly.
If this fails Please mention all the setting in your mail server setting, so that we can get into the exact issue.
Regards
Himansu
Copy link to clipboard
Copied
Hello Himansu,
we have enable in mail server setting SSL socket connections to mail server, here you can see our setup after check verify mail server connections, but issue carry on.
Regads,
José Antonio Chao.
Copy link to clipboard
Copied
Thanks for the clarification José Antonio Chao,
The setting seems fine for mail sending process.
However, Have you ever tried sending a mail from a cfm page with cfmail tag? Does it work perfectly?
Regards,
Himansu
Copy link to clipboard
Copied
Hello Himansu,
yes it works fine send email from cfm page, and will also send emails pending in Spool folder, but we have this message mail.log exactly every minute.
Regards,
José Antonio Chao.
Copy link to clipboard
Copied
Hello José Antonio Chao,
Though I am not sure about the cause,it seems like the default mail server setting is overwritten in some way. What I an get from here is, there is some scheduled task running in every minute, that tries to send mail. So there might be some code in the page called by the scheduler, which is overwriting the default mail server setting (that is working perfectly). So you are getting "Error", "scheduler-1", "10/23/14", "15 : 05: 19 ",," javax.mail.MessagingException: Could not connect to SMTP host: email-smtp.us-east-1.amazonaws.com, port: 465, response: -1 " in the mail.log file exactly every minute.
Regards,
Himansu