Can we send emails from Rails application using Amazon SES SMTP service where sender's email ID is unverified.?
我们是否可以使用Amazon SES SMTP服务从Rails应用程序发送电子邮件,其中发件人的电子邮件ID未经验证。
I know that Amazon SES can send emails to unverified addresses. Is there any way to send emails from unverified arbitrary email address.
我知道Amazon SES可以向未经验证的地址发送电子邮件。有没有办法从未经验证的任意电子邮件地址发送电子邮件。
I want to know that, is there any way to get rid of it because my application is sending emails using user's email addresses as sender's email address.
我想知道,有没有办法摆脱它,因为我的应用程序使用用户的电子邮件地址作为发件人的电子邮件地址发送电子邮件。
2 个解决方案
#1
10
I got one solution for this problem. We can add arbitrary email address in From header of email along with the verified email address as follows
我有一个解决这个问题的方法。我们可以在电子邮件的From标题中添加任意电子邮件地址以及经过验证的电子邮件地址,如下
"arbitrarymail@example.com <verifiedemail@example.com>"
Because of this the receiver can get some Idea about the sender of the email.
因此,接收者可以获得关于电子邮件发件人的一些想法。
#2
5
Unfortunately, it's not possible to send emails from any arbitrary email address using Amazon SES without verification.
遗憾的是,无法在未经验证的情况下使用Amazon SES从任意电子邮件地址发送电子邮件。
You can however verify an entire domain, so that emails can be sent on behalf of all senders from the verified domain. If all your senders email addresses originate from a single domain, this solution will work, otherwise you may need to consider using an alternative to SES.
但是,您可以验证整个域,以便代表来自已验证域的所有发件人发送电子邮件。如果您的所有发件人电子邮件地址都来自单个域,则此解决方案将起作用,否则您可能需要考虑使用SES的替代方案。
Announcement here: http://aws.amazon.com/about-aws/whats-new/2012/05/15/amazon-simple-email-service-announces-domain-verification/
公告在这里:http://aws.amazon.com/about-aws/whats-new/2012/05/15/amazon-simple-email-service-announces-domain-verification/
#1
10
I got one solution for this problem. We can add arbitrary email address in From header of email along with the verified email address as follows
我有一个解决这个问题的方法。我们可以在电子邮件的From标题中添加任意电子邮件地址以及经过验证的电子邮件地址,如下
"arbitrarymail@example.com <verifiedemail@example.com>"
Because of this the receiver can get some Idea about the sender of the email.
因此,接收者可以获得关于电子邮件发件人的一些想法。
#2
5
Unfortunately, it's not possible to send emails from any arbitrary email address using Amazon SES without verification.
遗憾的是,无法在未经验证的情况下使用Amazon SES从任意电子邮件地址发送电子邮件。
You can however verify an entire domain, so that emails can be sent on behalf of all senders from the verified domain. If all your senders email addresses originate from a single domain, this solution will work, otherwise you may need to consider using an alternative to SES.
但是,您可以验证整个域,以便代表来自已验证域的所有发件人发送电子邮件。如果您的所有发件人电子邮件地址都来自单个域,则此解决方案将起作用,否则您可能需要考虑使用SES的替代方案。
Announcement here: http://aws.amazon.com/about-aws/whats-new/2012/05/15/amazon-simple-email-service-announces-domain-verification/
公告在这里:http://aws.amazon.com/about-aws/whats-new/2012/05/15/amazon-simple-email-service-announces-domain-verification/