Archived Forum Post

Index of archived forum posts

Question:

how to read custom header which are adding while sending

May 28 '13 at 05:10

Hi,

while sending mails we had added header to mail like below

email.AddHeaderField("X-Id", currentRow["X-Id"].ToString());

and that mail get bounced , i need to read only that header instead of whole body.

Regards, Harish Chepuri.


Answer

Something like this example? http://www.example-code.com/vcpp/email_iterate_headers.asp

And you probably only want to get the email headers from your pop server: http://www.chilkatsoft.com/refdoc/vcCkMailManDoc.html#method022