• sfdcpanda
  • 0 Points
  • Member since 2019

  • Chatter
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
  • 1
i created a new Email Template of type Custom or Visualforce or Text.
The following case has been assigned to you.
Company: {!Account.Name}
Contact Name: {!Contact.Name}
Case #: {!Case.CaseNumber}
Subject: {!Case.Subject}
Description: {!Case.Description} 
i write an apex class for calling this email template and sending an email.
i am sending an email to the User.
But i dont know how to pass values to Merge fields(ex: {!Account.Name}) in that email template from an apex class. 
How can i pass values to merge fields in Email template.

Message Edited by PRepaka on 11-25-2008 05:00 AM