550 5.7.1 Client does not have permissions to send as this sender (office365)

前端 未结 5 1198
时光说笑
时光说笑 2021-01-03 23:38

i m trying to send email with following configuration

Host: smtp.office365.com

port: 587

user: \"myemail@domain.com\"

pass: \"mypassword\"

5条回答
  •  梦谈多话
    2021-01-04 00:12

    There can be many reason for this issue, One of this is which is most frequently comes because

    Login name and From address is not same.

    Login = 'abc@gmailcom' FROM = 'abc@gmailcom'

    Now use these variables, It will work.

提交回复
热议问题