Skip to main content
New
Stack Overflow Jobs powered by Indeed: A job site that puts thousands of tech jobs at your fingertips (U.S. only). Search jobs

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

Bulk upload of email templates

How to upload 100+ email templates doc file to sandbox classic email template folder?
Amal Dev's user avatar
0 votes
1 answer
39 views

Visualforce component not triggering getters

I have a task to create a email template which uses a visualforce component with some tables of data on Leads. The email did not show the tables properly so I put the VF component on a VF page to ...
Răzvan Busuioc's user avatar
0 votes
1 answer
41 views

Hiding HTML table of code within Ampscript IF-ELSE Statement - Reduce file size?

I am working on an email template with a large number of modules. If I add these modules within the AmpScript IF-ELSE statement - for eg: Display module 1 table of code within in the If statement and ...
user1373287's user avatar
0 votes
0 answers
26 views

Are emails rendered differently when testing email templates vs actually using them?

I have an email template being sent to an email-to-ticket feature of a different system. I can assign the owner of that ticket in that system by including certain text in the body of the email - !!...
Jerry Woods's user avatar
-1 votes
0 answers
29 views

How to make Hyperlinks of Emails sent from Salesforce Clickable?

I have a classic email template, which uses {!Project__c.Link}. This passes the link of the record page of which the flow is triggered. However, members from my team are not able to click on the Link (...
SlayerSevak's user avatar
1 vote
0 answers
44 views

How to get header and footer images in visualforce email templates

I need to add header and footer images to my visualforce email template. I tried uploading from static resource which doesn't work. I don't have the Documents option in my org. Is there any way I can ...
Rachel's user avatar
  • 31
0 votes
1 answer
36 views

IF statement in HTML Template Giving blank output

Here is the formula I am trying I get the result in the formula field but it turn blank when I am using it in Email template {!IF(Client_Life_Event__c.Legal_Business_Name__c, Client_Life_Event__c....
SFDC_learner's user avatar
1 vote
0 answers
33 views

Issue while iterating related child records of a Case Object in Visualforce Email Template for Portal users

Requirement - To show the table consists of the child records in Visualforce Email Template for portal users Design - We have two Objects having Master-Detail Relationship. First Object - Parent__c (...
Push Tech's user avatar
1 vote
0 answers
57 views

Why is ApprovalRequest.Comments appearing as blank for an email template upon initial submission?

I have a standard email template on an opportunity object with {!ApprovalRequest.Comments} as a field I want filled out on the email template. This is sent on the initial approval request. The field ...
SlayerSevak's user avatar
0 votes
0 answers
71 views

lightning email template is not showing the merge value of opportunity fields

Lightning email template is not showing the merge value of the opportunity fields I have created the lightning email template for sending email, the template Id I'm trying to use in my flow to trigger ...
Divya 's user avatar
  • 13
1 vote
1 answer
104 views

Email Template Folder not found error while creating 2GP package version

I am trying to create 2GP managed package via Salesforce CLI using sfdx commands however when I run sfdx force:package:version:create command I get the following errors related to the email template ...
Hasan Tokul's user avatar
0 votes
1 answer
81 views

System.EmailException: SendEmail failed. We don't recognize the field prefix Contract

I am getting the error when i execute the sendEmailContractDetailsToOwner() method from ContractsService class. My email template has couple of merge fields such {{{Contract.ContractNumber}}} Domain ...
selman's user avatar
  • 25
0 votes
0 answers
95 views

Pass Map from Batch Apex to VisualForce email template and iterate on it

I have a Batch Job called ContractExpirationNotificationJob and it identifies expiring contracts and sends the owners a list of expiring contract records by email. Currently, I am using a method ...
selman's user avatar
  • 25
0 votes
0 answers
28 views

BounceReason field update in the Salesforce on IER object

I want to update the BounceReason field from Marketing Cloud to Salesforce Sales Cloud on Individual Email Result object. Is it possible in anyway to update the Bounce_Reason_C field on the Individual ...
Adam Coder's user avatar
0 votes
0 answers
208 views

Error occured in Recipient ID in flow when trying to use the template id to send email via flow

An Error Occurred with Your "test flow" Flow You’ve received this email because an error occurred while your "test flow nvaga" flow was running. Error element ...
Divya 's user avatar
  • 13
0 votes
1 answer
32 views

Display contents of a Content Note on a Classic Task Email Template using Task WhoId (relatedTo)

I am trying to display the values of the Content Note object's content field that is related to a lead record and I want to display those values on a task email. Thanks. We use AWS Python Lambda ...
Anthony Williams's user avatar
0 votes
1 answer
25 views

Can I capture the Flow or workflow process id or name in an email alert?

I use the same email template for more than one alert or process. Is it possible to capture the id or name of the triggering Flow, workflow rule, or process definition in the email message? This would ...
jaw999's user avatar
  • 1,315
0 votes
0 answers
60 views

Formula in Classic Email Template ISBLANK

I am trying to return custom text when a field is blank in my record using a classic email template. I am pulling my hair out. I have searched high and low with no luck. I am using this formula in the ...
Alex Silver's user avatar
0 votes
1 answer
33 views

Dynamically adding multiple log file URLs inside a classic email template for a Salesforce Object in Salesforce

We have to have multiple URLs from a log file inserted dynamically into the following Web Intelligence classic email template for the Task object. For example here is the mockup for the email ...
Anthony Williams's user avatar
-1 votes
1 answer
192 views

Adding if conditional logic in Salesforce Lightning HTML email templates

need to add the case description in the lightning email template if the case origin is "Website". As it's currently not possible to use conditional statemements in email template in ...
user3620804's user avatar
0 votes
0 answers
49 views

Data is not showing in email from Synchronize DE via AMPScript

I have prepared an personalized email with AMPScript block in the email and now my some of my data attribute is not showing in the email. I am trying to get this data via lookup function of the ...
Adam Coder's user avatar
0 votes
0 answers
163 views

Flow Error message: Unable to process the email template...Argument cannot be null

Can anyone help with this Flow error message: Error Occurred: We were unable to process the email template. Error Message: core.email.template.TemplateRenderingException: Argument cannot be null. It ...
AwesomeAdmin8's user avatar
0 votes
0 answers
72 views

Salesforce CPQ - Quote Lines, Quote Line Groups, and MDQ - Visualforce Approval Email Template

Our team is looking to launch MDQ for our products in CPQ, however while this is handled seamlessly on the Quote Template end, I am struggling to make an Approval Email Template that will adequately ...
Chapin23's user avatar
0 votes
0 answers
42 views

Outlook button to update/delete a record in salesforce

The use case is - A subscriber (contact) is sent an email regarding a specific product to which he's subscribed to. At the end of the email is "Unsubscribe" button through which he can ...
Pooja's user avatar
  • 11
0 votes
0 answers
33 views

Send only a single email for multiple records with similar email address in salesforce marketing cloud [duplicate]

I have a data extension like below. Now when sending emails to the list it sends multiple emails to a single subscriber based on the record. As an example as - [email protected] is two times in the ...
Monowar Hossain's user avatar
0 votes
1 answer
43 views

LWC wont save after clearing out none required custom fields (lightningStatic__Email)

Hi I'm pretty new to the salesforce platform so any help would be appreciated. I am trying to create custom email template components, but when I clear out any data from a custom field it wont save ...
Dee's user avatar
  • 1
0 votes
0 answers
57 views

Email Template Content Block Area - Overwrite CSS

I am working on revamping email templates in Marketing Cloud for non-technical marketers to use. I am running into an issue/haven't found a solution for overwriting CSS in content areas that a user ...
Tazzy1234's user avatar
0 votes
0 answers
27 views

Flow to Look Up multple Account records, copy field from each record to clipboard

I am hoping to find a way that I can achieve the following: Users are composing an email to a client. They are providing information to the client about one or several Accounts which serve as resource ...
Max Winkler's user avatar
0 votes
2 answers
142 views

Can we pass email body in API payload for sending email in salesforce marketing cloud?

I am exploring Salesforce marketing cloud's email APIs but am unable to find any email send API that allows sending email body (HTML content) in the send API like Braze (braze api). Is there any ...
Syed Sajjad Hussain Shah's user avatar
0 votes
0 answers
66 views

Getting Error on Subscriber Preview with AMPScript Code in the email

I am getting an error on the subscriber preview section after testing the AMPScript with test DE records in Marketing Cloud. Below is my code: %%[ set @Phone = [Phone] set @Name = [First Name] ...
Adam Coder's user avatar
0 votes
0 answers
106 views

Using Content Block of type Layout in a custom HTML template for SFMC

I am working on an email template that uses content blocks. The content blocks are retrieve using some ampscript that loops through a JSON string of contentBlocksIDs. I also wanted to use content ...
Ahmed's user avatar
  • 11
-2 votes
1 answer
45 views

Getting Error on Fetching Data from two different DE into Email Template in SFMC

I am trying to get the data from two different Data extensions DE A has columns fname, Lname, Contact ID, Email, Phone, Account ID and DE B which is Salesforce object DE has Account ID, Owner ID, ...
Adam Coder's user avatar
0 votes
2 answers
878 views

Marketing Cloud - Send email via API

I am completely new to salesforce. I am developing an application that is supposed at some point to send emails through salesforce marketing cloud, using their APIs. I've found about triggers and ...
eeki's user avatar
  • 3
0 votes
1 answer
119 views

Preheader doesn't display when arriving in Inbox

I've set up a multiple communication journey which is sending around 10 emails. For 3 emails out of 10, the preheader is being displayed normally when I receive it in the inbox but for other emails, ...
Razvan Ivascu's user avatar
0 votes
1 answer
100 views

Updating Lightning EmailTemplates using REST api

I'm trying to replace links within email templates created by the lightning builder programmatically. I've managed to get the sobject ID of an email template using the REST api, but when I try to ...
uplifterTom's user avatar
0 votes
1 answer
287 views

Approval process for external users (lightning experience)

I have a standard approval process that needs to be approved by external users (experience site). When the approval process is kicks-off, an email is sent to the approver. I am merging the field on ...
Lut's user avatar
  • 287
0 votes
0 answers
53 views

When sending an email attachment from Visualforce, which is best practice - messaging.emailfileattachment or messaging:attachment?

I have a single attachment created using Visualforce to send out via email. I am using a Visualforce email template and specifying the setTemplateId attribute in my Apex class and then using the ...
Andy Hitchings's user avatar
2 votes
1 answer
151 views

Saving a list email template: You're template isn't saved ... Attribute is not allowed

For those of you who are not familiar with the feature: in the Contact list view, there is a button 'Send List Email'. This allows you to send an email to a number of contacts. While composing the ...
Sander de Jong's user avatar
0 votes
1 answer
477 views

How to create dynamic email templates in SFMC

Currently, our emails are using content blocks where shared areas like header and footer are called in an email file. The reason we use content blocks is because if anything changes in these content ...
kl2's user avatar
  • 343
1 vote
2 answers
264 views

How to see the fields which are used in a Visualforce email template

Have a visualforce email template for details on Opportunity closed won - I want to check which fields are being pulled through into the template from the Opportunity record. Where do I go to find ...
AwesomeAdmin8's user avatar
-1 votes
1 answer
1k views

Issue sending email using flow and email template with merge fields

I have created an email template on User object as below: Hello, A user registered successfully with below details: First Name: {!User.FirstName} Last Name: {!User.LastName} Email address: {!User....
Jason Rickert's user avatar
0 votes
0 answers
137 views

Merge Fields In Email Template Builder

In Case there are fields like Contact Phone Contact Email and Contact Name I have to use these fields in email template builder but these fields are not showing merge fields so how can I use these ...
Mohammad Sohail's user avatar
0 votes
0 answers
55 views

Deploying shared EmailFolder with sfdx

I have an Email Folder I want to deploy with sfdx to another org. I did all of the configs in SF and pulled everything. I tried it with sfdx force source deploy -p app/default/email/test.emailFolder-...
user853710's user avatar
0 votes
0 answers
149 views

Is it possible to show button to display a link on email templates in Salesforce

I have a classic email template where I am sending a link to a survey invitation to users. Due to some privacy laws, the link should only show up on the email, when the user clicks on a button 'Ok to ...
it-nish's user avatar
  • 11
-1 votes
1 answer
68 views

Converting Currency into USD using AMP script is not working

I tried to convert currency into USD, but instead of converting into USD it's moving to decimal place. My code is %%[ Var @num Set @num = formatcurrency("123.45678", "en-Us") ] %% ...
SFMC Developer's user avatar
2 votes
1 answer
254 views

Multiple If Statements on a HTML Email Template

I'm trying to create a Classic Email Template formula that shows a different value based on what's in the Plan_Name__c field on the Work Order object. I've managed to get one IF statement working but ...
Josh Bridgman's user avatar
1 vote
0 answers
167 views

Sending email through ScreenFlow - problem adding threadId to template

I have created a ScreenFlow that's triggered with a button on a Custom Object (called Tech Issue). When clicked, user can select multiple Cases amongst the Cases that are linked to said Tech Issue. ...
Yaya's user avatar
  • 13
0 votes
1 answer
302 views

What code in SFMC templates triggered the default header and footer and is it required?

In HTML emails (non-template based), it looks like customer HTML is NOT triggering the default header & footer, how come HTML email are able to go out without default header / footer and still ...
kl2's user avatar
  • 343
0 votes
0 answers
229 views

CTA border doesn't render properly with Outlook

I need to create an email with 2 CTA buttons that stay side by side. The first CTA has black background and the second one has white background. Both buttons have rounded corners (border-radius 6px), ...
Gio's user avatar
  • 21
0 votes
0 answers
107 views

Can I use <messaging:htmlEmailBody> and <messaging:plainTextEmailBody> in the same template?

I wonder if it is possible to use <messaging:htmlEmailBody> and <messaging:plainTextEmailBody> in the same template? Nothing is mentioned about it in the official Visualforce documentation....
Eduard's user avatar
  • 5,149

1
2 3 4 5
26