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
Pavushetti Abhilash 3Pavushetti Abhilash 3 

Cannot receive email to customer when case closed

Hi Everyone,
We used apex class to send email to customer once case gets closed. It works fine when we use workflows to send email. But we used apex class to send email to customer. The customer has COMMUNITY license with customer profile. I dont see email related permissions for community license profiles. Is is any permission issue why customer cannot receive email. I am sure about apex class. How could I achieve this. 
Thanks in advance. 
AnkaiahAnkaiah (Salesforce Developers) 
Hi Abhilash,

Can you please the below article.
https://help.salesforce.com/s/articleView?id=sf.networks_manage_email_notifications.htm&type=5

Thanks!!
Abilash.SAbilash.S
Hi. Thanks for reply but didnt get solved by above article. 
I have checked the Email Log (generated by salesforce) once after case closed. In logs email is receiving. But in mail its not receiving. Let me know how can I overcome this issue.