This information is outdated.
The last tests I made with the platform, it was able to talk with port 25 and 587 of Amazon SES, negating the need for the stunnel workaround.
Ricardo Silva wrote:
What version will this not be needed. 10_?_?_?
I don't think OutSystems changed anything. It's possible Amazon SES changed something in how their service operated.
In any case, I've been having success with sending emails in the latest 9.1 and 10.0 releases.
Ricardo,
We recently configured our Outsystems environment to use SES and are using port 25. Some mails are going out but others are failing with an error:
Error sending email 3360: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 184.73.246.167:25 at System.Net.Sockets.TcpClient.Connect(String hostname, Int32 port) at #0Yc.#ZYc.#CZc.#ZYc()
Would you have any ideas about why this may be happening? Thank you!
Hi Santosh,
I have no knowledge of this kind of errors being frequent when using amazon ses.
This looks like a network problem. Is your environment hosted in an Amazon EC2 instance?
In any case, the platform should retry sending the email. Is it not doing this and always failing for that email?
Thanks Ricardo. I found that Amazon SES throttles connections on port 25 but not on ports 465 and 587. We were sending mails to several recipients at one time which was causing the problem. The Outsystems platform was trying to resend but it would do so in groups and therefore keep failing. After switching the port it works fine.
Copied from Amazon SES documentation for reference:
You are sending to Amazon SES from an Amazon EC2 instance via port 25 and you cannot reach your Amazon SES sending limits or you are receiving time outs.Amazon EC2 imposes default sending limits on email sent via port 25 and throttles outbound connections if you attempt to exceed those limits. To remove these limits, submit an Amazon EC2 Request to Remove Email Sending Limitations. You can also connect to Amazon SES using ports 465 or 587, neither of which is throttled.