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
0
votes
1answer
18 views

Are Visualforce templates possible in Visualforce email templates?

So, let's say you want really beautiful emails sent from Salesforce. You build all the HTML to make them look amazing and add a bit of Visualforce to make them more dynamic. But then you add a couple ...
-1
votes
0answers
8 views

How to add all contact email addresses to guest list in .ics file of visualforce email template

we need to send a google calendar meeting invite as attachment (.ics file) from visual force email template. we are sending email from case where need to add all related contact email address to ...
0
votes
0answers
24 views

How to add Email template in EmailMessage's HtmlBody ? Apex

When sending new email , the right signature will be used according to contact email address (To) if Contact email address (To) contain abc@xxx.de , then signature 1 should be added automatically to ...
0
votes
1answer
36 views

Email Alert Triggered in Scheduled flow has blank merge fields for Custom fields Only

A Scheduled Flow sends an email alert. The ID and Name fields show up in the email alert, but the other merge (custom) fields do not. The email alert fired other means works as desired. The Automated ...
0
votes
1answer
21 views

Marketing cloud: Create definition(Rest api)

I am a newfish to Marketing Cloud, I want to create a send definition to send an email to multiple addresses. Can someone help me? I can't find much information the message: "...
0
votes
0answers
14 views

Deleted Interactive Email Form Block but receiving error in Preview?

Preview is failing to generate please select a Cloudpage & Data Extension and assign all fields... I've already deleted the interactive email form block but still getting this error? Any ...
0
votes
2answers
38 views

Marketing Cloud - Email Send Snapshot (point in time)

I want to be able to keep track of point-in-time email send snapshot for every subscriber. So if a subscriber has received multiple version of an email over a period of time, I would like to be able ...
1
vote
0answers
32 views

How do you call a custom Lightning Component from inside a VF page? [closed]

I have a lightning component which is a modal window which lets me choose an email template. I want it to be opened when I click a button on my VF page. Any help would be appreciated.
0
votes
0answers
12 views

Get email body for lightning email templates using Apex

I am able to use renderStoredEmailTemplate() to parse classic email templates. But when I try to use the same method for lightning email templates, it does not work. Are there any alternatives?
0
votes
0answers
12 views

Approval Email Notification Template Is Not Triggered By All Users

I have created an Approval submission email notification template in Dev sandbox. This is working for all the users who ever submit the approval process, email is submitted to queue members/queue ...
0
votes
0answers
138 views

Approve or Reject link in visualforce email template

As of now users are sending a email with keywords of Approve, Approved, Reject or Rejected and we receive a reply response using email service InboundEmailHandler. but sometimes users enter keywords ...
0
votes
0answers
19 views

Email to case (Thread id not generating ) [duplicate]

While sending an email using email template, the thread Id is not displaying and I'm just getting body as {!case.Thread_Id} . And also I have checked the Insert thread id in the Subject and body in ...
0
votes
0answers
10 views

How to prevent Pardot HTML builder from formatting email templates

I have uploaded minified HTML email code into the Pardot email template builder. However, the builder seems to automatically format the code, essentially un-minifying it. How do I prevent this? The ...
0
votes
0answers
23 views

Approver name is not populating in Classic email template while requesting for Approval

I'm creating Custom Email Template(Text) for Approval aprocess in order to get email notifications. But instead of populating approver name in first line after Hi "ApproverName" it's ...
0
votes
0answers
24 views

Using a Custom Stylesheet in a Visualforce Email Template being rendered as PDF

According to this Visualforce Developer Guide: Using a Custom Stylesheet in a Visualforce Email Template It should be possible to add custom CSS to a Visualforce Email Template like this <...
0
votes
0answers
13 views

How to use custom VF component in managed visualforce email template [duplicate]

I am trying to use custom vf component in managed vf email template but it is giving me an error saying unknown component. My vf component is set to global already and all the attributes are also set ...
0
votes
1answer
28 views

How to prevent duplicate submit

On SFMC I created an email template that includes the degree of customer satisfaction from 0 to 10. Clicking on a number you are redirected to a visualforce page to submit the vote. If I try to click ...
0
votes
0answers
19 views

Resend Pardot List Email to only one prospect

Is there a way to send a single prospect the same list email that you have previously sent? I'll make an example. I created a list email and sent it out to a list of Pardot prospects. After the send I ...
1
vote
0answers
26 views

Send email to admin in apex via email template with contact and account links [duplicate]

Use case: We have scenario that when a user submits form that will create account & contact record then send email to system admins. We already have this feature via custom Apex code without email ...
0
votes
1answer
23 views

Send email with multiple related object information via email template

Is it possible to send email with multiple object information such as we have connection between contact and account object so we want to send email via template using some fields from account object ...
1
vote
0answers
12 views

Attachment removed from email by Lightning email template: prevent / fix possible?

This is something that worked perfectly in Classic, but not in Lightning. Let's say you want to send a quote PDF to a customer. You select the email option from the dropdown menu to the right of the ...
1
vote
0answers
31 views

Messaging.renderStoredEmailTemplate() is rendering Visualforce email template without custom header

Messaging.renderStoredEmailTemplate() is rendering Visualforce email template without custom header. I have a requirement to send an email with custom header. So created a visualforce email template ...
0
votes
1answer
25 views

Can't copy HTML from a template in Marketing Cloud — but, was able to before — what gives?

Previously, when reviewing the HTML in a template, one could highlight all of the code to copy/paste the code for other uses... however, when we try now the code cannot be copied. I need to pull a ...
0
votes
0answers
31 views

Suppress Community welcome email for a group of Users

As per my requirement, Community Welcome Email needs to be suppressed for a group of Users. Community users are created through a Visualforce page on Salesforce (in non-community context). We want to ...
1
vote
1answer
37 views

Welcome Email not getting sent to community users on register

I have run into an issue where if I am unchecking a checkbox: 'Let guest users see other members of this community' under general setting in Preferences. If the check box is checked, welcome emails ...
0
votes
0answers
15 views

How to add hyperlink in lightning Email Template

I want to add a hyperlink URL in Email template lightning. I know how to do this in classic email template, but in the lightning email template I can't see any option to create URL.
0
votes
1answer
43 views

Footer and Visual Force email template

Hi SalesForce community, I've some difficulties to create a footer/letterhead for an Visual Force email template. I know you can't create a letterhead for an Visual force email template but is it ...
0
votes
0answers
14 views

Sending Email To All Contract Members In Picklist Field

Currently in our organization when a contract is reaching a certain date an email is sent out to certain values in a picklist Contract_Team_Member__c field such as Contract Owner and Contract Manager. ...
0
votes
0answers
25 views

How to get the lightning URL in formula field or visualforce email template

I need to get lightning url using this {!$Api.Partner_Server_URL__xxx} or {!$Api.Enterprise_Server_URL__xxx} in formula field or visualforce email template to navigate to the approval history page (...
0
votes
1answer
73 views

How to retreive an email template stored in Public Email Templates using metadata?

I created a email template directly in the email tab of contact and saved it as a template in Public Email Templates folder. How can I retreive this email template stored in My templates -> Public ...
0
votes
0answers
14 views

I want an email to be send to the users with predefined template by clicking on custom button on the details page in lightning

I have one custom button "Send Email" and a template "SendEmailToUser" from Classic Email template. If I click on "Send Email" button, I should see the send email layout ...
1
vote
1answer
18 views

DML Field_Integrity_Exception when trying to update the HTML value on Email Templates

I am using a 3rd party translation service to translate emails per the business requirement. When I get the returned HTML value I create a record using the following syntax: Map<String, ...
0
votes
1answer
29 views

Unable to add HTML snippet in a letterhead email template in Salesforce Classic

My requirement is to use HTML to display buttons on an Email Template with Letterhead, but I am not able to add html to a letterhead email template. Can someone please help? Right now it is as it is ...
0
votes
0answers
16 views

How to use Campaign Member fields in HTML classic template which will be used in Send List Email?

I want to create a custom html email template for sending list mail for campaign members. I am able to add merge fields like {!Campaign.Name} but when I try to send list mail and use this template I ...
0
votes
0answers
22 views

How to update campaign member status based on Email response?

When I send emails (a custom email template with buttons for yes/no or href for yes/no?) to campaign members inviting them to our campaign, based on their response(click on the button yesn/no) I want ...
0
votes
1answer
35 views

System.EmailTemplateRenderException: EMAIL_TEMPLATE_MERGEFIELD_ERROR: SObject row was retrieved via SOQL without querying the requested field

An Email template containing a VF component is being launched by flow. Email Template <messaging:emailTemplate subject="Manifest - Maritime Carrier Notification" recipientType="...
1
vote
1answer
31 views

Using IsPickVal() function inside Email Templates

I tried using the following ISPICKVAL formula within an email template as shown: MQP Type is a pick list on the Task Object. I have run integration code(Python under AWS) which sets the pick list ...
0
votes
0answers
11 views

Document/Static Resource URLS in Email Templates in Source Control

Let's say that I have a Document or a Static Resource which stores an image that I use in an email template. The .email file within my project directory will have something that looks like this: <...
1
vote
3answers
109 views

Error when trying to push Lightning EmailTemplates SFDX

I'm trying to push two email templates along with other metadata using SFDX. Here's the folder structure: force-app\main\default applications email Demo_Email_Templates ...
0
votes
0answers
34 views

Email Template - Visualforce with Bootstrap Static Resource

Background: I have an Email Template that was developed in Visualforce Page with a static resource (Bootstrap). When I preview the email, it looks as expected: When I Test Merge & Send, the ...
0
votes
0answers
21 views

Can i change the Font style and size of “text” type email template?

I have many "text" type email templates in classic salesforce version, but when i try to use those email templates and add few lines , i observe the font vary from template to the words i ...
0
votes
0answers
20 views

Invalid Cross refernce Key when using Email Template

I have a custom Object say Assign_Case__c. On the creation or update of this object, I want to send an email using an email template to the Assignee Email field on that Object. The following are the ...
0
votes
0answers
86 views

Lightning Email Template Deploy: How do I get the Lightning Email Template Folder Id?

I have Lightning Email Templates that I need to deploy to 13 orgs, and rather than recreate them manually in each org I've extracted them with Data Loader, and now I need the Public FolderIds from ...
0
votes
1answer
19 views

Visualforce Email Template apex:facet not showing in result

I am having an issue wherein the apex:facet header for my apex data table is not showing up in the result. I am fairly certain this is due to be adding a filter for the record type in the column. ...
0
votes
0answers
42 views

AMPScript - HTML Formatting for Dynamic Table (Issues with Outlook 2013, 2016 Windows 7 and 2019)

I have an email where I need to display tiles dynamically based on conditions. Maximum 8 tiles need to be shown with maximum 2 tiles in 1 row. I have created only 2 tables for the tiles and have ...
0
votes
0answers
45 views

How to modify header and footer from a transactional email in SF Marketing Cloud?

I'm new with SF Marketing Cloud. I created an email and the send classification is "Transactional". Then it automatically added a header and a footer into the email. Are there any ways to ...
0
votes
1answer
59 views

Classic Email Template in Lightning Component - Insufficient Privileges

I used visual force components in classic email templates. Now I need to view those email templates in Lightning. So I have created Lightning component custom action to create a pop up and used iframe ...
1
vote
0answers
23 views

How to insert OrganizationID into URL for Custom HTML Email template?

I am trying to insert the organizationID into the img src url. Image is stored in Documents(Classic) on a lower level org. <img border="0" beditid="r1sp1" blabel="...
0
votes
0answers
53 views

too many soql queries error 101 - using process Builder

I've researched answers on here regarding error 101 but cannot resolve or understand quite where the errors are. I have a scheduled class that updates rows in an object once a day. Basically, it ...
0
votes
1answer
27 views

Email Template body NULL when UItype is Lightning or Lighting Sample

When querying the EmailTemplate Object all body fields are null if the uiType is set to lightning or sample lightning. Sample query: SELECT Name, Subject, Body, uiType FROM EmailTemplate Actual ...

1
2 3 4 5
22