Understanding and handling verification timeouts.
Why Timeouts Occur
- Mail server is slow to respond
- Server is temporarily unavailable
- Network issues between Kawaa and mail server
- Greylisting or anti-spam delays
Default Timeouts
| Check | Timeout |
|---|---|
| DNS lookup | 5 seconds |
| SMTP connection | 10 seconds |
| SMTP verification | 30 seconds |
| Total request | 60 seconds |
Handling Timeouts
- Retry the verification after a few minutes
- Use async/batch endpoints for large volumes
- Check the status field - "unknown" often indicates timeout
Timeout Response
{
"email": "user@slow-server.com",
"status": "unknown",
"error": "smtp_timeout",
"message": "Mail server did not respond in time"
}