login about faq

Hi,

i am sending mails using chilkat some times its showing from address as via bounce mail address as below,

**Account_Services@testmail.com via testbounce@testmail.com <Account_Services@testmail.com** using (Email email = new Email()) { email.FromAddress = "Account_Services@testmail.com"; email.FromName = "Account_Services" email.BounceAddress = "testbounce@testmail.com" }

Regards, Harish Chepuri.

asked Nov 29 '14 at 06:22

harishchepuri's gravatar image

harishchepuri
0579


See the reference documentation for the email.BounceAddress property:

The BounceAddress is the "return-path" address of the email to be used when the email is sent. Bounces (i.e. delivery status notifications, or DSN's) will go to this address.

Note: This is not the content of the "return-path" header for emails that are downloaded from a POP3 or IMAP server. The BounceAddress is the email address to be used in the process of sending the email via SMTP. (See the "SMTP Protocol in a Nutshell" link below.) The BounceAddress is the email address passed in the "MAIL FROM" SMTP command which becomes the "return-path" header in the email when received.

Note: The Sender and BounceAddress properties are identical and perform the same function. Setting the Sender property also sets the BounceAddress property, and vice-versa. The reason for the duplication is that BounceAddress existed first, and developers typically searched for a "Sender" property without realizing that the BounceAddress property served this function.

The Chilkat Bounce object's BounceAddress property may be something different. It depends on whatever automated response was sent by the mail server. If it was a standard DSN (Delivery Status Notification), then it would likely be the same as the email object's Sender/BounceAddress property. Otherwise, it could be the email.From property. The intent of the Bounce object's BounceAddress property is to know the original sender as best as possible given the multitude of ad-hoc / non-standard automated replies that can be received.

link

answered Dec 01 '14 at 09:23

chilkat's gravatar image

chilkat ♦♦
11.8k316358420

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×12

Asked: Nov 29 '14 at 06:22

Seen: 803 times

Last updated: Dec 01 '14 at 09:23

powered by OSQA