As stated in the documentation pointed by @Jamiec, the SMTPClient does not support modern protocols. You may use MailKit with which you can use the Sender property to achieve what you are looking for.