What's Changed
- A few misc fixes by @jhult in #117
- Outbox support by @andris9 in #118 (API docs)
- Show error information in account data if SMTP transactions fail
- Added new webhook type
messageDeliveryError
that is sent every time SMTP transaction fails - If the SMTP servers responds with a 5xx error then email delivery is not retried
Full Changelog: v2.13.0...v2.14.0
{
"account": "example",
"date": "2022-03-02T08:20:45.790Z",
"event": "messageDeliveryError",
"data": {
"queueId": "176bb3e7000fe427978",
"envelope": {
"from": "andris@example.com",
"to": [
"andris@ethereal.email"
]
},
"error": "Invalid login: 535 5.7.139 Authentication unsuccessful, SmtpClientAuthentication is disabled for the Tenant. Visit https://aka.ms/smtp_auth_disabled for more information. [HE1PR07CA0017.eurprd07.prod.outlook.com]",
"errorCode": "EAUTH",
"smtpResponse": "535 5.7.139 Authentication unsuccessful, SmtpClientAuthentication is disabled for the Tenant. Visit https://aka.ms/smtp_auth_disabled for more information. [HE1PR07CA0017.eurprd07.prod.outlook.com]",
"smtpResponseCode": 535,
"smtpCommand": "AUTH XOAUTH2",
"job": {
"attemptsMade": 1,
"attempts": 10,
"nextAttempt": false
}
}
}