We are using smtp.office365.com SMTP settings for sending emails.We use PHP mailer to send emails.When I use same code segment with same SMTP setting on two servers(AWS EC2), email work well one one server and email not send in other server. It shows an error message saying SMTP Error: Could not authenticate.Can someone help me to resolve this issue?
↧