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 votes
0 answers
15 views

Need to add comma amount display on subject in email template

I need to add comma amount display on subject in the email template: <messaging:emailTemplate subject="Big Deal Alert: {!relatedTo.Type} of {!relatedTo.CurrencyIsoCode} ({!relatedTo.Amount + ...
user avatar
0 votes
0 answers
14 views

Marketing Cloud Email Template Global Styles not sticking to emails

We've built our email templates using the drag-drop visual editor in Content Builder. Within the template, we've made the links to be our brand colour (e.g. purple). When adding links to a text box in ...
user avatar
  • 1
0 votes
0 answers
17 views

SFMC, Email Studio: Social Network Addition

I need to add custom social networks (Telegram for instance), but I don't have this in SFMC. How can I do this please? Much appreciated :)
user avatar
-1 votes
0 answers
13 views

Error while Send Mail from the Case (For particular record)

I'm trying to send email using the Send Email quick action button. Once i clicked that button that will redirects to the below screen. But only for two users not able to send email to one particular ...
user avatar
  • 109
0 votes
1 answer
23 views

How change label in <a> tag in email template?

I am trying to add tag in email template like <a conversion="false" data-linkto="other" href="%%=v(@URL1)=%%" style="color:#0A4A8E;text-decoration:underline;&...
user avatar
  • 59
-1 votes
1 answer
23 views

Not able to find how an email is triggering

While creating a case record in the community, one email is triggered from my email to my email only. I am not sure how to find from where that email is triggering. I have downloaded the full ...
user avatar
  • 381
0 votes
0 answers
14 views

Html template issues in marketing cloud [closed]

I have a html template that contains a block of four images and the client was displaying it as a 4 images next to each other on desktop device, while a on mobile he was displaying it as 2 images in ...
user avatar
0 votes
0 answers
19 views

Lightning Custom Email Components

Is there any way to pull other records (not the main record) into a custom email component? the documentation seems pretty ironclad on this with no fetch and no wire but just wondering if anyone has a ...
user avatar
0 votes
0 answers
16 views

Count field not populating from salesforce to journey builder

I am sending mails once record created on salesforce journey picking record from salesforce sending mails through journey builder. Issue is there is one count field populating from flow in salesforce, ...
user avatar
  • 59
0 votes
1 answer
26 views

How to optimize the email AMPscript code that has a lot of lookups?

I have built a dynamic email template. This email template pulls the data from the Data Extension based on email name ( example: subject line, pre-header, content area, headers etc). For each field ...
user avatar
  • 5
0 votes
1 answer
30 views

Pass the value from email to a content block using AMPscript

In my email, I am calling a Content Block. The content block uses a lookup to pull out content from a Data Extension. Example code in content block: set @SourceDE = "DE_NAME" ...
user avatar
  • 5
0 votes
0 answers
21 views

CSS Image not showing in Gmail using Visualforce page email template

<messaging:emailTemplate subject="Enquiry Regarding Autism Assessment" recipientType="Lead" > <messaging:HTMLEmailBody > <html> <div style="float:left&...
user avatar
0 votes
1 answer
42 views

Custom Font for email [duplicate]

I need to insert this Google Font (font-family: 'Solway', serif;) and use it for my email. I've already tried the @import and functions that Google Font suggest to use to upload the font but it will ...
user avatar
0 votes
0 answers
13 views

VisualForce Email template giving error

I want to right one condition in my email template something like (((Country == 'xyz' && RT != 'abc') || Country != 'xyz') && (credit!=null || Debit!=null)) in my visualforce email ...
user avatar
0 votes
1 answer
18 views

Render specific Opp Products on Visualforce template

we'd like to display only specific Opportunity Products on an email template if a certain field is TRUE. We keep getting an error that says "value of attribute rendered associated with an element ...
user avatar
1 vote
0 answers
35 views

HTML Email Template URL Base64 Encode

Based in question HTML Email Template URL Encode That it exposes the problem like: <a href="http://example.com/?region={!URLENCODE(Contact.Region__c)}">Click me</a> I am trying ...
user avatar
  • 111
0 votes
1 answer
16 views

Can i fetch the parent name of an object in a custom email template

I have to fetch a lookup field of the object Opportunity.Instead of this Dear {!Opportunity.Primary_Contact__c} I need Dear {!Opportunity.Primary_Contact__r.Name}.But each time I input this and save ...
user avatar
0 votes
0 answers
24 views

Embed slds css in lwc email template

Has anyone managed to use slds in a lwc embedded in a email template? (lightningStatic__Email) Currently I have not managed to include slds (including minified) in the lwc/template as the file is too ...
user avatar
0 votes
1 answer
65 views

Ampscript and IF statement to get data from two different data extensions

I have two data extensions: Data extension 1: API_Onboarding_OnlineMemberships has the following column: SUBS_START_DATE (this DE gets the emails) Data extension 2: Customers has the following column:...
user avatar
0 votes
2 answers
20 views

Apex mixed formatting (currency and number) in a table with repeat logic

I've tried multiple solutions I've found here, but none are quite what I'm dealing with and thus my guesses at how to slice & dice the format inputs are failing. Below I have a VF email template ...
user avatar
0 votes
0 answers
23 views

Email template on Community registration merges field as blank

There's a custom community login page where the user logs using a custom field Document_Number__c on the contact related to the user. So , when we send the welcome email we want to notify the user as ...
user avatar
0 votes
1 answer
60 views

Email To Case Thread Id linking issue

I observed our sandbox does not have Thread id feature as we have created this org after recent release of salesforce where Message-ID and reference header is activated. What I want is that customer ...
user avatar
0 votes
0 answers
25 views

Two objects in email template [duplicate]

I have a simple email template {!Job_Applicant__c.FirstLast__c}, Please use the link to see my available times and select one that works for you: {!User.Calendar__c} I look forward to ...
user avatar
1 vote
0 answers
29 views

How do I dynamically show/hide a line in a classic email template

I'm working on a functionality that sends an email to the user with a links to a list of documents. The following is the code from .email VF template that does it. <!-- starting lines of email --&...
user avatar
0 votes
1 answer
46 views

Email Sender Different In Lightning Vs. Classic

If a user sends an email from an Opportunity the sender is different in Lightning. In Classic the sender is the name of user with the org-wide email address as email while in Lightning only the org-...
user avatar
  • 1,930
0 votes
1 answer
32 views

How to get Metadata for Lightning Email Templates?

Looking to get Metadata for lightning email templates. Here is what I have tried: Retrieving from source the following package.xml: <?xml version="1.0" encoding="UTF-8" ...
user avatar
  • 1,808
1 vote
1 answer
45 views

Extract Text Version of the email body with no html tags using REST API from SFMC

I was trying to extract the email body (text version) with no html tags from SFMC. But I had some hard timing on how to filter out the nodes in the email content to get the expected result, I couldn't ...
user avatar
  • 31
0 votes
1 answer
25 views

Sending email with template without storing data

We've set up a Apex REST endpoint to send emails on behalf of an external system. Data to fill the templates will be sent in the JSON payload to the REST endpoint. We're finding that the data is going ...
user avatar
  • 51
0 votes
1 answer
62 views

Are there any features for developing HTML emails locally and using version control?

So far my work with Salesforce is for HTML emails in Content Builder. I don't see any obvious features that would allow our team to do various things that would help streamline development, such as: ...
user avatar
1 vote
1 answer
113 views

Send Welcome Email when an user is created from apex code

I'm having an issue when creating an user from the apex code. My code do the following: @future public static void createUser(Id contactId) { Contact contact = [SELECT Id, Email, ...
user avatar
0 votes
0 answers
7 views

Opportunity Territory Label as Email Template Merge Field

Does anyone know how I can add an Opportunity's territory label into an email template? I don't know if there's a workaround or if I'm not looking at the right place but is there a way to do this ...
user avatar
0 votes
0 answers
62 views

Preview Lightning Email Template in Screen Flow

I try to preview a Lightning Email Template within a Screen Flow, so that the user can see it, before sending the Email via Flow. Currently, I have to rebuild every Email Template as a Text Template ...
user avatar
0 votes
0 answers
22 views

Issue with Merged field in Lead Email Template

I have a requirement to send email to users from leads. These users may or may not be from that lead record. I have an email template which contains merged fields from leads. Now when i use that ...
user avatar
0 votes
0 answers
27 views

Can't get HTML snippet to work in existing email template

I'm trying to add a footer to an existing email template using the HTML block. I would assume that the DOCTYPE, HTML, HEAD, BODY tags and CSS are already there. If so, I should be able to able to add ...
user avatar
1 vote
1 answer
79 views

Enhanced letterhead - new button

I am not able to see button in Enhanced letterhead in salesforce. Can any one give me the solution on how to enable the new button Thanks
user avatar
1 vote
0 answers
53 views

Is there any way to attach a ContentVersion file to an approval process email?

So there's an approval process and C-suites don't want to click into salesforce anymore to view the related files they just want them attached. I have some experience with Visual force, but haven't ...
user avatar
  • 464
1 vote
0 answers
52 views

EmailTemplate DeveloperName field is not accessible for community user in managed package

I wanted to send an email using one of my Email Templates in Salesforce depending on the action of my community user. The email template folder where this email template is stored has Read/Write ...
user avatar
  • 13
1 vote
0 answers
103 views

LWC Viewable in Sandbox's Email Template Builder but not in Production's

LWC is visible in Email Template Builder in Sandbox under Custom Components but after deploying to Production, I can't see it. It is definitely in the Production org because I can access it in App ...
user avatar
  • 11
0 votes
0 answers
182 views

Flow triggers Email Alert, but no email sent in Logs, no email received

I created a new Flow that runs on Update of our Custom Object. When the record is updated with a new Assigned_to__c user, it should trigger an Email Alert with Classic Email Template. The Decision ...
user avatar
0 votes
1 answer
75 views

null body from email template

i create lwc component, i select body from email template. i have error: null body. public with sharing class SendInvoiceService { @AuraEnabled(cacheable=true) public static List getPreview(...
user avatar
0 votes
1 answer
173 views

Classic Email Template - Link not working in email

Strange behavior with our Links in SFDC Classic Email Templates. In the Setup > Classic Email Template, the link looks like this.... <a href= “{!Custom_Object__c.Link}”>{!Custom_Object__c....
user avatar
1 vote
2 answers
88 views

anchor tag not rendering in classic email template (custom)

Template: <!DOCTYPE html> <html> <body> <p><b>{!Contact.FirstName},</b><br> <p>Please follow: <a href="https://www.google.com/">John ...
user avatar
0 votes
1 answer
27 views

Documents image are not visible on email

I've got some images on Documents (all marked as externally available) that are working properly on my Community custom component and on the HTML email template preview. But if I send that email ...
user avatar
0 votes
0 answers
22 views

How do I remove hardcoded Links from my email template

I have an HTML Classic email template. The email template has two img src's that references an image in a static resource as well as an image in the web. The links are hardcoded in the template. How ...
user avatar
0 votes
0 answers
80 views

Dynamic Pardot email link not getting tracked

I have created an email template in Pardot. Email template has a link/button which has dynamic URL by using Pardot Account Merge field & this merge field value is retrieved from Salesforce Account ...
user avatar
  • 590
0 votes
0 answers
23 views

Not able to get Approval request number in the email template

I have an approval process which is sending email when the record is submitted for approval. There is an email template for this. Users are receiving the email but the email subject is missing the ...
user avatar
1 vote
1 answer
76 views

Hello, does anyone know how to make the custom email template respected by outlook?

I'm developing a custom email template in the visualforce component, but outlook opens this email all unconfigured, the impression I get is that it ignores the css. I did google searches, I'm using ...
user avatar
  • 1
-1 votes
1 answer
34 views

Pass Formatted Date to Custom Label from VF template

I have a VF email template. I passed parameters to the custom label. One of them is datetime format. However I want to change the formatted date and then pass it as a parameter. <apex:outputText ...
user avatar
0 votes
1 answer
134 views

Community Forgot Password Email Template picking up incorrect merge fields values - Spring 22 Preview Effect

Background We've been using Visualforce Email Template for a Community forgot password emails that used to work fine until a few days ago. The emails are triggered using Site.forgotPassword(username, ...
user avatar
  • 1,242
0 votes
0 answers
36 views

How to retrieve the experience url to be used in a classic email template

I have a task to dynamically use the experience URL in a classic email template. I will have different stores with different experience URL that will be used on email templates which will contain a ...
user avatar

1
2 3 4 5
24