Can not change the display name of From email through smtp.office365.com using C# SmtpClient RRS feed

  • Question

  • Hi everyone.

    In the past few months, I used SmtpClient to send emails with host "smtp.office.365.comn", and I could change the Display Name of From Email using 

    message.From = new MailAddress(email, displayName) 

    But recently the client has found out that they can no longer change that "displayName" the email will have the from info like this: username <username@domain.com>.

    So, is there any change from Microsoft or any way I can custom the Display Name?

    I would appreciate any help.


    Wednesday, October 24, 2018 8:27 AM


All replies