I am using GMail SMTP server to send mails. And PHPMailer as the mail sending script.
I have received this error (I log all SMTP errors, that is whenever, PHPMailer::Send fails): -
SMTP Error: Data not accepted.<p>SMTP server error: 4.7.0 Temporary System Problem. Try again later (WS)
But the mails is actually sent. (This I know by matching the timestamp of sent mails, and the timestamp in the log.)
How is it possible? What does that error mean?
UPDATE: I think I was not clear in my question. Let me rephrase it: -
I am not worried if a mail is lost after PHPMailer is able to send it to GMail SMTP. But I am worried that PHPMailer has returned error, but the mail was sent. Is it possible?