How to use Custom Headers with Rails ActionMailer
How to use custom headers with Rails ActionMailer #rails
In the previous post I explained how to store all outgoing emails with rails. Now it’s time to bring that to the next level and store some business metadata like user_id or company_id with it.
The best way to do that is by using custom email headers in your mailer classes. Just be careful to not send out sensible data as those headers are obviously sent to the recipients in plain text.
Add custom…
View On WordPress










