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

-1
votes
1answer
5 views

How to enable the communication templates for a particular user

How can I make the communication templates link available for user as he is unable to have the link and is unable to create HTML templates? Please advice!
1
vote
3answers
21 views

Salesforce approval process by replying to custom email template

With the option 'Enable Email Approval Response' checked, you can approve to text email by replying 'Yes','No', 'APPROVE', 'REJECT',etc. Is possible to reply your approval or rejection on an email ...
0
votes
1answer
42 views

i have records to be processed in vCommonRecords. i am not receiving the emails with expected results

My actual task is : 1.I have Account object it is having 2 child objects contacts and Orders. 2. need to process the account records with record type = Branch Integrated 3. need to send email ...
0
votes
1answer
28 views

Creating an Apex Class for a default email template

I'm looking for a simpler method with which to set a default email template without having to use Case Status or Case Reason. Instead, I'd like to use just the Case Record Type. global class ...
-1
votes
0answers
11 views

Partner user's merge fields are not working. getting blank value [on hold]

Hi I'm getting the same problem but when I was pulling fields from the Contact object it seems it didn't work. still I'm getting blank value please help.. User's are partner user's profile. Thank you ...
1
vote
1answer
39 views

Content Area IDs

I'm developing a custom template that I've imported into Content canvas and then applied to an email using content builder , however I can't seem to find anything on ET to tell me what the ID of a ...
1
vote
1answer
22 views

Email Alert sent to Related Contact Not Merging Contact Fields

I've got a workflow that runs every time a Foo__c is inserted and sends an Email Alert to the Related Contact Foo__c.Contact__c. According to this: ...
0
votes
1answer
56 views

On change of account owner, it should send an email to old owner and new owner

Hie , I want to send an email to the old owner as well as the new owner as soon as the owner of the record changes. But with workflow i am able to send the email to current owner. Please suggest ...
0
votes
0answers
7 views

Mobile Optimized emails using the Template Object

What is the best way to use the SFMC Templates for mobile optimized emails. I see how to get the layout defined as far as stacking a desktop 2 column view into a single column view for mobile. But how ...
0
votes
0answers
25 views

URLFOR error in Visualforce email template

I need to change a Visualforce email template written by someone else. They included a URLFOR in the template. Apparently it used to work, but now when I try to view the template in Setup, there is ...
1
vote
0answers
19 views

Get error after embed {!ApprovalRequest.Comments} in email template

I add {!ApprovalRequest.Comments} inside my email template and I could not save it.It give me this error Error: Unknown property ...
0
votes
0answers
11 views

Mass Email Individual Invoices to Contacts

I need to send an email to multiple contacts (mass email) which contains the contact's individual invoice information. (This needs to be done on a yearly basis.) I am currently using the standard ...
0
votes
1answer
54 views

Case feed QuickActionDefaultsHandler- Selecting a default email template not working

Since Spring 15 it is possible to select a default email template by using a QuickActionDefaultsHandler. According to the docs you only need to: To specify default values for the standard Email ...
2
votes
0answers
24 views

Can the guide template language be used with content in a microsite?

Can the guide template language be used with content in a microsite? If it can then please describe change required to following to allow it to display same as email content. <script ...
0
votes
1answer
28 views

Is there a way to set replyTo on a email template to the FROM field on the email page?

We need a email template that pulls in information from the send an email page. Specifically we need to set replyTo in the visual force email template to the FROM field on the email page. VisualForce ...
0
votes
1answer
42 views

Send email on trigger [closed]

How can I send email through trigger? And email Ids should be hardcoded lets say "test1@test.test" & "test2@test.test". And condition for trigger is, if Logged in user's country is INDIA.
0
votes
1answer
29 views

How to add a custom string based on condition in the email template?

I have a requirement to automate Purchase Order Emails, meaning if an Opportunity is Closed Won, Sales Manager can click on 'Send PO Email' button, and then email template will be previewed by him. ...
3
votes
1answer
41 views

Email template merge fields not populating when sent via Apex

I'm having trouble with email template merge fields that are not being populated when the email is sent by Apex. I have an Apex method that uses setTemplateId, setWhatId, and SetTargetObjectId. The ...
0
votes
0answers
14 views

Want to send excel file as an attachemnt visualforce template

My requirement is as below :- When User fills account form fields and hits save , all the fields value should go as an attachment in excel format. where column will be the fields name and row will be ...
0
votes
1answer
42 views

what is the rule for __r API name?

I have always the same problem when I use apex: repeat the question is how or where do we find/write the API name for a plural Label . I had the same case before with BC (Purchase order) and BC ...
2
votes
0answers
19 views

Can I direct the detail link in an email template to a specific url

We have all of our users login through a proxy server instead of going directly to login.salesforce.com but when I add a detail link (i.e. {!Opportunity.Link}) to an email template/alert the user is ...
2
votes
0answers
21 views

HTML Email Teamplate Issues SF

In the HTML email template I want to distinguish between internal and external user while sending any email. I tried using If loop and it worked for me but while I try to access certain merge fields ...
1
vote
1answer
51 views

Custom Template Hide Parent element of empty content area?

I'm developing custom templates which a non technical person has to fill up the contents (only text & images). In my case, primary content area going to have any 1 of 3 types of content ...
1
vote
1answer
25 views

Visualforce Email Template Related Info

I have a template for a Custom Object Business_Trip__c with Child relationship to Event via Custom Lookup. I want to show related meetings. Template below: <p><b>Planned ...
2
votes
0answers
17 views

Not able to populate Partner Account field in HTML email template

I want to populate the Partner Account field value in a HTML email Template. This field is a standard lookup field(Account) and available on Opportunity page. while updating the template I do not see ...
0
votes
0answers
20 views

Smart Template implementation for custom objects

I have come acros a link for creating Smart Email Templates (https://www.salesforce.com/blog/2012/10/case-feeds-smart-template-sample-implementation.html). However, to make this work for Case object ...
2
votes
1answer
37 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
47 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
34 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
24 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
46 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 ...
2
votes
1answer
45 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
54 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
89 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
14 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
35 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
14 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
45 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
123 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
37 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
38 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
57 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
29 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
26 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
42 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
42 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
53 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
29 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
86 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
18 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 ...