I'm sending an email with a Messaging.SingleEmailMessage using a verified Org Wide Email Address.

Also, I have Enable compliance with standard email security mechanisms and Enable Sender ID compliance but I'm still getting these emails in the SPAM folder.

The mail contains an Email Template (text) with one line of text and {Custom_Object__c.Link}

Gmail and Hotmail get it to the SPAM folder and the next warning

"Be careful with this message GMail could not verify that it actually came from xxxxxx.com. Avoid clicking links, downloading attachments, or replying with personal information."

Does anyone know if I'm missing something?

  • 1
    Have you followed these directions? Particularly, have you configured DKIM keys?
    – sfdcfox
    Oct 8 '19 at 17:36

The issue was that I was missing the email relay.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.