Questions tagged [email-template]

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.

Filter by
Sorted by
Tagged with
1
vote
1answer
30 views

HTML Email Templates delivered Incompletely in Lightning List Email

I have few html email templates which are used to send mass emails to Contact and Campaigns. They are working fine in Salesforce classic whereas in Lightning, they are delivered incompletely. We need ...
0
votes
1answer
22 views

Enable Default Email Templates in Case Feed is not working

I am trying to enable the default email template selection logic as per the salesforce provided document - https://help.salesforce.com/articleView?id=case_interaction_default_templates.htm&type=5 ...
0
votes
1answer
25 views

Visualforce email template in Lightning

Can anyone let me know how to create VF email template in Lightning. For email templates in Lightning, we have a tab called Email Templates. When I tried to create a new template, I have an option of ...
0
votes
0answers
24 views

Email sending from Sandbox is Inconsistent

In one of our sandbox, we are testing some funcationality which sends the email from workflow when ever a case with specific subject is created. But the problem is email sending is very inconsistent i....
0
votes
0answers
26 views

Event.StartDateTime: Only date field is displayed

When I use "Event.StartDateTime" in a HTML email template, only the Date would show up. Is this a Salesforce bug? Or am I doing something wrong?
0
votes
0answers
6 views

Resizing mobile email template without code

I am new at Marketing Cloud and I am trying to find a way of having the same email template in desktop and mobile. For example, now I have 3 images in desktop version (horizontally) and when I open ...
0
votes
0answers
11 views

Merged fields on Email Template showing #Error!

I am trying to pull information from an Account into an email template. The two fields I am trying to pull are of type Date and Picklist, however when I send a test email, I recieve a #Error! on those ...
0
votes
0answers
15 views

user with Manage Public Lightning Email Templates can not create email template

I am System Admin and create Permission sets with Manage Public Lightning Email Templates and Create Folders for Lightning Email Templates this permission. Create or New button is not available in ...
0
votes
0answers
25 views

Sending LWC Email Template

We have a report that we currently generate using Conga (3rd party license), in the past we've made similar visual representations of the data using VisualForce, but now as we consider the ...
3
votes
1answer
28 views

Help with Checkbox fields in Email Template

I have created an HTML version Email template, and trying to have one checkbox. So I have used input type ="checkbox", while previewing it is displaying perfectly but when I view in outlook its ...
0
votes
1answer
16 views

Email Template Subject Does not Match Query

When viewed in the UI, my email template shows the following subject: When running a query, my email subject shows Why is the query returning a different result then what is displayed in the UI?
0
votes
1answer
21 views

Dynamic static resource in custom visualforce email template

Background I am trying to add a dynamic link in a visualforce email template to download a PDF which is stored as a publicly available Static Resource: <a href="https://x.cs.force.com/site/{!...
0
votes
0answers
11 views

Will Increasing Email Characters to 131k introduce Lag

Will increasing the Email Characters to 131k introduce lag within the org either in loading the email record page or within other object records?
0
votes
0answers
33 views

How to attach a dynamic file in a email template?

I'm trying to attach a file to an email templates. This email template will be used in a workflow, so what I need is to send it everytime a condition is met in a opportunity. The file I need to ...
0
votes
0answers
7 views

Control folder location in “Select Template” popup of email author screen

Is there a way to control which email folder will appear on click of "Select Template" button on the email author page? Right now it opens the last folder user opened. As of today, we have used url ...
0
votes
0answers
22 views

Embed a custom component in lightning email template

There are several VF email templates in my org which internally references VF components. These components have custom functionality of querying different objects and preparing a custom result which ...
0
votes
0answers
14 views

How i can send Html template with js custom button?

I added custom button from my case object inside, then i sent test mail its work but i want to use Html template, also i want to add my records from html templates for example "Hello Your Account Name ...
0
votes
0answers
55 views

Error in using Outlook Integration. Error encountered: System.UnexpectedException: Email Template ID: id value of incorrect type: 0

I am using Salesforce Outlook Integration. And I am receiving a bounce back error which says, "554 The apex class Messaging.EmailToSalesforceHandler failed due to: System.UnexpectedException: ...
1
vote
1answer
21 views

How to add a dynamic value for ordinal #4 in Lookup Function?

I've got 2 Data Extensions. Let's call them A and B In my Journey, I can only easily include the attributes from the Sendable Data Extension (A) that I'm using to trigger the Journey. However, I ...
0
votes
1answer
31 views

Visualforce email template can't see data when run in unit test

I currently have a Batchable process that will send emails to some users: global class ExpiryNotificationHandler implements Database.Batchable<sObject> { global System.Iterable<sObject&...
0
votes
1answer
17 views

is it possible to place repeat block in classic email HTML template?

I am building an email template using HTML and I was wondering if I can place a repeat block in HTML to view a list of rows. I know if I use Visualforce template I can achieve my goal using apex: ...
2
votes
1answer
22 views

Not Able to get fields from controller to Email Template when the mail is sent from scheulder

It would be great if I could get help with the below requirement that I have to achieve. The requirement is that I run a scheduler in a custom object called Project__c. Around 20+ projects pass the ...
0
votes
1answer
74 views

Template marketing cloud : I would like to unlock full html, so that i can personnalize my template with class and tables

I used a marketing cloud template and I want to custom it with extra html (to make it renders well on a specific email client). The thing is that when i click on code view > toggle 'show full html'> ...
0
votes
0answers
15 views

Merge value is not showing up in email send out

I have set up email template using several merge fields, but only fields from {!Account} that are shown in the email body. the email as follow Hello {!Contract.OwnerFullName}, We would like to ...
0
votes
1answer
13 views

how to retrieve the previous email template?

I recently changed the email template however i want to see my previous email template. Can anyone suggest on this how we can retrieve the previous email template?
0
votes
0answers
26 views

Marketing Cloud _click LookupOrderedRows in AMPScript

I have a anchor href link on my Email. I am tracking the click activity on the link. When the link is clicked, is there a way to lookup the _click database using AMPScript LookUpOrderedRows or ...
0
votes
1answer
34 views

Need a way to change email address link depending on sender profile marketing cloud

I have an email link icon in the footer of my email template. I want to be able to change the link of the email address in the footer dynamically depending on the 'from email' of the sender profile in ...
0
votes
1answer
37 views

Ampscript Block If/Then With Null Value

So I have the following Ampscript block at the header of my email: %%[ Var @current_term_end_date, @rows if Rowcount(@rows)>0 then Set @row = Row(@rows, 1) Set @current_term_end_date = ...
0
votes
0answers
19 views

Email information of Child Object while creating Parent object Record

We have two Custom Object having MD relationship Query (Parent) Questions (Child) Now, we have created a record for Query (Parent) and added multiple questions in Questions Object(child). We have ...
1
vote
2answers
35 views

Can't get the value of “relatedto” when sending email through customer portal

I have visualforce email templates for reset password & welcome email for community users. But relatedto fields are not displaying in the email template. Is it a salesforce issue? <messaging:...
1
vote
0answers
37 views

Custom object doesn't appear in “Related Entity Type” dropdown for Lightning Email Template

When I go to create a Lightning Email Template, a custom object I recently created doesn't appear alongside other custom objects in the list of objects available for merge field filtering. What do I ...
0
votes
1answer
33 views

Creating a dynamic email template

I have a batch which I use to send emails to contacts. Every contact should have a different template - So I Created a body and subject in my apex class which every contact will have his unique body- ...
2
votes
0answers
32 views

Looking for the most responsive and reliable basic template in the Marketing Cloud

I started using SFMC's "Basic" templates as well as some "Themed" templates for one of our customers. But as we started sending emails, even though we had tested the emails on a few platforms, it ...
0
votes
0answers
18 views

How to access ContentDocument to be used as attachment in visualforce email template

How to access ContentDocument to be used as attachment in visualforce email template <messaging:attachment filename="{!relatedTo.ContentDocument.Title}" renderAs="{!relatedTo.ContentDocument....
0
votes
1answer
26 views

Can someone clear up datetime time zone behavior in visualforce email template?

Between the UI on direct records automatically adjusting to my time zone and not knowing default behavior in visualforce pages, I'm having trouble wrapping my head around what the user experience ...
0
votes
0answers
16 views

Send Email Along With Data Which Will Come As In Tabular Format

I have a requirement where i need to send the data in email body with tabular format. I used to fetch data using batch class and then written a method which used to create body of html email template. ...
0
votes
1answer
26 views

I am not able to use variable tag in template Based email in marketing cloud

In journey builder ,I am creating a journey to send emails to the list of records in a data extension. I have selected the Email Then clicked Preview and test. By clicking the code view , I have ...
1
vote
1answer
34 views

Marketing Cloud SOAP API - Derive Email Template from SendEvent

I'm currently using the Marketing Cloud SOAP API to get metrics about emails I send out. This works fine, I am able to get single instances of every event, but I am struggling with relating the send ...
0
votes
1answer
36 views

Is it possible to add custom email template with System.resetpassword() [closed]

I have to send a custom email template with System.resetpassword() method. Is it possible?
0
votes
1answer
28 views

Does the BEGINS formula work in an HTML Email template?

I have an email template in which I need to display a person's role, but I need to determine whether the role starts with a vowel (eg Accountant) so that I can correctly display 'a' or 'an' before it ...
0
votes
1answer
26 views

Rendering Image using data in my Data Extension

I have a Data Extension in which I have the path a different path for each image in the row. I am trying to pull this data in my email using an image block. How can I do it? Should I be using image ...
1
vote
1answer
35 views

How to get the attachments in apex which we have set in visualforce email template using <messaging:attachment>

below is the code snippet of the visualoforce email template. <messaging:emailTemplate> <messaging:attachment renderAs="PDF" filename="yourCases.pdf"> <html> <body&...
0
votes
2answers
59 views

ampscript Question

I'm very new to ampscript and am having an issue with a snippet of ampscript showing as blank. This is what I currently have: SNIPPET 1: %%[ set @firstName = Lookup('master','first_name','email',...
1
vote
4answers
104 views

Is that possible to change Custom (without using Letterhead) to a HTML (using Letterhead) in a particular email template?

I need to update an email template which is initially created as a Custom (without using Letterhead) email template to a HTML (using Letterhead) email template. The reason for this modification is , I ...
0
votes
1answer
29 views

How to include custom links in html template with letterhead

Currently, I'm working on CSAT survey's for the customer with a link. So, right now I am able to include anchor tag in HTML template without letterhead. This is the link <a href="{!$Label....
0
votes
1answer
41 views

How to record customer preference from SFMC email template

I need your valuable advice to confirm about one of my problem. We have a use case where have to send a SFMC email which have a URL about some event. We would like to give the preference to customer ...
0
votes
2answers
118 views

AMPHTML In Marketing Cloud

Google announced the ability to create interactive emails using an HTML framework known as AMPHTML (not to be confused with AMPscript). Here is some documentation if anyone is interested in learning ...
-1
votes
2answers
29 views

Problem with the switch conditional statement in the email template?

{CASE(Account.AccountSource, "ABC-Website", "Diese haben wir über unsere Website erlangt","Sportsponsoring" "Diese haben wir über ein soziales Netzwerk erlangt" "")} I don't understand what's wrong ...
0
votes
2answers
70 views

Error: Invalid field 'size' for SObject 'OpportunityLineItem'

I would like to check the size of the OpportunityLineItem related list in a Visualforce Email Template like below, where relatedTo is an Opportunity <apex:outputPanel rendered="{!relatedTo....
0
votes
1answer
15 views

Email Template not printing the picklist value

{! IF( ISPICKVAL( Opportunity.Transaction_Type__c,'IP - Tensilica'), Opportunity.Billing_Plan__c , 'Else Test')} -Here 'Opportunity.Billing_Plan__c' is a Pick list value, An Email Template is not ...