Skip to main content Take our 5-minute Community Survey. Open now through 4/11/2025. Click here to participate.
I have a Salesforce org. Email address in Org is xxx.xxxx@domain.com and domain is a company name hosted on gmail.

When I try to send email(Using apex or standard "Send email" button from objects) to any of the email address of same domain, salesforce shows that email is sent successfully but email is not recieved to recipients. If I send email to gmail hosted email address like xxx.xxxx@gmail.com, it works fine. Emails are recived by recipients.

I have also tested the "Test Deliverability" process in salesforce, same happens here.

Then I chnage my email address from xxx.xxxx@domain.com tpo xxx@gmail.com. It is working fine now. All emails are recived by recipients.

How I use the xxx.xxxx@domain.com email address in salesforce org and send email successfully(xxx.xxxx@domain.com is valid email address)?

Is there any setting which I need to check or set?
5 answers
  1. Aug 12, 2022, 7:38 AM

    Hello,

     

    This is how I have resolved it:

    1) Enabled "Advanced Email Security Settings" by going into "Email to Salesforce" in Setup.

    2) I went to the email account associated with my Salesforce account and verified my email address.

    Performing (2) which I have mentioned above has allowed me to send myself emails via Apex. I was trying to solve the "Get Started with Apex" Unit on Trailhead.
Loading
0/9000