Add TODOs about retries in sending

This commit is contained in:
Christine Spang 2017-02-15 14:23:16 -08:00
parent d3f0847f79
commit 56422eee10

View file

@ -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);