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?
Amazon SES now supports attachments.