I write this post just to see if I can get some clarifications regarding email sending concepts in an AWS EC2 instance.
This is related with this other post Rails does not send emails on AWS
I′m developing a Rails application that sends emails to customers (such as confirmation or information emails).
I dont know exactly which email service is using Rails. I didn′t install any particular gem. But the emails are been sent perfectly in development environment (Ubuntu).
When I deploy to my production environment (AWS EC2 instance). This functionality is not working. You can see the error details in the post I provided above. The error is related with some smtp connection refused
.
So, I have read some other posts but Im confused. Is it mandatory to use the AWS SES service in order to send emails from EC2 instance? Or it is just a problem related to security credentials (maybe I just need to open the smtp 25 port). Do I need to install any email client or server?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…