D
D
Dmitry Filandor2017-03-14 11:56:28
gmail
Dmitry Filandor, 2017-03-14 11:56:28

How to reply (ReplyTo) in gmail?

Hello!
Here's how I send the email:

System.Net.Mail.SmtpClient SMTpMailer = new System.Net.Mail.SmtpClient("mail.**.com", 555);
            SMTpMailer.Credentials = new NetworkCredential("[email protected]***.com", "выв");

....
 message.ReplyToList.Add(new MailAddress(From, "ответить [email protected]"));

in gmail: joxi.ru/j1A59WPUeYM9AE but if I press answer, I answer myself - joxi.ru/el2ZVeOT9XJE2J what the...?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Pavlov, 2017-03-14
@LifeAct

Gmail ignores ReplyTo if From is your address. Why is unknown. The From and Reply-To addresses must be different. Use some special address like [email protected] or [email protected] for programmatic mailing - in general, not the one under which you log into your account manually. Make aliases, for example.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question