I am using phpmailer to send mail in Yii1. System which i have developed send thousand of emails daily. Normally it is working fine how ever sometime system fails to send email. After sometime that mail was delivered successfully (if system fails to send email first time then it will try again ). I am getting different types of email error some time. Not sure how to resolved those errors:
- Mailer Error:
The following From address failed: [email protected] : MAIL not accepted from server,x.x.x.x SMTP; Client was not authenticated to send anonymous mail during MAIL FROM [MWHPR11CA0017.namprd11.prod.outlook.com]SMTP server error: 5.7.57 SMTP; Client was not authenticated to send anonymous mail during MAIL FROM [MWHPR11CA0017.namprd11.prod.outlook.com]
- The following From address failed:
[email protected] : MAIL not accepted from server
- SMTP Error:
Data not accepted.SMTP server error: 2.1.5 Recipient OK
- The following From address failed:
[email protected] : MAIL not accepted from server,354,Start mail input; end with < CRLF >.< CRLF >SMTP server error: Start mail input; end with < CRLF >.< CRLF > SMTP server error: Start mail input; end with < CRLF >.< CRLF >
- SMTP Error:
The following recipients failed:[email protected]
So above is the different types of errors i have got sometimes. For #5 it seems that recipient was incorrect so that one is fine. But what about the others? How to solve them?