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
Zhino YousefiZhino Yousefi 

Email sent from apex class sometimes is not received

I'm sending the same email from an apex class and it gets sent all the times, but sometimes I don't receive the email in my inbox.  I also checked the spams for my email account and the emails are not there. Does anyone have the same problem or know about it?
Prachi SinhaPrachi Sinha
Hi Zhino,

Can you just try Setup - Email Administration - Deliverability - Access Level - (select) All Emails and see if this works.

Thanks.
Zhino YousefiZhino Yousefi
Thanks a lot Pranchi, I checked and "All Emails" was already selected.