Is it possible to set the sender name on a MailMessage
object? I tried setting it from MailAddress
, but the DisplayName
property seems to be read only.
I tried "My Name " as the sender and don't seem to work either.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…