@activepieces/piece-smtp 0.3.1 → 0.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -113,7 +113,7 @@ exports.sendEmail = (0, pieces_framework_1.createAction)({
|
|
|
113
113
|
});
|
|
114
114
|
function sendWithRetry(transporter, mailOptions) {
|
|
115
115
|
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
116
|
-
const maxRetries =
|
|
116
|
+
const maxRetries = 3;
|
|
117
117
|
let retryCount = 0;
|
|
118
118
|
while (retryCount < maxRetries) {
|
|
119
119
|
try {
|