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
1answer
27 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
21 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
19 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
19 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
9 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
18 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
30 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
35 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
58 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
39 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
36 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
27 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
18 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
19 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
84 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
79 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
40 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
0answers
77 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
42 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
85 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
45 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
27 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
51 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
68 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
53 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
76 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" ...
2
votes
1answer
53 views

API to create Exact Target Email Templates

Is there an API in Exact Target to create an email template from HTML? I've seen questions on how to create an email from a template, but I want to do the opposite create a template from HTML. ...
0
votes
0answers
15 views
1
vote
1answer
53 views

Custom HTML Email Template Formatting issues

I am creating a new email template. I am using the Custom (without using Letterhead) option. I have been building the HTML in NOTEPAD++ as a basic HTML editor. The template includes 2 tables with rows ...
2
votes
1answer
63 views

How to get the approver name into an HTML email?

This should be pretty easy but it's giving me bouts of grief. I need to get the name of the person that approved a record into an HTML email template, as there are several possible approvers and they ...
0
votes
0answers
30 views

How to use email template with Knowledge article fields?

Even though the email template editor suggests that it should be possible to use only parts of an article that is attached to a Case, my experience is that the whole article is simply dumped into the ...
1
vote
0answers
99 views

ReplyTo email address using Visualforce email templates but sending through apex

I have been working on creating a Visualforce page that allows you to choose users and send out emails to those users using apex. The problem I have run into is that the email address that the user ...
1
vote
0answers
12 views

Remove the reference code from customer emails?

Salesforce includes a very strange and long reference code in the subject of customer emails, which I don't think is necessary, because it's also included in the body of the email, and just ends up ...
0
votes
1answer
38 views

Changing field labels affect email merge templates?

When changing field labels in Salesforce, it will complain about how doing so might break merge templates. Our email templates use the API name of the field, not the label. Will changing the label of ...
0
votes
0answers
49 views

VF - Display Email Template in TextArea With letterhead

I have a textArea field Body__c on an Object myObject. I want to display an Email Template in an apex:inputTextArea. I want the body of the template to show up along with letterhead images. Right now ...
0
votes
1answer
27 views

Read URL parameter as variable in visual workflow

scenario is like this, marketing team sent blast email to campaign member. member receive the email invitation. if member want to confirm his attendance for the campaign, he can simply click the ...
3
votes
1answer
140 views

URL Scheme to open VF page in Salesforce 1 iOS app

Is it possible to open a VF page in Salesforce1 iOS app coming from a link in an email? If not, do you have any workaround ideas to make this work?
0
votes
3answers
51 views

Is my email template with link to Salesforce1 correct?

I appreciate any help related to this post. Is this template correctly done?: <b> Case {!Case.CaseNumber} has been assigned to you. Click this link to access in a mobile app: < a ...
0
votes
0answers
29 views

How do i get a Visualforce Email Template Id from WITHIN the the message body?

I'm trying to pass the id of the Visualforce email template in a url parameter for a link within the same email. This is the idea: {!This.EmailTemplate.ID} Anyone know if this is possible?
0
votes
1answer
25 views

Is it possible to embed or hide a merge field in a html email template in salesforce?

I have created an apex class and email service that handles inbound emails and associates them to a record based on a match in the email subject. The idea is to mimic email to case functionality for ...
0
votes
2answers
31 views

How do you get the Related To objects which appear when sending an Email?

When you send an email in Salesforce you can related it to an Object from a preset list, I'm wondering if anyones knows of a way anyways to find what this list is?
1
vote
1answer
30 views

Sort Content from One DE based on Content in Another

I am using the LookupOrderedRows function to pull information from a membership table and need to sort it based on data from a separate DE that contains all the group activity, I have tried a nested ...
0
votes
2answers
61 views

De-reference a null object error when attempting to set user variable value to Owner

I'm putting together a trigger to handle some of my workflow rules (our org is hitting limits) and I keep getting the following error: "Error:Apex trigger AR_Email_Alerts caused an unexpected ...
0
votes
1answer
45 views

All outbound emails stopped sending

I've been setting up our account to send a few workflow triggered emails. I was testing an email yesterday with the "Send Test and Verify Merge Fields" button. Did this probably 50 times trying to get ...
1
vote
1answer
48 views

Salesforce, Email Template, Field “Additional To” cuts the rest of address after “&” sign

Hi stackexchange community. I have noticed that the e-mail template i've been using somehow cuts the rest of the address in "Additional To" field, if it contains "&" sign (e.g. ...
0
votes
2answers
128 views

How to use Formula Operator in HTML Email Template?

I want to use certain Formula Opearator like HYPERLINK, LEFT, FIND in my HTML Email Template. But I am not sure how to use that. I tried using like below. HYPERLINK({!Sobject.Link}, 'SOBJECT') ...
0
votes
1answer
32 views

Birthday eMailer app

I downloaded the Birthday eMailer app in mid-2014 so that we can send birthday emails to our customers. This year we wanted to refresh the look of the email that we send out so we created another ...
0
votes
1answer
43 views

Walking relationships in email templates in a workflow

I have a custom email address field on Account called Primary Email Address. We have also created a custom object off of account called Purchases. I want to be able to send an email to the Primary ...
0
votes
1answer
32 views

Including a RelatedList of tasks in a broadcast email via Visualforce

So I'm just trying to see if this is possible. I've been tasked with trying to find a way to include a related list in a broadcast email template. Some background, we use Tasks for student forms and ...
2
votes
1answer
206 views

Preview email content of email templates before sending

I am developing a feature to send a email from a Custom Visualforce page. For this I am using the Messaging.SingleEmailMessage class. I need to give users, the option to select email templates from ...