Sending email using Smtp.mail.microsoftonline.com

后端 未结 5 1923
梦如初夏
梦如初夏 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:27

    Be sure to double check that your username is correct. It is not necessarily the same as your from email address. For example the from address may be "no-reply@yourdomain.com" but the username could be "mail-svc@yourdomain.onmicrosoft.com" depending no your setup and integration with Azure Active Directory etc.

提交回复
热议问题