[Bug]: Mail sent from Business Central have a high likelihood of getting marked as spam.
Describe the issue
When sending email from business Central with shared mailbox or current users the mail frequently gets marked as spam. When the same user that just sent an email from Business Central (as current user) tries to send the exact same mail with body content and attachmed pdf from their outlook client it works. In summary:
- Mail from BC as current user is SPAM
- Mail from Outlook client as the same user is NOT SPAM
I am willing to work with Microsoft or someone in the community to figure this out. Its hard to tell how many of our customers are experiencing issues with this because its intermittent nature. I know a minimum of 4 BC SaaS installations that reported to us about mails never reaching the reciver.
Expected behavior
We expect that both emails should arrive at the receiver without getting marked as spam. Sending an email from business central as current user should be equal to sending an email from the outlook client regarding “spammyness”.
Steps to reproduce
This is complex and intermittent between mail receivers thereby half impossible to reproduce. However I have access to one of our customers Microsoft environments as global admin and also my own Microsoft environment as global admin. When we send mails from their environment to ours, we can reproduce it. Each time the mail is sent from BC it’s marked as spam but when they send it from outlook everything works fine. In both cases its my personal work account that is the receiver. I am willing to put in the hours here to figure out the source issue together with someone who can analyze the mails more then I can.
Additional context
We have configured both our environments with SPF, DKIM & DMARC and get a perfect score of “spammyness” when testing the mail from business central with services like https://www.mail-tester.com/. We have tried the following things without any success.
- Mail without body
- Mail with text body
- Mail with html body
- Mail without attachment
- Mail with PDF attachment
- Mail with different subjects
No matter what we do mails from business central are always marked as spam but when sent from outlook everything works fine. There are others experiencing the same issue and there is a thread on the business central forum about it. Apparently a workaround is to setup mails with SMTP, I have not tried this myself. Forum thread: Email Sent from Shared Mailbox in Business Central Marked as Spam - https://community.dynamics.com/forums/thread/details/?threadid=8abbbd5f-80d7-49b6-906c-2d88a10b3e27
That's an interesting catch! Unfortunately, this repo isn't the right place to report your issue. This very much sounds like something our support team should look into, as it isn't a direct code defect per se.
This repo only is for extensibility related issues in the upcoming release. I'd hence suggest that you open a support case or file a bug in Collaborate. To open a support case, you can:
- Open a support request to CSS through the PartnerSource portal
- Contact your Service Account Manager (SAM) in your local subsidiary to understand what is included in your contract as of support incident and PAH (Partner Advisory Hours). Your SAM might also direct you "step by step" how to open a support request or how to get credentials, if this is the first time for you or your company
If you file the bug in Collaborate, remember to include steps to reproduce the issue, and the Business Central build number and country version you're using. Here's a link to Collaborate: https://developer.microsoft.com/en-us/dashboard/collaborate/engagements/1173/feedback/wits/Bugs/create.
Thanks for reporting the issue.