jsmb - 2010-04-16 10:18:04
I would like to send a mime compliant message with an attachment using smtp.
I found all the pieces but can't get them to work together.
Do you have an example that does it all? (I found separate examples but I haven't figured out how to do it all at once!)
In addition I would like to set the following headers in this way:
From: EmailAAA@xxx.com
Reply-to: EmailAAA@xxx.com
Return-path: EmailBBB@yyy.com
Sender: EmailBBB@yyy.com
smtp username: EmailBBB@yyy.com
Note that there are two different email addresses from two different domains.
In another post you answered someone that, using the smtp class the Return-path is set to the same email as from, but this is not what I would like to have.
Thank you very much for any help