Steve Bryant released Mailer.cfc Version 1.8 a couple days ago.
We use this CFC extensively (w/ ColdSpring) to provide a single point for sending mails. No more CFMAILs strewn throughout the app.
If that isn’t enough of a benefit, its chock loaded with features, include the new “sender” header I asked for, which allows you to send email “On Behalf Of” other people. In other words, if you pass the CFC:
- From: email@example.com
- To: firstname.lastname@example.org
- Sender: email@example.com
It will send the mail from “firstname.lastname@example.org On Behalf Of email@example.com”. All replies go to “firstname.lastname@example.org”. This functionality comes in handy when you must send mail on behalf of a user, but from your mail servers which may mark the email as spam. Our government clients are very particular about email, SPF settings, and resist whitelisting, etc.