Mailer.cfc 1.5 is Gold

It is a big week for me in terms of open source releases. I got DataMgr 2.0 released on Monday and now Mailer.cfc 1.5 is ready today.

Mailer.cfc is, in part, an abstraction for cfmail. While cfmail is already a great encapsulation of email functionality, Mailer.cfc provides several advantages - especially if you are using CFCs.

The first advantage is that it you can pass Mailer.cfc into a component instead of several email-related settings. This is especially useful if you may or may not use a username/password to send email as it keeps you from having to code that conditional into your component.

More significantly, however, is that like DataMgr, Mailer.cfc comes with a "Sim" version that can be used for development and testing. Switching between the two requires no change to your code except on the instantiation of your component. This allows you to test your code without actually sending email.

Mailer.cfc can also log all of the email that it sends in a database table (this feature requires DataMgr, but Mailer.cfc can be used without anything else if you don't use logging).

The use of Notices in Mailer.cfc is also helpful, but beyond the scope of this entry.

Mailer.cfc is open source and free for any use. 

Comments (Comment Moderation is enabled. Your comment will not appear until approved.)

How about adding:

cfmailparam name="Sender" value=""

As an option, so that you can send mail with "On Behalf Of"

# Posted By Sami Hoda | 11/24/08 11:43 AM

Good idea. I will look into that.
# Posted By Steve Bryant | 11/25/08 6:33 AM
BlogCFC was created by Raymond Camden. This blog is running version 5.8.001.