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
Anonymous DeveloperAnonymous Developer 

Question Regarding Classic Email Template

Good Day Everyone I have a question about email templates although the receipt generates when I test it on opportunities it does not send an email what do I do?


The access level of the deliverability of the email is already set to all emails.

The process automation settings already enabled the record locking and unlocking in apex.

What did I miss? Need Help.

Thanks
Best Answer chosen by Anonymous Developer
SwethaSwetha (Salesforce Developers) 
HI,
Have you tried to Test the Deliverability of Emails Sent as mentioned in https://help.salesforce.com/s/articleView?id=sf.security_test_email_delivery.htm&type=5

Also try Email Log Files(https://help.salesforce.com/s/articleView?id=sf.email_logs_edit.htm&type=5) and see the 
Mail Event field to confirm if the email got delivered

R - Reception The email was successfully received.
D - Delivery The email was successfully sent.
T - Transient Failure The email transmission was delayed. Salesforce retries delivery over a 24-hour period. The first retry occurs five minutes after the first transient failure, the second occurs ten minutes after that, the third twenty minutes after that, and so on.
P - Permanent Failure The email could not be delivered.

Helpful article: https://help.salesforce.com/s/articleView?id=000332655&type=1

If this information helps, please mark the answer as best. Thank you

All Answers

Anonymous DeveloperAnonymous Developer
User-added imageby clicking this it automatically sends an email and generates a receipt attached to the email. I can't receive the email that I send but the receipt is generated successfully and I can view it through the payment transactions in opportunities. 
SwethaSwetha (Salesforce Developers) 
HI,
Have you tried to Test the Deliverability of Emails Sent as mentioned in https://help.salesforce.com/s/articleView?id=sf.security_test_email_delivery.htm&type=5

Also try Email Log Files(https://help.salesforce.com/s/articleView?id=sf.email_logs_edit.htm&type=5) and see the 
Mail Event field to confirm if the email got delivered

R - Reception The email was successfully received.
D - Delivery The email was successfully sent.
T - Transient Failure The email transmission was delayed. Salesforce retries delivery over a 24-hour period. The first retry occurs five minutes after the first transient failure, the second occurs ten minutes after that, the third twenty minutes after that, and so on.
P - Permanent Failure The email could not be delivered.

Helpful article: https://help.salesforce.com/s/articleView?id=000332655&type=1

If this information helps, please mark the answer as best. Thank you
This was selected as the best answer
Anonymous DeveloperAnonymous Developer
@Swetha Thank you the information was very helpful.