My program sends out emails in batch according to a specified mailing list, from the email sending plugin I used ( Swift Mailer 4.11 ), I know the SMTP server is really sending the emails out.
But how can I parse recipient's email server's reply? Should I parse "Undelivered Mail Returned to Sender" mails using PHP ( since the undeliverable email is sent to sender ? or any other alternatives to parse the transport ?
I just want to get the following message :
554 One or more of the sender or recipients in your email are invalid and not accepted. (in reply to DATA command)
or in success case :
200 OK