Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inadequate Warning of Failed Send #3268

Closed
lawfulsoftware opened this issue Aug 15, 2023 · 7 comments
Closed

Inadequate Warning of Failed Send #3268

lawfulsoftware opened this issue Aug 15, 2023 · 7 comments

Comments

@lawfulsoftware
Copy link

We have had trouble sending an email to a particular recipient. It has twice failed however all other emails send without issue. I will try to diagnose the reason that it is not able to send.

The user had no idea that the message did not send. There should be some kind of persistent prominent warning to tell the user that an email could not send so the user can check the email and fix it.

The only indication of a problem is this notification in the email conversation:

image

@freescout-helpdesk
Copy link
Contributor

There should be some kind of persistent prominent warning to tell the user that an email could not send so the user can check the email and fix it.

What else can you suggest?

Also see https://github.com/freescout-helpdesk/freescout/wiki/FAQ#how-can-support-team-know-that-there-are-problems-with-sending-emails-and-emails-are-not-being-sent

@lawfulsoftware
Copy link
Author

I do not see where there is an option to be "notified by email on Send Errors." The only option appears to be for fetch errors. Additionally, the alert mentioned in paragraph 2 did not appear. No emails were sent to the administrator advising of the send error.

image

There have been several such errors and not all of them have generated the red notification in my first message.

image

The failed emails all included an attachment of some sort.

A one-week resending period is generally not helpful; an email server should not be down for more than 24 hours. A notification should be sent within an hour or two if something is preventing an email from being sent. The current "App\Jobs\SendReplyToCustomer" queue is at 75 for one email and 74 for another email. I have not received any warnings.

A one-hour delay is probably too long. Users and recipients expect emails to transmit almost instantly. A five-minute or ten-minute retry period would be better and there should be an indication to the user that the message is stuck and has not been sent.

It should be possible to set a time after which the system sends a notification to the admin. Ideally, it would be possible to call a webhook.

@lawfulsoftware
Copy link
Author

Further to this, it would be nice if we could set a backup SMTP server which will be automatically tried when the primary fails. I will also post this as a feature request.

@lawfulsoftware
Copy link
Author

lawfulsoftware commented Aug 18, 2023

I see that "Send Errors" is an option under Logs Monitoring however the list of logs to monitor does not appear until "Logs Monitoring" is set to true and the setting is saved. The options should appear as soon as "Logs Monitoring" is set to true and before the change is saved.

If there is a send error affecting many emails, an email alert will not be very helpful as it will not be sent. A webhook option is essential.

@freescout-helpdesk
Copy link
Contributor

Feel free to submit pull requests with fixes.

@freescout-helpdesk
Copy link
Contributor

We've made some changes - now if an email could not be sent a support agent will see an error message after 1 hour (while FreeScout will continue attempts to send it).

@lawfulsoftware
Copy link
Author

tyvm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants