Sending email using Smtp.mail.microsoftonline.com

后端 未结 5 1915
梦如初夏
梦如初夏 2021-01-04 12:28

The context:

We’re a small company that does not have an Exchange Server (or anyone dedicated to it) yet we still need to have/send emails.

5条回答
  •  遥遥无期
    2021-01-04 13:16

    What worked for me was what the-dude suggested Send SMTP email using System.Net.Mail via Exchange Online (Office 365) , on changing the email "from" address to be the same as the login for the stmp address

    AND

    doing what Vince suggested at the end Sending email using Smtp.mail.microsoftonline.com for commenting out "smtpClient.UseDefaultCredentials = false;"

提交回复
热议问题