473,545 Members | 1,947 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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.Ad d("Return-Path","id@domai n.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 3063
Try Reply-To
"Atanu" <At***@discussi ons.microsoft.c om> wrote in message
news:62******** *************** ***********@mic rosoft.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.Ad d("Return-Path","id@domai n.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.Ad d("Errors-To","id@domain. com");
mail.Headers.Ad d("X-Bounce-Recipient","id@ domain.com");
mail.Headers.Ad d("Envelope-to","id@domain. com");
mail.Headers.Ad d("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***@discussi ons.microsoft.c om> wrote in message
news:62******** *************** ***********@mic rosoft.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.Ad d("Return-Path","id@domai n.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
1968
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 standard that all servers follow for rejected emails. I am looking for a unique string I can search for like "Mail Administrator" or "Failed email." ...
7
12437
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 Red Hat Linux server with Sendmail and Apache. I've seen mention of using Procmail or filtering mail to a certain account through a PHP script, but,...
3
2385
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. The mail server is Exchange 2003 if that helps. Right now clueless about tracking of bounced emails Thanks
2
1091
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. However, your responses have a few flaws. Your repeated use of "Thank you for posting in the community." is just noise. It contributes nothing. ...
2
378
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... MailMessage mail=new MailMessage(); mail.Headers.Add("Return-Path","id@domain.com"); but the bounced mails are coming back to from id. Initially i...
2
1874
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 "from" address to be X but if the message is bounced from not existing address or whatever, it will be returned to adress Y ? i tried to work by...
2
1634
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 in the asp.net using C# ....by the way i could find that the mail i sent is whether red or not but i dont hav idea how to find the bounced...
12
4554
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, one I am currently developing. I am testing the mail functionality by sending a test message to an email account associated with my old website, and...
1
1784
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 the client end; it would be "simple" enough to have the logged in "from" person set a filter on their incoming mail software which would forward the...
0
7484
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7675
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7928
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7440
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
5997
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5344
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3470
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3451
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1030
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.