mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-12-27 02:23:28 +08:00
Add TODOs about retries in sending
This commit is contained in:
parent
d3f0847f79
commit
56422eee10
1 changed files with 2 additions and 0 deletions
|
@ -26,6 +26,8 @@ class SendmailClient {
|
|||
try {
|
||||
results = await this._transporter.sendMail(msgData);
|
||||
} catch (err) {
|
||||
// TODO: shouldn't retry on permanent errors like Invalid login
|
||||
// TODO: should also wait between retries :(
|
||||
// Keep retrying for MAX_RETRIES
|
||||
error = err;
|
||||
this._logger.error(err);
|
||||
|
|
Loading…
Reference in a new issue