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

Issue Regarding Email Template

I am using following template which will slecet by trigger, but when mail recieved thenfields that i want to show with relatedto type not come in mail.... please help me thanks in advance.......... all fields present in Event.


<messaging:emailTemplate subject="cbt" recipientType="User" relatedToType="Event">

<messaging:plainTextEmailBody >

{!$User.FirstName} {!$User.LastName}  committed to call  {!relatedTo.Contact_Name__c} at {!relatedTo.StartDateTime}.
This notification has been sent 15 minutes prior to the scheduled time.

The case can be accessed via the following link:{!relatedTo.Case_Id__c}
Case Subject: {!relatedTo.Case_Subject__c}

Thank you,