Author |
|
mcbutterbuns Newbie
Joined: 04 February 2008 Location: United States
Online Status: Offline Posts: 1
|
Posted: 04 February 2008 at 10:15am | IP Logged
|
|
|
I need to be able to set the Return-Path header of an email. The reason is that I want bounced emails to return to an address different than the from address.
The Return-Path address is a unique address for the specific recipient. I can tell which recipient bounced based upon the Return-Path address.
Currently when I send the message, the Return-Path header is the "From" address which I dont want.
Any ideas?
|
Back to Top |
|
|
Andrew AfterLogic Support
Joined: 28 April 2006 Location: United States
Online Status: Offline Posts: 1189
|
Posted: 04 February 2008 at 11:13pm | IP Logged
|
|
|
As described in MailBee.NET Objects documentation (MailMessage.ReturnPath property description):
Quote:
...if you need to send a message from an address different from From address, you can pass it as senderEmail parameter value of Send method. In this case, the mail server will set Return-Path header to senderEmail value, not to From value. |
|
|
So, please use this overload of Smtp.Send method.
Best regards,
Andrew
|
Back to Top |
|
|