id templateID='00X1R000000f3T1UAI';
Messaging.SingleEmailMessage mail = new Messaging.SingleEmailMessage();
mail.setTemplateId(templateID);
Messaging.sendEmail(new Messaging.SingleEmailMessage[] { mail });
2 answers
Hi Steve,Can you please share below detail:1 Are you using dynimic email template 2. object name that's you are using in emailREgardsMukesh