473,216 Members | 2,232 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,216 software developers and data experts.

want to get bounced mail in different address

Im using System.Web.Mail to send emails to the users. Now i want to receive
the bounced mails in a different email id from that of the from(sender) id.
Im doing something like this...

MailMessage mail=new MailMessage();
mail.Headers.Add("Return-Path","id@domain.com");

but the bounced mails are coming back to from id.

Initially i thought smtp server is overwritng return-path informations with
the from id and i thought of some configuration changes over there(which is
not very easy as this involvese lot of management permissions issues). But
then i downloaded a trial version of a component and tried to do the same
using that component and using the same smtp server and it worked. Means the
bounced mails are coming back to the return-path id , not to the from id.
So that makes me feel that the problem is not with smtp server.
Can anybody throw some light here. I want to stick to System.Web.Mail for now.
To make it simple im not posting the actual codes here. But if it's required
i can do that in the next post.

please bear me if its not the right thread for this question.
--
Regards
Atanu
Jul 21 '05 #1
2 3042
Try Reply-To
"Atanu" <At***@discussions.microsoft.com> wrote in message
news:62**********************************@microsof t.com...
Im using System.Web.Mail to send emails to the users. Now i want to
receive
the bounced mails in a different email id from that of the from(sender)
id.
Im doing something like this...

MailMessage mail=new MailMessage();
mail.Headers.Add("Return-Path","id@domain.com");

but the bounced mails are coming back to from id.

Initially i thought smtp server is overwritng return-path informations
with
the from id and i thought of some configuration changes over there(which
is
not very easy as this involvese lot of management permissions issues). But
then i downloaded a trial version of a component and tried to do the same
using that component and using the same smtp server and it worked. Means
the
bounced mails are coming back to the return-path id , not to the from id.
So that makes me feel that the problem is not with smtp server.
Can anybody throw some light here. I want to stick to System.Web.Mail for
now.
To make it simple im not posting the actual codes here. But if it's
required
i can do that in the next post.

please bear me if its not the right thread for this question.
--
Regards
Atanu

Jul 21 '05 #2
i forgot to mention...i tried the following as well but didnt help me...

mail.Headers.Add("Errors-To","id@domain.com");
mail.Headers.Add("X-Bounce-Recipient","id@domain.com");
mail.Headers.Add("Envelope-to","id@domain.com");
mail.Headers.Add("Reply-To","id@domain.com");

And i think Reply-to means the receiver would reply to that id although it's
been sent from another id. And my requirement is to catch the bounced mails
in one defined id.
--
Regards
Atanu
"Stephany Young" wrote:
Try Reply-To
"Atanu" <At***@discussions.microsoft.com> wrote in message
news:62**********************************@microsof t.com...
Im using System.Web.Mail to send emails to the users. Now i want to
receive
the bounced mails in a different email id from that of the from(sender)
id.
Im doing something like this...

MailMessage mail=new MailMessage();
mail.Headers.Add("Return-Path","id@domain.com");

but the bounced mails are coming back to from id.

Initially i thought smtp server is overwritng return-path informations
with
the from id and i thought of some configuration changes over there(which
is
not very easy as this involvese lot of management permissions issues). But
then i downloaded a trial version of a component and tried to do the same
using that component and using the same smtp server and it worked. Means
the
bounced mails are coming back to the return-path id , not to the from id.
So that makes me feel that the problem is not with smtp server.
Can anybody throw some light here. I want to stick to System.Web.Mail for
now.
To make it simple im not posting the actual codes here. But if it's
required
i can do that in the next post.

please bear me if its not the right thread for this question.
--
Regards
Atanu


Jul 21 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Rob Imbeault | last post by:
Hi Guys, I am building a script that catches emails. I have access to the email source and I would like to distinguish between bounced emails, auto-replies and real replies. Is there a...
7
by: Monty | last post by:
I've written a simple e-newsletter app using the PHP mail() command. I want to be able to deal with bounce-backs if a member's email is no longer working or is using an old account. I'm using a...
3
by: Jishnu | last post by:
Hi ASP Gurus out there, I have question. I am wondering if any one can guide me towards a script that can handle bounced emails from a newsletter campaign. I am not interested in .Net solution....
2
by: Ot | last post by:
I tried an e-mail, but it bounced. Hence this post. Please don't take this as a flame. I am truly trying to be helpful. I know you are trying to participate in the group and be helpful. ...
2
by: Atanu | last post by:
Im using System.Web.Mail to send emails to the users. Now i want to receive the bounced mails in a different email id from that of the from(sender) id. Im doing something like this... ...
2
by: SharpSmith | last post by:
hi all i have a very specific question regarding emails sending and googling doesn't help me is a way exists to send email using .NET framework (System.Web.Mail or something else) and have the...
2
by: Ripendra007 | last post by:
hi all, can any body tell me how should i come to know that my e mail tha i hav sent is bounced and how to handles or update my database that ..this user or email Id is bounced..I have to do all this...
12
by: e_matthes | last post by:
Hello everyone, I am trying to use the mail() function to send a simple, text-only message. I have two websites hosted by the same company, on different servers. One is old and established,...
1
by: Stuart Harden | last post by:
We use Exchange 2007, but asp.net programs we have written to send out the mail. Is there an asp.net control to request the bounce backs be to a specific address? We can of course do this on...
1
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...
0
by: jianzs | last post by:
Introduction Cloud-native applications are conventionally identified as those designed and nurtured on cloud infrastructure. Such applications, rooted in cloud technologies, skillfully benefit from...
0
by: mar23 | last post by:
Here's the situation. I have a form called frmDiceInventory with subform called subfrmDice. The subform's control source is linked to a query called qryDiceInventory. I've been trying to pick up the...
0
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
2
by: jimatqsi | last post by:
The boss wants the word "CONFIDENTIAL" overlaying certain reports. He wants it large, slanted across the page, on every page, very light gray, outlined letters, not block letters. I thought Word Art...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: fareedcanada | last post by:
Hello I am trying to split number on their count. suppose i have 121314151617 (12cnt) then number should be split like 12,13,14,15,16,17 and if 11314151617 (11cnt) then should be split like...
0
Git
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.