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

URLFOR not working in visualforce email template [duplicate]

I have a custom object 'Invoice' that has a lookup relationship with Contact. The invoice object stores pdf files in 'Notes & Attachments'. I want to send the URL of the files in a visualforce ...
0
votes
0answers
21 views

Visualforce email template attached blank file

I have the following visualforce email template. <messaging:emailTemplate subject="Unpaid Invoice" recipientType="Contact" relatedToType="Invoice__c"> <messaging:...
0
votes
1answer
107 views

Attach dynamic files to emails

I want to send auto emails to contacts with the related file. Each contact has its own file. I can't do this with the classic templates. Is there anyway to achieve this?
0
votes
2answers
54 views

Have Email Alerts stop working?

Is any one else experiencing issues with Email Alerts? All the Email Alerts have stop working in all our subscriber Orgs, the workflow runs (we validated by adding other actions) but the email is ...
0
votes
0answers
10 views

SF email to Case, Email body is receiving as attachment

In email to Case Salesforce, when a client replies to email, The whole body of email is empty and everything is coming as an attachment. Can you please help what could case this issue.?
0
votes
1answer
25 views

Email Alert not Sending

I have an email alert I want to send only when a Lead is created by user 'Request for Information Guest User'. The email should be sent to the create Lead's email listed in the 'Email' line - Is ...
0
votes
1answer
42 views

Report for Email Templates Used In The Past

We have around 3000 templates created since our Business Unit was set up and most of them were of one time use only and never deleted after the use. How/If we can pull a report in Marketing cloud to ...
0
votes
1answer
40 views

How to display recently created record link in visualforce Email Template without using an Apex Custom Controller?

I have objects with lookup relationship "A"(Parent) and "B"(Child). Email need to be sent to User whenever a New record "B" is added on "A" and Email body ...
0
votes
1answer
50 views

How to Dynamically Use Parameter in CloudPageUrl From DataExtention?

I have a email template from wher we have a custom link for a cloud page(Unsubscribe Page). We are using cloudpageUrl() function to open a cloud page and page value to it. It works fine when we just ...
1
vote
0answers
39 views

How can I use RegExMatch to minify CSS?

The use case is that I have created an email template in SFMC, and I am including the CSS via %%=ContentBlockByID('xxxxxx')=%% I would like to use RegEx to minify the CSS at the point which it is ...
0
votes
0answers
30 views

Campaign information not show in email

Want to send mail to all the campaign members. I used the following template with campaign information. salesforce can send mail perfectly, just without the campaign information. Dear member, check ...
0
votes
1answer
64 views

Workflow Target user Fields are coming through null. I can't find documentation on this anywhere

I can't find any specific documentation on this anywhere, but surely the following fields should pass through right? {!Target_User.Manager} {!Target_User.Name} {!Target_User.Id} I have the following ...
0
votes
0answers
34 views

Render text to Text Body field of Email Message Object Through Process Builder

I am trying to insert an email message from process builder and want to access an email template while doing the DML to populate the text body field. It seems like, email template id is accessible ...
0
votes
1answer
32 views

How to Display Case Number on automatic email response with Email-to-Case

I am trying to include Case Number of an email template for an email-to-case. Basically, when a client sent an email to a closed case, he received an automatic email reply. I would like the automatic ...
0
votes
1answer
18 views

Merge User fields in Visualforce Email Template

I am creating a visualforce email template on a custom object. I want to add the Name,Email, and Phone of the User (object) who is sending the email. I have tried both {!relatedTo.User.Name} and {!...
0
votes
1answer
15 views

Cannot choose related Lead in email alert salesforce

I have a custom object called 'Interview' which has a Lookup relationship with Lead. When an interview is arranged, I want the process builder to send an auto email to the lead. Unfortunately, there ...
0
votes
1answer
57 views

Interpret Ampscript variable saved in a data extension field value

I'm facing an issue trying to evaluate a concatampscript function and variable saved in a data extension attribute. I tried to evaluate them with treatAsContent function but it's still not evaluated. ...
1
vote
2answers
46 views

VF Email Image loads when sent via 'Send Email and Verify Merge Fields' but not by community

I am currently trying to create a Welcome Email for SF Community. The email includes an image stored in Static Resources (Cache-control = public). When I tested initially using "Send Email and ...
0
votes
1answer
13 views

Visualforce Email Templa messaging:emailTemplate

I have requirements that I have created a VF Email template and I need to add the today date and next year date dynamically, Today is working fine as mentioned in code but when I try to add year+1 It ...
0
votes
0answers
28 views

How to add EmailFolder to 2GP Managed Package (same problem with ReportFolder)

Can someone clarify how exactly to do this? I don't see "email folder" as an option to download from the org in Vs Code. I only see "email template" (see screenshot), then when I ...
1
vote
0answers
24 views

Why are my public URLS from Assets returning http instead of https?

I have images in my Assets library that I'd like to display in my Visualforce Email templates. To do this I have created some functions in my VF Controller like this: public String orgId { get { ...
0
votes
1answer
67 views

Can we Change Classic Email Template type in Salesforce?

I want to change HTML type classic email template to either Custom or Visualforce. I tried manually overriding the meta file but it yielded nothing. Is there any other workaound?
0
votes
0answers
9 views

Attach files to email [duplicate]

I have a custom object 'interview outcome' that is used to sent automatic email via process builder to update the candidate about the interview outcome. I want a field 'Attachment' so that the admin ...
2
votes
1answer
68 views

Code optimisation on EmailMessage

I have created a class and a trigger to be able to stop clients from sending email message on Closed Cases. The code works as intended. We tend to communicate with Clients using the quick action Email ...
0
votes
1answer
19 views

Email has different styling than VF email template preview

I am no sure if anyone has this issue or this is related to gmail. Visualforce email template preview styling is want I am looking for. However , the recieved email is plain and not table border in it....
0
votes
2answers
31 views

HTML email template renders formula field as null. Formula references encrypted field(s)

Given Cross-object formula field My_Identifier__c on Case: Asset__r.My_Identifier__c where Asset.My_Identifier__c is a text field, Shield-encrypted HTML email template that looks like: Here is the ...
0
votes
1answer
22 views

survey force swaps id for name

I need to send a survey link to a list of contacts, from a lightning component. It does send the link, with the right template. But with the wrong data. We use survey force. So i have: apex controller:...
0
votes
1answer
66 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
vote
2answers
482 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
131 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
15 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
117 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
35 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
42 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
226 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
22 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
43 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
68 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
75 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
90 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
34 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
324 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
20 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
156 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
44 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
54 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
262 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
48 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
187 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 ...

1
2
3 4 5
23