SMTP Verification API

SMTP Verification API - Validate Email Servers

Verify if an email address exists by connecting to its SMTP server. Deep SMTP handshakes to confirm mailbox existence without sending any email.

What It Solves

Developers need to validate emails before sending to avoid bounces, protect sender reputation, and reduce costs. Our SMTP verification API performs a real mailbox check by connecting to the destination mail server, simulating an actual delivery attempt without sending any email.

Quickstart

curl -X POST "https://api.mailsafepro.es/validate/email" \
  -H "X-API-Key: YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"email":"test@example.com","check_smtp":true}'
const res = await fetch("https://api.mailsafepro.es/validate/email", {
  method: "POST",
  headers: { 
    "X-API-Key": process.env.MAILSAFEPRO_API_KEY, 
    "Content-Type": "application/json" 
  },
  body: JSON.stringify({ email: "test@example.com", check_smtp: true })
});
console.log(await res.json());
import os
import requests

response = requests.post(
    "https://api.mailsafepro.es/validate/email",
    headers={"X-API-Key": os.environ["MAILSAFEPRO_API_KEY"]},
    json={"email": "test@example.com", "check_smtp": True},
    timeout=30,
)
print(response.json())

Preguntas Frecuentes

驴C贸mo funciona la verificaci贸n SMTP?

Nos conectamos al servidor de correo del destinatario y simulamos una entrega de email. La respuesta del servidor nos indica si el buz贸n existe.

驴Es seguro usarlo en producci贸n?

S铆. Respectamos los tiempos de espera de la RFC 5321 e implementamos retrasos inteligentes para evitar activar filtros de spam.

驴Qu茅 pasa si el servidor no responde?

Devolvemos estado "unknown" tras el timeout. Puedes reintentar m谩s tarde o usar nuestra funci贸n de detecci贸n catch-all.

驴Guard谩is los resultados en cach茅?

S铆. Los emails validados se guardan en cach茅 durante 24 horas para reducir llamadas API y mejorar los tiempos de respuesta.

驴Cu谩l es la tasa de precisi贸n?

Nuestra precisi贸n es del 95%+ para proveedores principales (Gmail, Outlook, Yahoo) validada mediante nuestro sistema de pruebas interno.