2
Reply

How can I set the User-Agent in messages of SMTPClient?

Pasquale Rubano

Pasquale Rubano

May 28 2015 6:57 AM
470
I would set the user-agent in my mail messages sent by a program. It seems important to limit the spam rating. In other environments (Indy) it is a specific property (TIdSmtp class), but in System.Net.Mail I don't have found any.
Thanks at all
Pasquale
 

Answers (2)