function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Kiranpreet KaurKiranpreet Kaur 

Salesforce Email are not received by recipient

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?
NagendraNagendra (Salesforce Developers) 
Hi Kiranpreet,

May I suggest you please check with below link which might help you. Hope this helps.

Thanks,
Nagendra
Kiranpreet KaurKiranpreet Kaur
Hi Nagendra ,

Thanks, but I have already check these setting and aslo tried Test Deliverability process but no email recieved. Also our domain doesn't block any Ip address.
Maharajan CMaharajan C
Hi Kaur,

Did you check "Advanced Email Security Settings" by any chance then disable it and try.
Setup->Email to Service->Advanced Email Security Settings

Reference Link:https://developer.salesforce.com/forums/?id=906F0000000AqUYIA0
                       https://help.salesforce.com/articleView?id=emailadmin_email2salesforce.htm&siteLang=en_US&type=0

Consideration: risk's of keeping the "Advanced Email Security Settings" flag disabled? 
Reference Link: https://success.salesforce.com/answers?id=90630000000hWSeAAM

Can you please Let me know if it works or not!!!

If it works don't forget to mark this as a best answer!!!

Thanks,
​Raj
 
Kusuma ShreeKusuma Shree

Hello,

Is this issue resolved now? If yes, please do let me know how.

Faiq NadeemFaiq Nadeem

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.