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
0answers
14 views

Accept button in email message that triggers a process in salesforce to update case record [closed]

I would like to know if it's possible to have Accept or Reject button in email message that a recipient can click then will trigger an update process (WF, PB or Flow) in a case record? The email that ...
-2
votes
1answer
22 views

unable to save in activity when sending email to the recipient. Can anyone help me on this? [closed]

global class TrailCommEmailAlert { @invocablemethod global static void TrailComm(List<id> sumId){ system.debug('Summary Record'+sumID); Trail_Commission_Summary__c sumObj ...
0
votes
1answer
27 views

use ampscript for URL image on EMAIL TEMPLATE

I use an email template, and I put an image with a URL on email. The link contains a query string, something like: https://google.com/?privateId=X I want to make X to dynamic for each user AND ...
0
votes
1answer
55 views

Lightning component for email template - error

I'm redirecting the user from my lightning component to Lightning Email template creation popup. Currently, the user has access to create there own from setup but to eliminate going to setup, I've set ...
0
votes
0answers
12 views

How to build custom drag&drop email modules

my client would like to have custom modules in SFMC. I would like to know how to build a boilerplate with header and footer; and how to build draggable modules. Thank you in advance. Best, Dario
1
vote
1answer
31 views

Why I cannot find Shared folder in Content Builder

I want to hide some folder to specific user. And choose to move to Shared Folder and Deny them in permission for specific user. But I cannot find where is the shared folder in my Marketing Cloud.
0
votes
3answers
30 views

Inline Content Block in Template

For SFMC Email Studio, i have create a Template-Based Email, I have also create a Content Block which uses the placeholder %%firstname%% to return the text True if it is not empty and False if it is ...
0
votes
0answers
19 views

MailingState field showing statecode instead of state/province Name

I am writing a visualforce email template and trying to show the recipient's mailingState Name. My piece of code is given below: <messaging:emailTemplate subject="{!$Label....
1
vote
0answers
22 views

Community Welcome Email Merge Fields Not Merging

I have a visualforce email template being used as the Welcome Email for a Community. <messaging:emailTemplate subject="Welcome to X" recipientType="User" relatedToType="Account"> <...
0
votes
0answers
24 views

SingleEmailMessage From APEX

Sending An email from Apex code. I have LWC button in Custom object, On clicking the button will call the APEX method by passing recordId and get the email address from the same record and send Email. ...
0
votes
1answer
30 views

Sending a Email Template from APEX

I'm attempting send a Text email from Apex code, Email is sending without body. I have created a new LWC button and Placed in custom Object Detailed page. On Clicking of the button this Apex method ...
0
votes
0answers
10 views

Send List Email in Lightning Experience - change FROM Address

I need to customize the "Send Email" button. I need to change the "From Address" on email. I have tried with Trigger and Process Builder, but its not work. In this article said its not possible: https:...
0
votes
1answer
13 views

How to edit the visualforce email template properties in Apex controller

How to update the apex:dataTable used in the visualforce email template, when editing the properties of the visualforce template from Apex. I am able to query the markup from email template ...
0
votes
0answers
23 views

Pass variable from Apex to Classic Email Template with Replace

I have a classic email template which includes a {!TODAY() + x} function. I want to dynamically steer this x via APEX. Therefore I use .replace() function in APEX which will look like following: {!...
0
votes
1answer
14 views

Merge field for base login URL in community welcome email?

I have set up a community and I am using a plain text email template for the welcome email. I would like to mention the community's base login URL in the email body so that users can bookmark it. ...
1
vote
2answers
38 views

Extra Comma at the end of the string

I want to generate the string as number1, number2, number3 with the following code. String accountNumbers = ''; for(Account Acc: solvAccounts){ accountNumbers = accountNumbers + '' + ...
0
votes
0answers
22 views

Marketing Cloud - Journey Builder/Communities - Welcome Email - Registration URL

I would like to utilise Marketing Cloud and it's journey builder to send the Welcome Email to new community users with the registration link. Salesforce provides this link in email templates via {!...
0
votes
2answers
36 views

Not able to display list of string in visualforce email template

I have a controller public class EmailController { public string AppId{get;set;} List<App_Child__c> aPRList=[select id,name,status__c from App_Child__c where App__c=:Appid limit 10]; ...
1
vote
0answers
26 views

Send Approval Comments in Visualforce Email

I have a custom Visualforce email template with a VF component inside it that displays the most recent Comment from an approval process. It is built with the same approach shown in this blog post by ...
0
votes
1answer
211 views

Unable to edit/save emails with custom formulas for Classic Email Templates - Spring '20 Release

There have been ways in the past you could use (hack) custom formula's within Classic Email Templates to render content depending on the scenario. For example, you can use this formula directly in the ...
0
votes
1answer
33 views

Marketing Cloud Responsive Layouts Not Responsive

Does anyone here ever encountered that the Empty Layouts of Marketing Cloud are not rendering good in some mobile devices (more on iOS Outlook). What solution or workaround did you do to fix this ...
0
votes
1answer
17 views

Show work order if it is not null in TimeSheetEntry

I am creating an visualforce e-mail template on TimeSheetEntry: <messaging:emailTemplate subject="Time Sheet Entry has been updated" recipientType="User" relatedToType="TimeSheetEntry"> <...
0
votes
1answer
37 views

Why is the Default Commercial and Default Transactional HTML Footer are not showing the same code when doing Preview and Test?

We created a custom HTML Footer, we inserted it in the Account Settings, and selected the "Custom" as the HTML Footer. Now when I do preview and test, Default Commercial is showing the Custom HTML, ...
0
votes
0answers
44 views

Customize 24 hour password reset fail email

We've managed to customize all the emails sent to our Community users, except this one. It's the email sent if you try to reset a password within 24 hours of resetting it. (Which is a feature we do ...
0
votes
2answers
46 views

Can I set Email Subject Line in Template?

I'm struggling to find a way to set a subject line in the email template, is this not possible? Ultimately, I will be pulling the subject line from a data extension with some ampscript (and to do ...
0
votes
2answers
35 views

Migrate Email templates from Personal email templates folder

What is the best way to move email templates from Personal Email Template folders of all users from one production org to another? ANT will only extract personal email templates of the running user. ...
-1
votes
1answer
20 views

Mail is getting triggered to my user email id without any trigger point from apex or trigger or workflow or process builder [closed]

I have written the apex code to sendmail for my project. When it is getting triggered from apex class. It is getting trigger to two email ids. One is my user email id and other is the one which I am ...
1
vote
1answer
33 views

Can you format merge fields in Salesforce email templates?

Basically I am trying to create some email templates that send out to our users that contain a phone number. A lot of these phone numbers are formatted with no parathensis or dashes, and are in the ...
0
votes
1answer
27 views

How to place “view online link” for salesforce HTML email templates?

I have created an HTML email template in salesforce, now I want to place a link to view the mailer in the browser. As we place in the marketing cloud, I want to do the same in salesforce. Is there any ...
0
votes
0answers
12 views

Associate lead to task created by Process Builder from outgoing email template

I've built a process centered on sending an email template to a lead via Salesforce triggering the creation of a new task to follow up with the lead at a later date. When the process runs, it creates ...
0
votes
1answer
25 views

Where can I find the Survey email templates?

According to this from the docs, we can customize the survey invitation emails. But I can't find the template anywhere in Setup to customize them. Where can I find them?
1
vote
1answer
35 views

Migrating 10,000 + email Templates in Salesforce

Our Business has created 10,000+ new Email templates(Word Doc) that needs to be migrated in a certain folder.Is there a better way to migrating them all at once rather than doing them manually.
0
votes
1answer
24 views

How to access current page elements in lightning?

Is there a way to access the iframe where Email Body is filled in? I want our users to have their signature populated when they compose a new email or reply to a received email. I was able to do it ...
3
votes
1answer
32 views

Which user applies to the execution context when executing messaging.sendEmail?

I have a field that is used in an email template for which no FLS is granted in any profiles. The Apex code that sends the email using messaging.sendEmail() is invoked from a trigger so I assume it ...
2
votes
1answer
46 views

Lightning Merge Fields Preview

I have recently moved to Lightning Email Template from custom classic email template. The difference I have observed is: Classic Email template resolve the merge fields upon insertion into Email ...
0
votes
1answer
45 views

Email content displayed twice after sending

From time to time, some emails are displaying content like the header or the footer twice after sending it. In the preview, everything looks good. Is there any reason behind? We are using an HTML ...
1
vote
1answer
25 views

Email Alert to include the actual fields that changed that triggered the email alert

I have triggered an Email alert when Status is changed, LastModifiedBy date is changed and it works - every time there is a change in any of the fields on a ticket, emails are sent to Owner and ...
0
votes
0answers
17 views

insert merged fields and script to have Accept and Reject in custom HTML email template

I would like to ask for your assistance on how can I insert merged fields in html custom email template. I need to create html template for this message: Dear ${contact}, The engineer working your ...
0
votes
0answers
8 views

Create Contact List View based on Task attribute

I have a use case that needs a contact list so that the user can send List Email from contact using email tempalte. The contact to be in the list is the one assigned to the task with certain keyword ...
1
vote
1answer
167 views

Remove Salesforce Footer from Marketing Cloud Emails

Currently I am preparing an email template in Marketing Cloud. This Template is HTML based and includes a custom Header and Footer. Though, when I test the email there always is a Salesforce Footer ...
0
votes
2answers
98 views

Extract full email code from Marketing Cloud

I would need to replicate some emails built-in Marketing Cloud in other tools and I would like to know Which is the best way to extract the full HTML code of an email, considering there are some ...
1
vote
1answer
69 views

Send email on case creation by record type

We're using web-to-case to create cases. Different types of customers can create different types of cases, which we manage via Record Type on the Case object. On case creation we would like the ...
0
votes
1answer
32 views

Downloading Email Template as a PDF

I have an email template, querying the Email template and displaying it in VF page, with Fixed headers and footers in each page. I need to display fixed headers and footers in all the pages in PDF ...
1
vote
0answers
13 views

EmailAuthor in Community

Has anyone used EmailAuthor(Send email using email template) functionality in Lightning Community? Is it supported? I tried using emailauthor link in community, does not seem to work.
1
vote
0answers
22 views

Rendering components inside Lightning Email Templates

Is it possible to reference a lightning component or any other component inside a lightning email template? For example with classic email templates we can use components if visualforce email ...
0
votes
1answer
53 views

Salesforce email template access from Community

Previously when I had this EmailTemplate template=[select Id,subject,HtmlValue from EmailTemplate where DeveloperName='CS_New_Case_Notification_Assignment_Group']; query in a ...
1
vote
2answers
56 views

HTML in APEX not giving correct base URL with ahref

Account acc = [Select Id,Name,Owner.Name FROM Account WHERE Id =: accId]; String HtmlBody='Attention Data Analyst,<br><br>'; HtmlBody+='Please verify the Account: ' + '</b&...
1
vote
0answers
45 views

Trigger Lightning Email template

I have create a Lightning email template related to Account. In the apex code I am referencing this email template, so that the email that goes out is based on this template. The email I receive is ...
2
votes
1answer
29 views

First exception on row 3; first error: SINGLE_EMAIL_LIMIT_EXCEEDED, Email limit exceeded

Am getting following error message 06:15:51:437 FATAL_ERROR System.EmailException: SendEmail failed. First exception on row 3; first error: SINGLE_EMAIL_LIMIT_EXCEEDED, Email limit exceeded: []. ...
1
vote
0answers
25 views

is there a lightning experience version of the send email page?

We have some url link buttons on a few pages that go to the Send Email page in classic that loads an email template, allows for editing, and then sends. This is all OOTB functionality (other than the ...

1
2 3 4 5
21