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

2
votes
1answer
25 views

VF Email Template update Salesforce

I am hitting a dead-end. I'm attempting to create a VF Email Template that will, based on an action of the recipient, update a record in Salesforce. However, I'm not sure if it really is possible ...
2
votes
1answer
30 views

How to wrap record id as a link to the record while sending email

I am writing trigger to send email to task owner after task got created.In the mail i was sending recordId as a plain text.But i was trying is there any way to make the id as a link to the related ...
0
votes
1answer
17 views

Can I change Email Alert Additional Email recipients based on RecordType?

We are in the process of going multicompany in SF and separating company information by RecordType. Two of our companies have substantially similar business processes and the customizations we have in ...
0
votes
1answer
13 views

Default Template, From address and Subject lines for email

I have an request from our users for which I need help. Our users need a particular email template to be the default template, along with From address to default to support@xxx.com instead of their ...
3
votes
0answers
32 views

How to set visualforce page object reference?

I am trying to send an email to every account in my org from a controller, and each email has an attached VisualForce page. The problem is that I am hitting governor limits on SOQL queries. The ...
0
votes
0answers
22 views

Does sending SingleEmailMessage with template use a SOQL query?

I'm getting a somewhat strange error message when trying to send a list of emails System.EmailException: SendEmail failed. First exception on row 11; first error: LIMIT_EXCEEDED, ...
0
votes
1answer
29 views

Please , how to retrieve line items to Visualforce Email Template?

I try to create Visualforce Email Template in order to send our Purchase order (BC) to the supplier So I need to insert inside the mail , all (BC line items ) I begin to create HTML+CSS code , ...
1
vote
1answer
32 views

WhatId Is Not Available For Sending Emails To UserIds [duplicate]

I am getting the error - WhatId Is Not Available For Sending Emails To UserIds while trying to send email to user from an Apex Trigger using SingleMailMessage. The code is working absolutely fine ...
1
vote
0answers
7 views

Controlling Picklist Value is not showing up on the email template

I have a controlling picklist, which values are not showing up in the email template when i use the test of sending template, but the dependent picklist value is showing up, i do not know, where to ...
2
votes
1answer
21 views

I have a simple VisualForce email template that gives a <p> tag error message when I add in the Apex repeat tag.

The Template below validates ok, but when I add the repeat tag it get an error: When I add the Apex tag here is the message I get: Error Error: Volunteer_Reminder_of_All_Opps line 21, column 7: ...
0
votes
0answers
10 views

Conditional style in template

I'm building a template on ET, but I am having some issues. In the email, we are going to use stacked images (without border or padding) and, as you know, to avoid white spaces between images, we ...
2
votes
1answer
30 views

Send-email to an email of a Custom Object (not a Contact's email)

I am on an Account page. I put a "Send email to External Agent" button. Behind this button there is a page connected to a controller: public with sharing class emailToAgenteEsterno{ public Case ...
2
votes
1answer
49 views

Visualforce IF Statement

The code below is a section in a VF email template that should conditionally output a link to all the Legal Request records where Request Type == Sales AND Service Type == New Business, but something ...
0
votes
1answer
29 views

i want feedback in email and that fedback data has to be stored in salesforce org

i have requirement like below. Send email through workflow > user receives email and filled some information like grades, agree , not agreed and bla bla.. >submit and these data has to be stored in ...
1
vote
2answers
31 views

formatting File name of attachment in vf email templates

I'm using VF Email templates while sending email via workflow. I want to customize file name of attachment which is sent along with email. <messaging:attachment filename="MyFileName.csv" > ...
0
votes
1answer
26 views

Adding Opportunity Products Related List to Visualforce Email Template

I am trying to build an email template that lists all the OpportunityLineItems in the email body. Can I use the <apex: relatedList> tag? That is what I am trying to do with the code below, but ...
0
votes
0answers
20 views

Define a function in Guide Template Language

Documentation for Guide template language has an example of how to call a function, but nothing on how to define a new function. Any advice on this?
0
votes
0answers
20 views

Workflow rule Email Alert not populating fields

I established a workflow rule to trigger an Email Alert. When I test merged fields and sent a test email it test out with no issues. In production, Some times, a few of the merge fields are not ...
0
votes
1answer
31 views

Two Dynamic Headers for the email

We have a requirement where we need a different header for the same email based on the condition in the code which triggers that email. So in our ET account there are two headers set up HeaderOne ...
2
votes
2answers
29 views

Controller method doesn't load with custom component and email template

I develop an email template which calls a Visualforce component with a custom controller (controller of the custom component). I give an opportunity Id to my custom component and I would like load ...
3
votes
1answer
37 views

Bulk Edit Email Templates Settings

Simple question, we have 50+ email templates that are currently not activated that need to be. I was curious is there a way to do this in bulk or through metadata rather then editing each one ...
0
votes
1answer
27 views

Using email templates

I want a email template which will have text like this Dear {contact.Name} Thanks for approaching us for product {SR.product.Name}. we have reviewed your request and would like to correspond with ...
0
votes
2answers
72 views

How to find 'URL' and append something at the end of URL

In Data Extension one field 'HTML' have Data that I have shown below, Now I have to Find the 'Href', and and at the last of URL append some text like '&MC='. It may have Multiple 'Href'. Please ...
0
votes
0answers
16 views

Why is mail merge changing the layout of my envelope template when filled?

I have to create a mail merge template for printing out envelopes. I'm using Word 2007, and when I set up the template the space for the recipient address is centered towards the bottom of the ...
0
votes
1answer
61 views

System.EmailException: INVALID_CROSS_REFERENCE_KEY, invalid cross reference id : using Event in WhatID of singlemailmessage method of salesforce

I am trying to send email to Contact through Apex class with SingleEmailMessage for Event assigned/updated for him, so used: SetWhatID = Event.id; It is failing to send email with below exception: ...
1
vote
1answer
34 views

Can't find email template error

Recently we did have a deployment which involves adding a new field in Sample request page. Part of the deployment was change to class and trigger to update the new field. Once deployed, we are ...
0
votes
1answer
30 views

Email Signature

I have one scenarios like, have configured out going email setting under "My Email Settings" and there i have mentioned a signature. Now i also have one visualforce email template with a different ...
1
vote
1answer
43 views

Send Email Button URL

I know there are a lot of posts on this topic, but I haven't come across one with this issue. The closest is this post which I'm hoping the OP answers my comment. I'm trying to create a button on the ...
0
votes
1answer
15 views

I need to Change “From” email in Visualforce template.

We have a daily scheduled apex job that sends email everyday (we use visuaforce email template). I would like to change "From" email address in one specific visulaforce template. I have already added ...
0
votes
1answer
21 views

Email Template Greeting message issue

My requirement is when a new User is Created an Email is to sent that new created Users Email address with message Welcome UserfirstName + UserLastName. For that, I created a HTML Email Template and a ...
4
votes
0answers
40 views

Email publisher: Don't override subject when selecting template

I have a question involving the Case feed email publisher. For a customer I am currently implementing their Service Cloud. The customer is used to do alot of communication over email and in addition ...
0
votes
1answer
49 views

Mail Merge: how to create a template in Word?

I'm new to Salesforce and my company did not give much training on Salesforce. I would like to know how to create a template in Word and add fields from Salesforce to merge together. I researched ...
2
votes
2answers
96 views

Merge field not populating in Email Template

I've an email template and I've few merge fields in them. This email template was working fine until we migrated this to a new environment. So, first thing is that I'm using the same email field to ...
1
vote
1answer
60 views

Images in RTF field is not visible in HTML template emails

I have a custom RTF field in custom object which is used in HTML email templates. Normally this field would have images and text. The text content is visible in the email, but image is not visible in ...
0
votes
2answers
56 views

How to add hyperlinks to icons in email templates using letter heads?

how to add hyperlinks to image/Icons in email templates? I have tried using Formula field. Eg. HyperLink("www.google.com",Image("/resource/image/googleIcon.png","Google"), "google") The ...
0
votes
1answer
37 views

Workflow for sending Email Template with updated Account and Opportunity

I am updating my opportunity(Child object) and Account(Parent Object) through API. I want to send updated fields to selected email addresses to email templates. I was trying the workflow criteria as: ...
2
votes
1answer
32 views

Anyway to control Communities E-mail Welcome Message

We have an org that we are moving from Portals to Communities, the Communities Welcome E-Mail is sent to all user accounts when their user/account is created: From the Communities > Administration > ...
1
vote
0answers
30 views

Send an email through Salesforce server from External Application

I have an angular application, and wants to send an email to Salesforce contacts from external application through salesforce server. I did not find any api or javascript file which allows me to ...
3
votes
1answer
126 views

LetterHead in Apex

Is it possible to access LetterHead in apex.I need to put the letter head in sethtmlbody method.How to access LetterHead. UPDATED Here the bt.value is displaying blank when contact is receiving an ...
4
votes
2answers
89 views

how to build a template based on the user record

I am trying to create a template that reports on the user record details. However I run into an issue when I create an email alert form a workflow that is triggered when a new user record is created. ...
2
votes
1answer
68 views

Access parent object fields in VisualForce email template subject

I'm trying to display a parent field value in the subject line of a VisualForce email template and I'm running into problems. The use case is that we're going to fire an email alert that is based on a ...
3
votes
1answer
125 views

How can I send an email alert every day to 5000 contacts

We want to send an email to contacts every day. There will be say 5000 contacts. I can't do this with apex code because there is a limit of 500 emails per 24 hour period. So I will have to do this ...
0
votes
1answer
60 views

CSS style issue for PDF in Visual force email template

I have one visual force email template which sends an attachment in PDF format. I have given style class for fields in the PDF, but the given CSS does not works for the PDF. Please help me out.
3
votes
1answer
194 views

Access related object via lookup field in email template

I have one object called Service Request, them I have a lookup field of Account with retrieves me the name. In my email template I must show up: Account: _______ & Account Code:______ My ...
0
votes
0answers
82 views

Retrieve picklist and its dependent field value email template

I'm newbie in salesforce and my first task is to create an email template with some conditionals. Then, this what I have: Object called Service Request, Picklist field called Sub Type 1 and 5 ...
2
votes
0answers
33 views

Overriding the “Select Template” button in Email Author

Is there a way to over-ride the "Select Template" button in the Salesforce standard email author page with a custom visualforce page ?
1
vote
1answer
88 views

How to send an email from Apex with a template based on an Event record?

I have been trying to figure out how to send an email from Apex for a template that needs an Event object to work. In my example below, I want to have a visualforce template that will work off of an ...
0
votes
0answers
98 views

Adding Line Break in Text Email Template

I'm trying to add an address to a text template (not a standard address field), that only displays the second address line if it's present. However, I can't seem to get this to work. If there address ...
0
votes
1answer
60 views

Button for email template and recipient

I have created a custom button(like send an email function) to define the email template and the recipient email address. Behavior is set to execute Java, content source is OnClick Java. Code is ` ...
0
votes
1answer
112 views

Approval History Related List in Visualforce Email Template

Am wondering how to get usable info in the approval hisotry I can add to my visualforce email template. I have the below (UPDATED): <messaging:emailTemplate subject="Lead Final Approval" ...