I've added the option to store the SMTP result code for email addresses that fail validation.
They'll be stored in a new sub-array in the validate() results array like this:
[smtpErrors] => Array
(
[foobar_unknown@gmail.com] => Array
(
[code] => 550
[message] => 550-5.1.1 The email account that you tried to reach does not exist. Please try
)
)
Hi,
thank you for your great work!
I've added the option to store the SMTP result code for email addresses that fail validation.
They'll be stored in a new sub-array in the validate() results array like this:
Feel free to check out my code in the feature/return-smtp-response-code branch of https://github.com/strein/smtp-validate-email.git and let me know if you want me to file a pull request.