Then we use work flow and email alerts instead, and that works fine.
But during this case, we found that if we touch the daily 5000 single emails limit, then Messaging.renderStoredEmailTemplate does't work too, enven if we didn't call sendEmail.
I red the document about renderStoredEmailTemplate, it tells me that:
Executing the renderStoredEmailTemplate method counts toward the SOQL governor limit as one query.
I'm confusing. Does the renderStoredEmailTemplate method counts toward the Email sending limit too?
If it just counts toward the SOQL governor limit as one query, we can safely renderStoredEmailTemplate to get the email body, and intergrate with 3rd party Email service provider to send emails.
9 件の回答
Hi Ming,
No, it does not count the governor limit against sendEmail because if you are not calling sendEmail method it will not count the Send Email Limit