question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Failures to send message in email gateway should notify the user in some way

See original GitHub issue

Replying to an email on, say, an announcements stream (which only allows admins to post) will attempt to reply on the stream, and error out in _internal_prep_message due to the authorization check in check_message.

This results in logging an exception, returning None from internal_send_stream_message in process_missed_message, ignoring that value, and then logging Successfully processed email from user. From the user’s point of view, they receive no feedback that the message failed to send, or why.

If the message is from the email gateway, we should not log an exception for auth failures; rather, we should notify the user (either via a reply email, or via a PM) that their message failed to send.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
ligmitzcommented, Dec 7, 2020

Hi @Abhirup-99, I was actually having a start at this issue but could not have a decent progress as my college exams and practicals kicked in. I would like to carry on with this one after the exams if you don’t mind. I hope you can find some other good issue to work on. Btw zulip-bot is down these days, so you may not be able to claim issues.

0reactions
ligmitzcommented, Dec 31, 2020

@m-e-l-u-h-a-n Working on it !

Read more comments on GitHub >

github_iconTop Results From Across the Web

Email non-delivery reports and SMTP errors in Exchange Online
Admins can learn about SMTP errors and non-delivery reports (also known as NDRs or bounce messages) that are generated in Exchange Online.
Read more >
Mail Delivery Failed: Returning Message to Sender
Mail delivery failed: returning message to sender errors are generally encountered when an intended recipient does not exist on the remote server.
Read more >
Central Email - Settings for delivery failure notification
Hello, a customer is migrating from on premise Sophos Email Appliance to Central Email. Some users have Out Of Office autoresponders.
Read more >
Amazon SES email sending errors - AWS Documentation
If you try to send an email through Amazon SES and the call to Amazon SES fails, Amazon SES returns an error message...
Read more >
How do I troubleshoot why a message was not received by the ...
In order to troubleshoot message reception, you need to know the IP addresses used to send mail by the organization that sent the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found