Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
1answer
15 views

Can a Custom Component Populate Gmail Subject and Body Fields Using the Lightning for Gmail Application

All that the documentation says is the following: The subject indicates the subject on the current email. <aura:attribute name="subject" type="String" /> The messageBody indicates the email ...
0
votes
0answers
12 views

Scheduling Survey in Salesforce [closed]

Scheduling Surveys in Salesforce - How to SCHEDULE a Survey once in a quarter in salesforce? Survey should auto trigger every 3 months with provision to edit the questions.
0
votes
1answer
19 views

Managed Email Template is not showing on Lookup

I created a lightning component that contains a field that looks up an email template. This is the attributes from the component: <aura:attribute name="emailTmp" type="EmailTemplate" default="{'...
0
votes
0answers
12 views

Lightning Gmail Email Application EmailTemplates and Merge Fields

I'm working on a custom template picker component that will be part of the Lightning for Gmail Email Application. I'm able to load templates based on my criteria and fill in body and subject email ...
1
vote
0answers
11 views

Detail Link in Email Template

Maybe I missed it somewhere but I haven't been able to find it anywhere. So here is the question: I am using Detail Link in email template and the email is send via Workflow to notify Record Creator....
0
votes
1answer
15 views

How to Pass the Record Object in a Click Action From a Lighting Aura Iteration?

I am working on a custom template picker component which filters/restricts templates available to users. The email form is in a child object which the template picker writes to using an aura method. ...
0
votes
2answers
44 views

Pass Id from Visualforce Email template to Controller

I am trying to pass an id through a Visualforce email template component to its class. The class creates a wrapper, to combine two objects records into one list. The two objects lists have a common ...
1
vote
1answer
25 views

Change content on the “Open in browser” page after sending the mail

Is it possible to change content on the "Open in browser" page after sending the newsletter mail by salesforce marketing cloud? I would like to do it in a way the link will continue to work but ...
-1
votes
0answers
10 views

Sub-case fields are not showing up in email template

I have an approval process on sub-case level that sends an email to the recipient to approve/reject the sub-case. I am using a custom template for the approval email that includes the fields on the ...
0
votes
0answers
11 views

Embed vfp page with “wave:dashboard tag” as email template

Is it possible to send visual force email template via email with embedded wave:dashboard tag? Right now when I send the email template to my email it only show the ff. test start test end But ...
3
votes
1answer
26 views

Validate Merge Fields on a Lightning Email Template in Apex

Is there a way to retrieve the merge fields of a specific Lightning Email Template in Apex? Example EmailTemplate template = new EmailTemplate(); template.getMergeFields(); I would like to validate ...
1
vote
1answer
20 views

How to provide sfdc org Link for Guest User

In email template, Using Please click on the link below link to view the record. Link to SFDC Record: {!Account.Link} Problem is ,If site Guest user submits the record it shows partner portal ...
1
vote
2answers
36 views

HTML Email Template : Looks Okay In The Editor, But Loses All Styling When Sent

I'm trying to create an email template in HTML. I originally did all the styling as an internal style - But later found out that styling must be done as inline css. My creation looks fine in the ...
0
votes
1answer
32 views

Lightning email can't enter message

when I click on email tab I only see related and no way to enter message. Also the icons for templates are missing, See the following:
1
vote
1answer
53 views

In HTML Email Template lookup field showing Name field of the related lookup object, how can I get Id instead?

I have two objects Parent and Child, I have created email alert on child with HTML email template, I have to send the link of site page in that mail template with URL parameter as Id of Parent, but ...
0
votes
0answers
14 views

Can we hide “Unfiled Public Classic Email Templates & My Personal Email Templates” for Partner community users?

We have a requirement that we need to hide the default "Unfiled Public Classic Email Templates & My Personal Email Templates" from all the Partner users except the administrator. ...
3
votes
1answer
29 views

Time dependent workflow email alert - dropping fields

I have a visualforce email template. When I send it via the 'send test and verify merge fields' button it populates correctly with all fields. When I send it via an immediate workflow action - it ...
3
votes
1answer
54 views

Not able to call a variable from constructor

I am using a visualforce email template which calls a visualforce component and that component calls the controller class. I am sending an Id from the Email Template to the component and trying to ...
0
votes
1answer
17 views

Access receiving email first name from email template

How to access to the Email Receiver First Name from the Email Template? For example, I have to send an email to a specific user that have to approve a record and I want the email say: 'Hello {!...
0
votes
0answers
13 views

Auto Select Email Template Apex Class not selecting template automatically.

I had a use case where we want to select an email template automatically, It needs to be either an HTML ( with a letterhead) or in worst case a custom email template (without a letterhead). I've ...
0
votes
0answers
12 views

VF Community- VF Welcome Email password link not working When the User is reactivated

I have a VF community and whenever a user is registered, a welcome email is being sent out to the user containing Set Password Link "{!$Network.NetworkUrlForUserEmails" It works fine when a very new ...
1
vote
2answers
52 views

Date formatting Marketing Cloud

I want to fetch date variable on a email in marketing cloud from a data extension that contains personalized dates. Also, when I preview the email, the date is displayed in the US format. I am looking ...
0
votes
1answer
15 views

Max width of an image in mc; defaulting to original width in outlook

This might be a simple question, but would anyone be able to help me set the max-width of an image in marketing cloud so that the picture doesn't default to its original size when downloaded in ...
0
votes
0answers
9 views

Using custom company fields in email template

I'd like to create a email template that uses a "site". I'd like to deploy it in scratchOrg, Preproduction site and PRO... In every site the url is different... so how can I do something like {{{!...
2
votes
1answer
27 views

Accessing SLDS in a Custom Visualforce Email Template

<messaging:htmlEmailBody> <html> <body **class="slds-align_absolute-center"**> <p> All this must be center aligned</p> <p> All this ...
-1
votes
0answers
7 views

Email Template “Link” merge field not rendering correctly

In an email template, I am using the standard "Link" merge field to link to the record that triggered the email alert. However, the merge field I am using is rendering as this: Link to the record: &...
0
votes
1answer
31 views

getting EmailID of the emails in content Builder

I have created a different emails in the content builder and i would like to get the unique email id of the email using ampscript in data extension which will be used to determine the specific email ...
-1
votes
0answers
27 views

Letterhead is not being shown for emails in apex

I have an email template with letetrhead and i am accessing it in code and replacing some merge fields.The lettehead which i have is not being shown in the emails but the getting the content as it is. ...
0
votes
1answer
45 views

Image “height” automatically added in Content Builder

I use custom HTML for my email templates. When a new image is uploaded into an email there is always an image heigth populated in the code. In a two column responsive content block we have to delete "...
-1
votes
0answers
9 views

SFMC : Open on mobile count 2 times

I had very high "total open" versus "unique open". After testing I saw that when I open an email on a mobile, SFMC count 2 open each time. How can I correct this ? For infomation my open tracking ...
0
votes
0answers
19 views

Unable to add attachment to the mail with html template

Users are unable to add the files to the mail while using an HTML template. Below is the screenshot which attachment icon being disabled once the HTML template is selected.
0
votes
0answers
17 views

Create EmailMessage Activity from Flow HTML Email

I have a flow that sends an Email Alert (so that I can use a specific template). Unfortunately after the email is sent their is no activity history of this action, naturally I want to populate and ...
1
vote
0answers
111 views

Converting Email Templates from Classic to Lightning with “Not Allowed” errors

We are trying to convert some of our Classic email templates to Lightning email templates, but when we try to save our custom HTML into the source, we are receiving the following errors. The content ...
0
votes
1answer
67 views

How to add additional font styles in salesforce marketing cloud email content builder?

I want to add two additional fonts (Roboto & Din) which are not there in existing marketing cloud - content builder for email creation. These two fonts are required to keep things sync with our ...
0
votes
1answer
17 views

Create Merge field in email template

I have a question related to email template. I have two object : 1. Sales order (This contain shipment type filed with Means_of_Transport__r as API ) 2. Means of transport (This contain code filed as ...
0
votes
1answer
14 views

Sending two different email alerts based on Sales orders

I am trying to create a process builder rule that does the below. When a new sales order is created - Send out a new email alert template. If the order quantity is changed - Send out an updated SO ...
1
vote
2answers
27 views

How to customize the email Template of the User Email address change Email

The Users want the content of the notification mail which they receive on changing the Email address to be modified. Or they want the From Email Address to be changed to a different one as some of ...
0
votes
1answer
15 views

Email template with visualforce issue, cannot set test record

This is the error that I'm faced today, and have no idea where it comes from! Error occurred trying to load the template for preview: List has no rows for assignment to SObject. Please try editing ...
1
vote
1answer
54 views

pdf is generating as invalid format

I have the following function which generated an email based on a template passed. The function is triggered from a rest api. public static Messaging.SingleEmailMessage singleMessageHelper( ...
0
votes
2answers
59 views

How can I update data extension after clicking Submit Button in the cloudpage?

I would like to update a field name "Email_Optin" in my data extension after clicking submit button and set the Value of it to True. Is this possible using ampscript?. Thank You!
0
votes
1answer
38 views

VF Email templates Boolean merge fields Automated Process User is always false

Use case: Trigger subscribes to Platform Event (hence running user = Automated Process) Trigger creates SObject w/ checkbox field set to TRUE Process Builder executes based on SObject values, ...
0
votes
0answers
20 views

How do I change social sharing icon in marketing cloud used in mailer?

There is a standard block of social share in marketing cloud. I want to change a particular icon (for example instagram icon, existing one is old one). Please let me know how do I change this ?
0
votes
1answer
51 views

Visualforce Email Template - broken images for all Email Clients? Workaround?

I have a case open with Salesforce, but I usually have better luck here. I have tested an email template on numerous mail clients - Outlook 2010, Outlook OWA, Gmail, and Yahoo. However all of them ...
0
votes
1answer
38 views

Issue with Visualforce page email template subject line

I'm trying to send 3 different email using a single email template and visualforce component. I'm using rendered to display the text in html email vf component based on conditions. However, when I'm ...
0
votes
1answer
41 views

Converting Currency to Decimal And Converting Back To Currency Display in Email Template

I have a currency field that I multiply by .5 in my apex code. This changes the data type to a Decimal. I want to display on a visualforce email template the newly updated number as a currency. ...
0
votes
0answers
36 views

INVALID_CROSS_REFERENCE_KEY: invalid cross reference id

I'm triggering an email with OnAfterInsert. Inside the method, I have access to all the necessary data to send the actual e-mail: emailtemplateId whoId whatId internalEmailAddrs externalEmailAddrs ...
0
votes
0answers
244 views

Adding Images in Lightning Email Templates

I am trying to add images in lightning email templates. I have a formula field which has IMAGE function and it displays Image on record view. I have used that formula field as a merge field in ...
0
votes
0answers
18 views

Use CampaignMember.Id in List Mail

I need to send an email to all CampaignMembers. I need to include (among other things) the Id of the receiving CampaignMember in the email text. It's basically a custom link that points to a public ...
0
votes
0answers
18 views

HTMl Email Template with letterhead in triggers

I created an email alert in a trigger.it's not displaying images(custom html).how could i send email alert with HTML template with letter head.I dont think it doesn't support.is it? below is my code. ...
0
votes
0answers
7 views

Is it possible show email template related to Look up field?

I have a custom object which have send email button. On click on send email button below screen will be available When I click on 'select template', I can see all the templates related to my custom ...