Search The ForumSearch   RegisterRegister  LoginLogin

MailBee.NET SMTP

 AfterLogic Forum : MailBee.NET SMTP
Subject Topic: Need to set returnpath Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
mcbutterbuns
Newbie
Newbie
Avatar

Joined: 04 February 2008
Location: United States
Online Status: Offline
Posts: 1
Posted: 04 February 2008 at 10:15am | IP Logged Quote mcbutterbuns

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 View mcbutterbuns's Profile Search for other posts by mcbutterbuns
 
Andrew
AfterLogic Support
AfterLogic Support


Joined: 28 April 2006
Location: United States
Online Status: Offline
Posts: 1189
Posted: 04 February 2008 at 11:13pm | IP Logged Quote Andrew

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 View Andrew's Profile Search for other posts by Andrew
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide