I would like to save a copy of every email sent from RoR. Is there a way ask ActionMailer to send a copy of every email send to a specific address (possibly ass bcc)
Background: I have been doing this using Mandrillapp automatically using "send a copy of every email to this address" from their settings page. I am now moving from Mandrill to Amazon SES and would like to continue using a similar functionality.
You should be able to set bcc
on the mail method: http://api.rubyonrails.org/classes/ActionMailer/Base.html
You could also simply send a copy of the same email contents with another mail()
call.