Mailer.cfc Presentations
The free Mailer.cfc component makes it easy to send email from components with minimal dependencies. Watch presentations on this as well as installation and instantiation and sending personalized notices.
If you are using Mailer.cfc to send email from your component, then you won't have to pass in a bunch of email-related variables and you won't have to change your component if you change your mailserver or if username and password become required to send email.
Watch Presentations
Although not yet officially a 1.0 release, I have been using Mailer.cfc in production since December of 2004 (unchanged since March of 2006), so it is pretty stable. Come to think of it, I am not sure why I haven't labeled it as 1.0 yet. I should get around to that sometime...
Anyway, feel free to check out the presentations and try out the component. Free for use in commercial or non-commercial projects.
Can you add cfmail's (cfmx6.1) failto, wraptext, and mailerid attribute?
Sami
Sorry for the delayed response. These attributes have now been added (to both addNotice and send methods). I also updated the component doc. Feel free to download the new version and give it a try.
Let me know if you need anything else.
Thanks. Just saw your message. Everything works in my working sample, except multiple email address which disappear even though the return var is successful. Have you tried multiple address with a semi-colon separator or a comma as well? Maybe its just me...
Sami
I will take a look. I know that I have used it in that way in the past, though I can't guarantee that I haven't made any changes since then. Mailer.cfc ignorantly passes the the email address to cfamil, so that shouldn't be a problem.
That being said, I will try to test that out this week.
I just tried sending to multiple email addresses with both separators and it worked for me both times. Unfortunately, I don't have any guesses as to what the problem could be in your case, but it looks like Mailer.cfc is able to do that.