G
Guest
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","(e-mail address removed)");
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.
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","(e-mail address removed)");
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.