@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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@activepieces/piece-smtp",
3
- "version": "0.3.1",
3
+ "version": "0.3.2",
4
4
  "dependencies": {
5
5
  "@sinclair/typebox": "0.34.11",
6
6
  "deepmerge-ts": "7.1.0",
@@ -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 = 5;
116
+ const maxRetries = 3;
117
117
  let retryCount = 0;
118
118
  while (retryCount < maxRetries) {
119
119
  try {
@@ -13,7 +13,7 @@ exports.smtpCommon = {
13
13
  user: auth.email,
14
14
  pass: auth.password,
15
15
  },
16
- connectionTimeout: 10000,
16
+ connectionTimeout: 60000,
17
17
  secure: auth.port === 465,
18
18
  };
19
19
  },