Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now

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
2answers
179 views

Is it possible to build a chart in email?

I want to build a chart dynamically in the email by using the data in data extension, is it doable? how can i go about it?
0
votes
1answer
319 views

how to apply CSS features to Subject line of an Email Template for type HTML(LetterHead)

I have a req such as , Email Subject should be in Red color with Bold . I have to use only HTML(LetterHead) EmailTemplate .
0
votes
1answer
275 views

Lightning internal error when Insert Email Template

I try to insert email template in email in lightning experience but get internal error when modal window "Insert Email Template" opens. On classic everything works fine. It seems something related to ...
2
votes
1answer
390 views

external css in email template

Im building a email template in marketing cloud and i would like to use the external css inside the email template. I have created a css file and dragged and dropped in content builder folder but it ...
0
votes
1answer
30 views

how to attach vf email template in trigger

I need to attach visualforce email template in a trigger while firing mail,how to achieve this? trigger contentdoclinkattchment on Invention_Disclosure_New__c (after update) { if(trigger.isAfter){ ...
0
votes
2answers
75 views

vf email template can be editable once it managed?

In visual force email template,the user/admin will edit the content whenever necessary,so once it managed can we able to edit the vf email template??
1
vote
2answers
723 views

Conditional rendering using IF in Visualforce Template

I have a VF template where I need to vary the closing part of the mail(after 'Best Regards') based on a particular Picklist field on the case object. Eg if Custom_field__c ='ML' then the closing part ...
0
votes
2answers
46 views

How to get the email templates usage in vf page

I have a page in which I display the no of times the email templates was used in the particular days. But it is displaying the total no of times used instead of the particular usage. Here is my SOQL. ...
1
vote
0answers
259 views

SFMC REST Api, create template based email

Im trying to create an email via REST API, based on an existing template. The only real documentation I can find is https://developer.salesforce.com/docs/atlas.en-us.noversion.mc-apis.meta/mc-apis/...
0
votes
0answers
136 views

Attach Visualforce page as a PDF in Salesforce standard Email Functionality

I have a requirement to attach the visualforce page as a PDF in salesforce standard Email. I have tried to create "Visualforce Email Template" and attach it as a template here.But I could not able ...
0
votes
1answer
166 views

Unknown property 'VisualforceArrayList. error in apexOutput panel

I am wondering if there is a way to include two or more fields in an outputPanel tag, as shown below. My output is accounting for two fields, one within the object and the other in a related object (...
0
votes
1answer
436 views

Case Assigned Template not getting used when a case is assigned

I'm having a problem with Case Assignment Template. I'm only getting the standard system generated email notification when a case is assigned to me, despite me having an email template specified in ...
1
vote
1answer
1k views

Passing parameters to a Visualforce email template within Apex class

I am working on setting up a scheduled apex class to send out emails to me every day. I have a visualforce template that takes a user and an opportunity as parameters that I would like to use. The ...
1
vote
1answer
293 views

how to make visual force email template render as word document?

i need this page as word document,content type="application/word" is not supporting here.this is my code <messaging:emailTemplate subject="Test Email" relatedToType="Invention_Disclosure_New__c"&...
1
vote
1answer
2k views

Creating email action using template

I want to create a quick action to send an email. When attempting to assign an existing template to the predefined Email Template field I am left with a formula editor - how do I call up the email ...
1
vote
2answers
151 views

How to update a record in salesforce using a link which sent in an email template?

use case I need to send an email to all my contact stating that We have following information of urs in our production instance. User will decide whether they want to keep that information with us or ...
1
vote
0answers
32 views

Add A Visual Image Into a VF E-Mail template from the “Notes & Attachments” related list of a managed package object

This is the code I have written thus far: <messaging:emailTemplate subject="Your Offering Listing" recipientType="Contact" relatedToType="vlocity_ps__InventoryItem__c"> <messaging:...
0
votes
1answer
178 views

Error: Invalid child of messaging:emailTemplate. Only messaging components are allowed as children of messaging:emailTemplate

I'm trying to understand the VisualForce code below to see what was written & is causing the error above: <messaging:emailTemplate subject="Your Offering Listing" recipientType="Contact" ...
3
votes
0answers
167 views

Make Chatter Profile Photo available externally?

I'm working on making some email templates, made of various visualforce components. One of these includes some information about a user they'll be interacting with. Additionally, this component ...
0
votes
1answer
517 views

SF1 Lightning URL redirection/landing issues from Email

I am trying out to figure out if I missing some configuration or if there is a workaround for this requirement to make it work as expected. I have an email triggered from my apex controller which ...
0
votes
1answer
180 views

When i am sending Email from Batch Class, why i am not getting email tracking in HTML Email Status? [closed]

When I am sending emails from Trigger, I am getting email tracking on "HTML Status" related list but on the other hand When i am sending Email from Batch Class, why i am not getting email tracking in ...
0
votes
1answer
515 views

Email Alerts and Merge Fields not working.

i just need an email alert to be sent to contacts, and activity to be tracked, i need to know if they were opened or not. Process builder cannot provide that for me. The Problem is that none of the ...
0
votes
1answer
65 views

Emails firing twice with scheduler class

I am trying to send a HTML Email Template with an attached PDF, using this scheduler class. I receive two emails one with Attachment and the other is just the text without Attachment(not a text ...
4
votes
0answers
881 views

Automated Process User Permissions

We are having some difficulty with permissions. Our admin has also posted on the success board. https://success.salesforce.com/answers?id=9063A000000eB7V, she also found this same posting: https://...
0
votes
1answer
439 views

Is it possible to get the email subject string before sending it?

I know for a fact that it is possible to render the email context without sending it, using the Messaging class' method renderEmailTemplate. This is great for getting the message content rendered, but ...
3
votes
1answer
376 views

Visualforce Email Templates Dynamic Subject Child Object

I have looked through a number of different threads and haven't found any clear answers to populating a child object's value in the subject of a Visualforce Email Template. I want to populate the ...
0
votes
1answer
32 views

How to send an Email Template via Apex mentioning subject in the Apex Code

I am trying to send an email using email template via. I have done it successfully but I want to mention the subject in Apex code. When I mention the subject in Apex code, it successfully sends the ...
1
vote
1answer
236 views

Can I insert an external CSS link in Email Studio?

Can I insert an external CSS link in Email Studio instead of creating a <style> [css here] </style> inside the tag? like inserting this code inside the header tag: < link href="https:/...
0
votes
1answer
167 views

Image not rendering in Visualforce Email Template

I am using a visualforce component in which I have an image tag that is rendering in the org, but when I am sending it via Email the image is getting rendered. Visualforce Component <apex:...
0
votes
1answer
208 views

Serial Number in first column of HTML table in apex:repeat

I have created a VF email template with a HTML table. In table i have used apex:repeat to trace all child records. But i am not able to get serial number in first column of table. Using solution ...
0
votes
1answer
145 views

help in Email templates-How to get record Owner.manager.name

I want to send an email template to record owner's manager. So i have to include manager name of record owner's in email like Hi xyz, How can i do that. Please help me out.
0
votes
1answer
272 views

How can I set the button full width on mobile in SFMC Email Studio

Is there a way to set the button on Full Width in Mobile view?
0
votes
1answer
213 views

Schedule Apex Email

I am trying to send email to nag our agents to finsh opportunity data entry. I am running into an issue I haven't been about to work out. I am getting zero errors and sending zero emails. Please any ...
0
votes
1answer
827 views

Marketing Cloud - Remove View Email as Web Page from Email

I'm creating emails in MC using Content Builder, and am noticing that the "View Email as Web Page" link is getting automatically added to the emails I want to send out. Is there a way to prevent this ...
1
vote
0answers
422 views

Email Template not working

I'm trying to send an Email with an attachment and a template. EmailTemplate emailTemplate = [Select Id from EmailTemplate where Name = 'Test Mail']; List<Messaging.SingleEmailMessage> allmsg =...
1
vote
1answer
1k views

“recipientType” & “relatedToType” in VF Email template

I wanted to create an email template that can be used as custom javascript button on custom object. So i have 2 custom object : Obj1__c & Obj2__c. Neither of these objects are directly related ...
1
vote
0answers
31 views

When I update the Lightning Templates through the Eclipse IDE, they become un-editable through the Lightning Interface?

I have a scenario where I have a Custom Email Template A, with some custom styling, configured from the Admin Setup(Setup->Email Templates->New Custom Email Template). I also have another Lightning ...
0
votes
1answer
40 views

In LMA is there a field or something that marks push upgrades or user upgrades?

Is there a way I can query the LMA objects to find if a package version was upgraded via AppExchange or if it was a push upgrade? Which object/field? The idea is to have a trigger so if it was a push ...
2
votes
0answers
110 views

which is best approach for custom email alerts, Declarative vs Programmatic?

Object_A and Object_B are two related(Lookup) objects in Salesforce, where A is parent and B is child. Requirement is, when a new Object_B record is created, an email alert should be sent to Object_B ...
0
votes
1answer
16 views

Visualforce page “clobbered” by Visualforce email template

So I've run into a bit of a crazy issue that may or may not qualify as a bug. But it's really weird. I haven't had the time to put together a minimal example but I will describe it here, anonymized. ...
0
votes
1answer
325 views

Is there a way to make custom HTML letterheads?

We have a load of branded email template HTML that we would like to use for email correspondence in Salesforce. They need to allow for custom text to be added to the body based on customer query. We ...
0
votes
1answer
595 views

Track which email templates are used on which cases

Our customer service agents are sending emails to customers from cases through the standard "Send an Email" page where they select a template. Often they edit the text before sending. We'd like to ...
0
votes
1answer
123 views

How to send Mass email using Visualforce Template to Contacts

I need to send Mass email to contacts with related Lead data. I have a Visualforce email template that has the related Lead information. Is there any way to write a batch class to send out an email to ...
0
votes
1answer
192 views

Add list of contacts to email template from apex [duplicate]

I have a list of contacts that was generated generically in code. At the end of the class I need to send email to a user. Email should include the list of contacts. (I'm using email tamplate). How ...
1
vote
0answers
225 views

How to get rid of the dollar($) sign in currency field in email template

I am thinking of a way to get rid of the $ sign of a currency field in email template. One way to do this is to create a new formula field of number to copy the value which seems a bit clumsy to me. ...
4
votes
1answer
130 views

Passing user entered values from Visualforce template to Apex Controller

A little background. We created a new object for our product called 'Systems'. This 'Systems" object has a multi picklist field for 'Add-Ons' depending on what the customer has loaded on their ...
0
votes
1answer
293 views

Trouble importing email template with package.xml

For my Eclipse Force.com project, I'm trying to import an Email Template. know that EmailTemplate doesn't accept wildcards in its package.xml formatting, but even when I name the individual template ...
4
votes
2answers
530 views

Blank emails sent when Visualforce email template called from workflow

enter code hereI have created visualforce email template for Task Object. Email pops up to the respective user Id when sent through 'Send test and verify merge fields' with content specified in ...
0
votes
1answer
456 views

Get email template merged text without sending [closed]

I need to mass send emails via 3rd party based on standard template in my batch. That is what I'm doing: Savepoint sp = Database.setSavepoint(); Send standard email and merged body Database.rollback(...
1
vote
0answers
21 views

Have to send exact Task DetailPage as email to Customers

How can I send the Detail Page of Task to Customer in the form of Email. I tried it by creating email templates, Workflows, Process builder but it's not similar to Detail Page. Using Apex trigger ...