Salesforce email templates come in a variety of shapes and sizes, ranging from Text to Visualforce. These email templates can be used through Salesforce through approval processes, workflows, etc to send email to users.

learn more… | top users | synonyms

0
votes
0answers
9 views

recipient.Id Is Null : When it is sent from Site.ForgotPassword and System.ResetPassword

I am using the forgetpassword functionality and added a VF email template , However the values are coming as null. The VF email template is: <messaging:emailTemplate subject="Update Password" ...
2
votes
1answer
17 views

Visualforce Email Template Not Showing Recipient Name

I have a Visualforce email template that is being used as part of a WFR Email Alert. I have multiple recipients in the email alert. How would I get my VF template to email each of these recipients? ...
1
vote
1answer
17 views

unable to move opportunity information to merge fields of visualforce email template from apex trigger

I am sending emails(with visual force email template) to different levels of approvers present in opportunity record when every we click a button submit for approval. Our requirement is if a person 'A'...
1
vote
0answers
26 views

Journey Builder/Communities - Welcome Email - Registration URL

We would like to utilise Journey Builder to send the Welcome Email to new community users with the registration link. Salesforce provides this link in email templates via {!Community_URL} and via the ...
0
votes
0answers
16 views

Getting Merge fields from Email template to query all merge fields and replace programatically

I want to send an emails from custom object to selected contacts using Amazon SES. I did Amazon SES integration through C#. I'm able to send emails successfully but I want to use merge fields in ...
0
votes
2answers
33 views

Visualforce emailTemplate

Please help me to get one of the following values based on True/False in VF Email Template. I need to display a value/message based on true or false of this if {!if(relatedTo.subject__r.name='...
1
vote
1answer
12 views

Email Alert for CaseMilestone not working

Email Template: <messaging:emailTemplate subject="Milestone:{!relatedTo.MilestoneType.Name} - yet to complete" recipientType="Contact" relatedToType="CaseMilestone"> <messaging:...
0
votes
1answer
32 views

How do I send translated emails based on the language on the user record?

Just i want to send email content type multiple language. <messaging:emailTemplate subject="Confirmation Registration" recipientType="Contact" relatedToType="User" language="{!relatedTo....
0
votes
1answer
23 views

Any way to restrict empty fields from email templates

Hi friends is there any way to restrict empty fields from email templates when sending email to users with workflow or any other. I have a workflow.Whenever any record meets the criteria it will sent ...
0
votes
2answers
17 views

How can i add receipt first and last name in email tepmplate URL?

I have created a visualforce email template. In that I need include a link which should contain opportunity id. Next to it,first and last name of receipt. As of now i am done with opportuniry id.But ...
0
votes
0answers
29 views

How can I use the CASE() function in an HTML Email Template

I have a picklist custom field in the Contact object, Chats_Reward__c which has five values: Ribbon, Bronze, Silver, Gold, and Platinum. I would like to use a single email template to send an email ...
0
votes
0answers
11 views

Remove or make smaller thread id in email-to-case

I know thread id is required, is it possible to make it smaller or put differently? Even if reply is in a different font, thread id is attached at the bottom and looks ugly. Here's an example of ...
0
votes
1answer
39 views

Trigger to send a email when fields are updated [closed]

I have one custom Object. I'm modifying and saving few records at a time. When i click on Next button these three records are saving. I need to send a email to all user under one profile whenever ...
0
votes
0answers
20 views

Visualforce Email Template to Related Contacts

I have a VF email template set on the Accounts object that compiles the related Cases to an Account that meet a certain criteria. I would like to send this template to any Contacts related to the ...
0
votes
1answer
28 views

Sending Email from apex controller by calling an email template

I have an email template which I am calling it from a work flow rule. Also I have a check box in contact object, when I click on check box the email template will send email to the contact email ...
1
vote
2answers
71 views

How can I perform an arithmetic calculation in an HTML Email Template when the first operand is not a field reference?

I'm attempting to create an email that lets contacts know they have a certain number of tasks to complete until their next reward. I know I can do {!Contact.Chats__c - 10} to get a value, but I need ...
0
votes
0answers
8 views

Can I send emails to multiple sets of Contact Roles identified in a report and update the Opportunity with a record of the email?

An SF report of my creation would identify a subset of Opportunities and their associated Accounts. I want to identify a subset of Contact Roles from those accounts and email those Contact Roles from ...
0
votes
1answer
33 views

Unable to fetch the merge field in VisualForce Email Template

I am using a Visualforce email Template. I am unable to fetch merge fields. Below is the code: <messaging:emailTemplate subject="Volunteer still needed for a shift" recipientType="User" ...
0
votes
0answers
28 views

How to add letter head in html email body?

I am trying to add letter head to the dynamic html email template in batch apex. But when i send email to the users I don't see any header added to the email. part of code from batch class : List&...
0
votes
3answers
99 views

Verify Contact Email address. If Email is not present send an email to login user

I am looking for a specific requirement where I need to send an email login user whenever the user is creating a new Contact in Salesforce. If any contact exist with the same email Id, I need to send ...
0
votes
2answers
49 views

Visualforce - Standardcontroller components are not rendering when called from JS

I am trying to preview the email template inside a Visualforce page, and for this purpose, I query for the EmailTemplate record's body inside JavaScript, and then I let the standardcontroller do rest ...
0
votes
1answer
31 views

Internal Server Error, Error ID: 1289938336-249754 (526957723) on rendering image in a PDF email attachment

I'm stuck on this issue for more than 3 days now and have tried numerous workarounds to fix this. Let's begin with some background: I have an Order__c custom object, when Order__c.Status__c == '...
1
vote
1answer
15 views

Any versions available for Email Templates in sfdc

Hi Friends i thought it is not an important question.I went to an interview few days back they ask me about version using in email templates. But,till no i didn't see any version for email templates ...
0
votes
1answer
40 views

apex trigger send an email but merge field cannot display value

I try to use an apex trigger send an email which is formatted by an email template. I successful send this email but merge field cannot display value. who can give me some help? here is my code: ...
1
vote
1answer
39 views

How can we add multiple updated fields in single email

In above picture I'm going to send an email if answer__c updates. Above picture illustrate each answer is going to be one record, so if two answers got modified then two email will fire. I need ...
1
vote
0answers
38 views

Custom Mail Merge Button to skip Page with Generate button

I am trying to create a custom mail merge button that skils the Generate page. I started out with this URL in a dev environment using the below for formula : IF(CONTAINS($Profile.Name,"Business ...
1
vote
1answer
45 views

Visualforce email template not resolving recipient and relatedTo at runtime (WhoID, WhatID)

We are having several VF templates that are used in an email alert in a Process. When we trigger the Process from Apex, then the Process is run, but the email template is not merged properly (even ...
0
votes
0answers
9 views

Custom Html Template

{!Dealsheet__c.MailTmplate__c}: This is my html template code i have CP_Address_Line1__c and CP_Address_Line2__c..now suppose i am not taken the field value for CP_Address_Line__c and am send mail......
0
votes
1answer
65 views

ExactTarget - Is it possible to send template email to list of users

I am trying to build a simple email application using Javascript to go against either the ExactTarget SOAP or REST API. Our goal is to use only Exact Target to build email templates and then send ...
1
vote
1answer
42 views

Email generated from VisualForce email template has unneccessary white space

I have a Visual Force email template that shows Products ordered and Tracking. In a nutshell: Tracking / Products both exist on Sales Order Lines for a specific Sales Order. Products have a ...
0
votes
3answers
29 views

VF Email Template Error - Attempt to de-reference a null object

Hello everyone I am trying to get my visualforce email template to work this component is used on the Opportunity and Contact Objects. Both email templates are showing the Error occurred trying ...
3
votes
0answers
22 views

Un-Escaped HTML for Variables in Guide Template Language Not Working

We have HTML templates in ExactTarget that use variables passed in via the REST API. The variable contains text with HTML entities. I read the following documentation for the Guide Template Language....
1
vote
1answer
15 views

Using Render With Repeat in Plain Text Email

I have a VF page set up as an email template. I have a repeat tag on the HTML part of my template that pulls in Cases based upon some criteria contained in an OutputPanel. I am trying to accomplish ...
3
votes
1answer
36 views

Hide HTML table rows if outputField is null or 0

I am creating a confirmation email to be sent when a new Orders__c is created via an external form. These are not related objects so an <apex:repeat> solution is not viable. There are 50+ fields ...
0
votes
0answers
37 views

'If' condition not working in html email templates

I have 2 fields which need to populate with their values in html email approval requests. Below is the code in html template: Some Percentage: {!IF(customobj.CAN_Percentage__c = 0,customobj....
2
votes
1answer
28 views

How to dynamically add image in email merge template?

I was trying to add image in the mail merge template I follow this link to add image in the doc page here. But when I select the mail merge template which I was created it show success message, but ...
1
vote
0answers
20 views

I want to translate merge field values of my Email Template,already translated the other text of the Email Template

I am unable to fix this issue,the entire text of the email template is getting translated ,except the merge fields that I've used. My code for the Email Template is as follows: <messaging:...
1
vote
0answers
24 views

Send mass email with attachment (attachment need to select from vf page)

i have a vf page with email template pick list user able to select email template Choose file : user able to upload a file attachment from his computer. there is a command button send email . once ...
3
votes
2answers
158 views

Adding an image from a document tab to email template?

I have many images in document tab and all are externally available. When I try to add the image in HTML & VF email template, the images look broken in outlook when its received. I thinks ...
2
votes
0answers
26 views

How to add image in email template dynamically?

I have a letterhead that I'll be using for different Email template. On VF page, I have a button which will take the screenshot of the page and store in a rich text field in a custom object. The ...
1
vote
0answers
17 views

Record Link in a String Message Body in html email template

I would like to use an Account link in a contract object in html email template.The email is sent by using the String message body. So when im using '<html><body>Hello <br><...
0
votes
0answers
30 views

I want to Translate Merge field values of my Email Template,provided other text already translated

I have a requirement where I want to translate Contact fields in different languages,which are actually the language in which that particular contact communicates with us,selected by a pick-list on ...
1
vote
1answer
37 views

Change sfdc Approval process email reply for wrong spelling APPROVED

When we use approval process, we can approve through email. This is my question, because we can reply wrong spelled word in email, how can I modify the salesforce reply if the APPROVED word is ...
0
votes
0answers
31 views

How to send email using Templates in multiple languages,also translating merge fields?

I have a requirement to send email to my contacts depending on the language selected by a custom pick-list. Although,Translation workbench provides a platform to have languages activated,and we can ...
0
votes
2answers
30 views

VF component doesn't render in HTML Email Template

What's wrong with this Apex/Visualforce code that it returns nothing in my HTML email template? I've tried everything. Controller: public class EmailController { public Id leadId { get; set; } ...
1
vote
0answers
33 views

Visualforce Email Templates + Field Sets - apex:outputField showing up blank in testing

I'm using field sets to dynamically query and merge fields across objects onto a Visualforce component to put in a VF email template. When I query the parent object (Intake) it seems to work fine but ...
0
votes
1answer
27 views

How can I append query string params to the view_email_url?

I have a share link in email which works fine: <a href="mailto:?subject=my subject&amp;body=view my link: %%=URLEncode(view_email_url,1)=%%" title="Share" target="_blank">Share</a> ...
1
vote
1answer
30 views

Pull OpportunityContactRole value into VisualForce Template related to an Invoice

We're setting up a workflow to notify the finance department when an Opportunity owner flags an invoice as "ready to be sent". I've got a VF email template, relatedTo="invoice", and I want to pull ...
1
vote
2answers
130 views

SendEmail failed. REQUIRED_FIELD_MISSING, Missing targetObjectId with template:

Can any one help me out with this error . 1)When im using mail.setTargetObjectId(c.CustomerSignedId); the system start throwing a error . SendEmail failed. First exception on row 0; first error: ...
0
votes
2answers
31 views

Task email template with name of associated contact, not ID

I have what seems to be a very simple problem, I'm trying to set up an email template with information from a task. One of the fields I would like to include is the name of the associated contact or "...