带有 SES 和附件的后缀配置
背景:我有一个 Rails 应用程序,可以发送事务和通知电子邮件。 1/20 电子邮件需要有附件。 我正在使用 postfix,只需设置 Amazon Simple Email Service 来处理外发电子邮件。
我的理解是,Amazon SES 目前不支持发送带附件的电子邮件。
在 postfix SES 当前设置为 default_transport。理想情况下,我想将其配置为使用 SES 发送不带附件的电子邮件,并使用不使用 SES 发送带附件的电子邮件(因为 SES 无论如何都会拒绝它们)。
这可能吗?
如果 postfix 不支持这种设置,我如何让我的 Rails 应用程序使用 SES 发送没有附件的电子邮件,而没有它的其他电子邮件?
Background: I've a rails app that sends out transactional and notification emails. 1/20 emails needs to have an attachment.
I'm using postfix, and just setup Amazon Simple Email Service to handle outgoing email.
My understanding is that Amazon SES doesn't currently support sending emails with attachments.
In postfix SES is currently setup as default_transport. Ideally, I'd like to configure it to send out using SES for emails without attachments, and send email without SES for emails with attachments (since SES will reject them anyway).
Is this possible?
If postfix doesn't support this kind of setup, how would I get my rails app to send out emails without attachments using SES and other email without it?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
![扫码二维码加入Web技术交流群](/public/img/jiaqun_03.jpg)
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
Amazon SES 现已支持附件。
Amazon SES now supports attachments.
这个问题近一个月前就被问到了,请问您的问题找到解决方案了吗?
我认为像你所说的那样配置Postfix会很困难,我建议两种选择:
This question was asked nearly a month ago, did you find a solution to your problem?
I think it would be difficult to configure Postfix as you say, I'd suggest two alternatives: