Professional Documents
Culture Documents
================
Email Templates are used to share the information among the organization
employees / partners / end
users / customers.
To share the information among the users we need to prepare a Draft, Which contains
the Email Subject
and Email content (Body) by using "Email Templates". These are also called as
"Communication
Templates".
We can use the email Template in "Outbound Email Services", which send's the email
notifications from
Salesforce to the external email id's.
While sending the email notification, we can make the content as static or we can
make the content
dynamic.
Note: Salesforce provides a set of readymade Email Templates, which are common to
all the users in the
salesforce organization.
Note: All the Email Templates will resides inside the "EmailTemplate" object.
Note: Each Email Template should be resides in a Folder. All Folders information
will store in “Folder”
object.
3. We can create our own personal folder, in-order to store your personal email
templates.
We can list out all the email templates exist in the organization with the below
navigation.
Click on "Setup" menu.
1. Goto "Administer" menu in Left Panel.
2. Goto "Communication Templates" link and expand it.
3. Click on "Email Templates" link.
UseCase:
========
Configure an Email Template to Notify the Lead Person upon Creating a New Lead
Record inside the object.
Email Subject:
Congratulations ...!! Your Prospect Record has been Created
Successfully.
Email Content:
Dear Prospect,
We are pleased to inform you, that your Prospect record has been
created in our Database for the future reference.
Syntax:
{! <ObjectName>.<FieldName>}
Ex:
{!Account.Name} {!Opportunity.Name}
{!Account.Rating} {!Opportunity.Amount}
{!Account.Industry} {!Opportunity.CloseDate}
{!Account.Active__C} {!Opportunity.StageName}
{!Position__c.Name} {!User.FirstName}
{!Position__c.Location__C} {!User.LastName}
{!Position__c.Close_date__C} {!User.Email}
{!Position__c.Position_status__C} {!User.USerName}
UseCase:
========
Configure an Email Template, to Notify the Contact Person upon creating a New
Contact Record inside the object. Embed the Contact Person Details inside the Email
Template.
Email Subject:
Congratulations {!Contact.FirstName} {!Contact.LastName} ..!! Your
Contact Record has been Created Successfully.
Email Content:
Dear {!Contact.FirstName} {!Contact.LastName},
Thanks for purchasing the Products from our Organization. From Today
you are a very valuable customer to our Organization.
We are pleased to inform you, that your Contact Details has been stored
inside our database for the future reference.
Testing Process:
----------------
Open the Email Template.
1. Click on "Send Test and Verify Merge Fields" button.
2. Expand the Picklist "Recipient Record", and Select the Object as
"Contact".
3. Select any of the Contact Record by using Lookup icon.
4. Enter the Email Id inside the TextBox.
5. Select the Checkbox "Send Email Preview To".
6. Click on "Ok" button.
Observation:
It will send the Email Notification to the specified email id with the
specified content and subject.
Creating LetterHeads:
======================
Salesforce allows to to prepare our own letter heads based on the need, with the
required Header and
Foote Logo's.
We can use this LetterHead, in-order to send the email notification to the user,
which gives an attractive look and feel.
Note: LetterHead can be used only in "HTML Email Templates". We can have one or
more Letter Heads inside an organization.
UseCase:
========
Configure an HTML Email Template to Notify the Lead Person upon creating a
New Lead Record inside object, by selecting the LetterHead.
Email Subject:
Congratulations {!Lead.FirstName} {!Lead.LastName} ..!! Your Lead
Record has been created Successfully.
Email Content:
Dear {!Lead.FirstName} {!Lead.LastName},
Your Lead record has been assigned to one of our Sales Team. One
of our Sales Member will contact you shortly.
Goto Setup --> Goto "Administer" Menu --> Goto "Communication Templates"
1. Click on "Email Templates"
2. Click on "New" button to create a New Template
3. Select the Email Template Type as "HTML (With LetterHead)"
4. Select the LetterHead by using Picklist Field (Ex: Capgemini
LetterHead)
5. Select the Form Layout (Ex: Free Form Layout)
6. Enter the Email Template Name and Label
7. Enter the Letter Description
8. Select the checkbox "Available for USe"
9. Select the Folder to save Email Template as "Unified Public Email
Templates".
This is a Public Folder, which contains all the Email Templates. This
folder will be
accessible to all the salesforce users.
10. Click on "Next" button.
11. Enter the Email Subject in subject field.
12. Enter the Email Content in the Content part of LetterHead.
13. Click on "Save" button.
We can make the content look like attractive, with the help of HTML programming. We
can use a set of
HTML tags to make the content looklike attractive.
i.e. We can change the Font, Size, Style, Color, Hyperlinks, Formatting options
(Bold, italic, underline),etc.
We can use the below HTML tags frequently inside the email template.
UseCase:
========
Configure an Email Template to Notify the Hiring Manager upon assigning a New
Position Record.
Email Subject:
Alert : New Position : {!Position__c.Name} ( {!
Position__c.Reference_id__C} ) assignment notification template.
Email Content:
Dear HR Person, <br/><br/>
We are pleased to inform you, that the below position has been
assigned to you. <br/><br/>
Testing Process:
----------------
Open the Email Template.
1. Click on "Send Test and Verify Merge Fields" button.
2. Expand the Picklist "Recipient Record", and Select the Object as
"Position".
3. Select any of the Position Record by using Lookup icon.
4. Enter the Email Id inside the TextBox.
5. Select the Checkbox "Send Email Preview To".
6. Click on "Ok" button.
Observation:
It will send the Email Notification to the specified email id with the
specified content and subject.
HTML Tags:
==========
Syntax:
<b> Welcome to Email Templates </b>
Ex:
<Font Face="Verdana" Size="2" Color="Red">
Welcome to Email Templates
</font>
Properties:
1. href = "Target Page URL / Website Name"
2. target = "_blank / _New / _Self".
Ex:
<a href="http://www.salesforce.com" target="_blank"> Click Here </a>