You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When there's an error on the SMTP step, we return a Err(SmtpError::<some error>). There are cases where the error is not descriptive enough: io: incomplete, future timed out...
Proposal 1: Add the STMP step in the response
{
// snip
"smtp": {
"error": {
"type": "SomeError",
"message": "future timed out",
+ "step": "connect" // or "helo", "mail_from", "rcpt_to", "close", to know on which step it's timing out
}
}
}
Proposal 2: Add all logs in the reponse (optional)
When checking an email, we can add an option to include logs in the response.
When there's an error on the SMTP step, we return a
Err(SmtpError::<some error>)
. There are cases where the error is not descriptive enough:io: incomplete
,future timed out
...Proposal 1: Add the STMP step in the response
{ // snip "smtp": { "error": { "type": "SomeError", "message": "future timed out", + "step": "connect" // or "helo", "mail_from", "rcpt_to", "close", to know on which step it's timing out } } }
Proposal 2: Add all logs in the reponse (optional)
When checking an email, we can add an option to include logs in the response.
The text was updated successfully, but these errors were encountered: