exlabs encountered an issue where Discourse rejected forwarded emails from Microsoft 365, despite successfully sending an error notification to the original sender. The problem stemmed from the email being blindly forwarded to mycompany-category-1@discoursemail.com, which Discourse couldn’t process. supermathie clarified that the email must be addressed to a configured incoming email address, such as support@mycompany.com, rather than just being forwarded to a category address. After adding the support email to the ‘Custom incoming email address’ field, the issue was resolved. exlabs also noted that replies from Discourse were delayed by about 15 minutes, which supermathie explained was due to the email time window setting. The issue was resolved with the correct configuration and understanding of how incoming emails are processed in Discourse.
Is support@mycompany.com configured in Discourse to accept mail, e.g. as a group inbox address or category address?
That part is crucial - Discourse does not see the SMTP envelope, only the mail itself. A blind forward to mycompany-category-1@discoursemail.com won’t be visible to Discourse.
The odd thing, I setup a Gmail account to forward to company-support-12@discoursemail.com and that worked! But changing over to our actual Microsoft 365 support email managed to break things, so I assumed the error was with Microsoft.
OK, adding our support email to the box fixed it! Thanks
However, when I reply from Discourse, is seems it never generates a reply email. I have checked in admin/email/sent and there is no record of Discourse doing anything. I have waited 10 minutes for it to arrive and nothing yet.
The reply email is sent after about 15 minutes when I reply using Discourse. Great it is working! Thanks