How to change mailMessage.Sender.Address


Is it possible to change my created mailMessage’s Sender properties like Address, DisplayName.
I’m trying to assign a new value but I get this error

It works when I’m changing mail.Subject


Yes, but I try to assign my own Sender name, not to get it from mailMessage