The validation isn't correct the first time we make a request.
This are two responses from the getMailgunValidation method on the same email address (i have removed the email address from the response):
As you can see in the first response it says is_valid is true and in the second one it says is_valid is false. The strange thing is that the message in both reaon fields say that the email address is invalid which make me think the is_valid field should be false in both cases.
First one:
{#3568
+"address":
+"did_you_mean": null
+"is_disposable_address": false
+"is_role_address": false
+"is_valid": true
+"mailbox_verification": "false"
+"parts": {#3566
+"display_name": null
+"domain": ""
+"local_part": ""
}
+"reason": """
5.1.1 The email account that you tried to reach does not exist. Please try\n
5.1.1 double-checking the recipient's email address for typos or\n
5.1.1 unnecessary spaces. Learn more at\n
5.1.1 https://support.google.com/mail/?p=NoSuchUser j6si547867qka.207 - gsmtp
"""
}
The validation isn't correct the first time we make a request.
This are two responses from the getMailgunValidation method on the same email address (i have removed the email address from the response):
As you can see in the first response it says is_valid is true and in the second one it says is_valid is false. The strange thing is that the message in both reaon fields say that the email address is invalid which make me think the is_valid field should be false in both cases.
First one: {#3568 +"address": +"did_you_mean": null +"is_disposable_address": false +"is_role_address": false +"is_valid": true +"mailbox_verification": "false" +"parts": {#3566 +"display_name": null +"domain": "" +"local_part": "" } +"reason": """ 5.1.1 The email account that you tried to reach does not exist. Please try\n 5.1.1 double-checking the recipient's email address for typos or\n 5.1.1 unnecessary spaces. Learn more at\n 5.1.1 https://support.google.com/mail/?p=NoSuchUser j6si547867qka.207 - gsmtp """ }
Second one: {#3568 +"address": +"did_you_mean": null +"is_disposable_address": false +"is_role_address": false +"is_valid": false +"mailbox_verification": "false" +"parts": {#3566 +"display_name": null +"domain": "**" +"local_part": "**" } +"reason": "mailbox_does_not_exist" }