how to send mail onbehalf of the other person in C#
Please Give Me Answer Fast..
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Parmar JagdishPosted Dec 26, 2014, 3:55 AM
Manish Kumar ChoudharyPosted Dec 26, 2014, 3:04 AM
use it
MailAddress mailFrom = new MailAddress("[email protected]");
MailAddress mailTo = new MailAddress("[email protected]");
MailAddress mailReplyTo = new MailAddress("[email protected]");
MailMessage message = new MailMessage();
message.From = mailFrom; message.To.Add(mailTo);
//here you could add multiple recepients
message.ReplyToList.Add(mailReplyTo); //here you could add multiple replyTo adress