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
Jayaramu T 9Jayaramu T 9 

Can any one please help me on this ?

Error: Unknown property 'core.email.template.EmailTemplateComponentController.Account'


<messaging:emailTemplate subject="New email and New Case" recipientType="User" relatedToType="Case">
<messaging:plainTextEmailBody >
*** CASE EMAIL ALERT For NEW CASE***

The following case has a new inbound email associated with it and it has been reopened:

Case: {!relatedTo.CaseNumber}: {!relatedTo.Subject}
Web name: {!relatedTo.SuppliedName}
Web company: {!relatedTo.SuppliedCompany}
Web e-mail: {!relatedTo.SuppliedEmail}
Web phone number: {!relatedTo.SuppliedPhone}

Company: {!Account.Name}
Contact Name: {!Contact.Name}
Contact e-mail: {!Contact.Email}
Contact phone number: {!Contact.Phone}
Case #: {!Case.CaseNumber}
Subject: {!Case.Subject}
Description:
{!Case.Description}

Click on the link to access the case: {!Case.Link}</messaging:plainTextEmailBody>
</messaging:emailTemplate>
Best Answer chosen by Jayaramu T 9
Raj VakatiRaj Vakati
You need to do it like this 
 
<messaging:emailTemplate subject="New email and New Case" recipientType="User" relatedToType="Case">
<messaging:plainTextEmailBody >
*** CASE EMAIL ALERT For NEW CASE***

The following case has a new inbound email associated with it and it has been reopened:

Case: {!relatedTo.CaseNumber}: {!relatedTo.Subject}
Web name: {!relatedTo.SuppliedName}
Web company: {!relatedTo.SuppliedCompany}
Web e-mail: {!relatedTo.SuppliedEmail}
Web phone number: {!relatedTo.SuppliedPhone}

Company: {!relatedTo.Account.Name}
Contact Name: {!relatedTo.Contact.Name}
Contact e-mail: {!relatedTo.Contact.Email}
Contact phone number: {!relatedTo.Contact.Phone}
Case #: {!relatedTo.CaseNumber}
Subject: {!relatedTo.Subject}
Description:
{!relatedTo.Description}

Click on the link to access the case: <a>/{!relatedTo.Id}</a></messaging:plainTextEmailBody>
</messaging:emailTemplate>