Try to enter a wrong email. As soon as you leave the input field the email will be validated by our service.
<form onsubmit="return false">
<input type="email" id="emailinput" name="email" placeholder="Enter email" onblur="validateEmail()">
<input name="name" placeholder="name">
<input type="submit" value="Send form">
</form>
<script>
function validateEmail(){
var email=document.getElementById("emailinput").value;
fetch("https://mailinspectors.com/mailverify?apiKey={{account.apiKey}}&email=" + email)
.then((response) => {
return response.json();
})
.then((myJson) => {
console.log(myJson);
if(myJson.status==0) alert("Are you sure your email is correct?");
});
}
</script>
| Regex | MX | Address | Status | |
|---|---|---|---|---|
| {{bulkItem.email}} | {{bulkItem.data.regex}} | {{bulkItem.data.MX}} | {{bulkItem.data.address}} | {{bulkItem.data.status}} |
Enter your email and password to create an account