iachat/app
Pranav Raj S 12916ceca6
fix: Capture delivery errors to avoid false positives (#8790)
The system did not detect the delivery errors earlier, resulting in some false positives. The user was not informed when an email failed to be delivered. While we do handle failure status in other channels, we were not able to capture the actual delivery status for the email channel.

This pull request makes the following changes:

- Updated the class EmailReplyWorker to use the deliver_now method instead of deliver_later. This change is made to raise any errors that may occur with the SMTP connection. The errors are then captured and sent to Sentry, and the email is marked as failed. Previously, we did not consider the case of retries in the email channel, so this feature is currently not functioning. So, I have disabled the retry option. We will address this in a follow-up ticket.
- Downgraded the net-smtp gem to version 0.3.4. This change is made to avoid an argument error when using XOAUTH2.

Fixes: https://linear.app/chatwoot/issue/CW-3032/argumenterror-wrong-authentication-type-xoauth2-argumenterror
2024-01-26 14:22:18 +04:00
..
actions fix: Migrate notes when merging the contacts (#8749) 2024-01-20 10:32:18 +04:00
assets feat: Super admin design improvements (#8517) 2023-12-08 19:40:35 -08:00
builders feat: use short_summary for downloading reports [CW-2962] (#8733) 2024-01-18 16:06:13 +05:30
channels chore: Sentry issues (#4623) 2022-05-06 14:50:55 +05:30
controllers feat: Support Regex validation for custom attributes (#7856) 2024-01-23 18:01:57 +04:00
dashboards feat: Super admin design improvements (#8517) 2023-12-08 19:40:35 -08:00
dispatchers Chore: clean up Reporting Events (#4044) 2022-02-28 18:16:12 +05:30
drops feat: Add the support for custom attributes in message variables (#8511) 2023-12-08 14:13:35 -08:00
fields feat: Supports masking tokens in super admin (#6491) 2023-02-21 17:50:55 +05:30
finders chore: Get all notification API improvments (#8549) 2024-01-17 09:02:18 +05:30
helpers refactor: remove exception tracker (#8737) 2024-01-18 17:49:27 +05:30
javascript fix: Capture delivery errors to avoid false positives (#8790) 2024-01-26 14:22:18 +04:00
jobs fix: mutex timeout and error handling (#8770) 2024-01-24 14:18:21 +04:00
listeners chore: Get all notification API improvments (#8549) 2024-01-17 09:02:18 +05:30
mailboxes fix: change email conversation not found exception to log (#8785) 2024-01-25 22:36:02 +05:30
mailers fix: Handle Contact import MalformedCSVError (#8706) 2024-01-18 13:05:58 +05:30
models fix: Add last_activity_at to notification push event data (#8784) 2024-01-25 12:05:00 +05:30
policies feat: trigger handoff when agent bot is the actor (#8639) 2024-01-05 15:26:52 -08:00
presenters feat: Add inbox webhook events (#8006) 2023-09-28 15:28:10 -07:00
services fix: Avoid processing reactions, ephemeral, request_welcome or unsupported messages (#8780) 2024-01-25 11:40:18 +04:00
views fix: [Snyk] Security upgrade administrate from 0.19.0 to 0.20.1 (#8741) 2024-01-25 17:33:21 +04:00
workers fix: Capture delivery errors to avoid false positives (#8790) 2024-01-26 14:22:18 +04:00
test-matchers.js Initial testing with jest (#133) 2019-10-15 00:18:46 +05:30