-
Notifications
You must be signed in to change notification settings - Fork 155
Open
Description
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:
[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 ) )
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.
Metadata
Metadata
Assignees
Labels
No labels