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.

learn more… | top users | synonyms

1
vote
0answers
9 views

Display currency field on vf email template as it appears on standard page

I am creating a visualforce email template where i want to display the currency field as shown above. Is it possible?
1
vote
0answers
14 views

Salesforce Email and tokens

So I inherited the Administration of Salesforce from a previous colleague. We use Salesforce tokens to dynamically populate Contact/Lead names, phone numbers and email address and Contact/Owner names, ...
1
vote
1answer
18 views

Do emails sent by workflow rule count towards processing time?

Our app contains a workflow rule that sends an email to the user when a case or lead is assigned to them. The email template contains a component with a controller that uses soql to populate the email ...
1
vote
1answer
14 views

using Superscript on Preheader inside the AMPScript

I use AMPScript on PreHeader and Subject for emails on Exact Target. I want to add Superscript on one of them,but just display # as a usual symbol, it doesn't do Superscript on that. I am trying to ...
1
vote
2answers
22 views

Updating or Deleting a record from a link in Email

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 unsubscribe. ...
0
votes
1answer
13 views

Email Alert when a record's status not changed

Is it possible to build a solution that will send out an email when the status of a Case Record has not been changed for a certain amount of time ?..let us say 24 hours.
2
votes
1answer
24 views

Can I merge an email template in Apex, and also inspect it from code

Can I get the merged email template in Apex without sending it? I'd like to inspect the generated email first. I think I found the answer on http://salesforce.stackexchange.com/a/8745/2330
2
votes
1answer
17 views

Custom Component inside email template displaying error at top of page

I have an email template that contains a custom component with code: <messaging:emailTemplate subject="Your Recent Order" recipientType="Contact" relatedToType="Order"> ...
0
votes
0answers
35 views

Can you add a link in a Visualforce email template that runs a custom button?

I have created an Execute Javascript custom button located in the Approval Requests object. This button claims ownership of an Approval Request (for Queues) and then takes the user to the ...
0
votes
0answers
51 views

Cross Object Merge fields in HTML Email Template

I am trying to create an email template for my contact object, but I need to refer to some fields of related objects. My set up is as follows: Contact: Name, Email Patient__c: Type Disease__c: ...
0
votes
1answer
54 views

Custom Button- Create PDF

How can I create a custom button create pdf to add a Email template? I try to use this example: /_ui/core/email/author/EmailAuthor?p2={!Stock__c.Id}&rtype=00Q&retURL=%2F{!Stock__c.Id} But ...
1
vote
0answers
53 views

How to increase email subject line character limit from 100 character

I have read that Salesforce has increased character limit of subject line from 80 to 255. One can check here. I am having a custom object and from there I am trying to send a mail. This mail has a ...
0
votes
0answers
14 views

How can I insert a record link into an email template that will work for a Community User?

I want to use workflow to send an email to a Community user that includes a link to the record I am referring to. If I use {!object.Link} it directs them to the standard org login page, not the ...
3
votes
1answer
51 views

vf email template - detail Link

In HTML email template, we can use {!Lead.Link} option to access the url inside salesforce. But i found this {!Lead.Link} can't be used in vf email template. I tried using {!relatedTO.Link}. But this ...
1
vote
2answers
39 views

Wrong merge fields in Email Template

I have a Case related email notification using a template like below. In my Case object I also added a Formula custom field, called Type__c that renders an icon per each Type. When the email is sent ...
5
votes
1answer
40 views

Setting Font Face for Visualforce Email PDF attachments “messaging:attachment”

I'm having lots of trouble setting font faces for VF Email PDF attachments (see my code below). I've tried the conventional "font" tag with no luck, even CSS doesn't work! What am I doing wrong? ...
0
votes
1answer
40 views

Community New User Email

I am having difficulties getting the Communities Welcome email to send to new users added to the community. What happens is that we insert a lead via a web-to-lead form that is inserted with a guest ...
0
votes
2answers
59 views

Vf Email Template

I want to send an email based on user specified language. For this we created an VF Email Template with custom label: <messaging:emailTemplate subject="15 Days of Salesforce.com Inactivity - ...
0
votes
0answers
93 views

Unit test error: INVALID_FIELD_WHEN_USING_TEMPLATE

I'm sending emails to internal users from a batch job using SingleEmailMessage. When I run the batch job everything processes correctly and the emails are sent correctly. I'm using two different ...
0
votes
0answers
38 views

how to handle Special Characters in salesforce email form?

In a VF page i am giving the input field value as >300. To send the email content to the user i am using tibco before sending the email content to Tibco, i am handling the all the html special ...
2
votes
1answer
93 views

How to remove random characters appearing in the VF email?

When sending the VF email template we are getting random characters appearing in the subject of the e-mail. Also i am getting this random character in the body of the email for the empty email which ...
1
vote
1answer
191 views

how to pass values from Visualforce Email Template to custom component

I have created a simple visualforce email template: <messaging:emailTemplate subject="** Inventory Wishlist Match Found **" recipientType="User" relatedToType="Inventory_Wishlist__c"> ...
2
votes
1answer
41 views

Sending Email Template to Lead on Creation of Event

I am having a little trouble sending an email to a lead using a template when an Event of type visit is created and again the day before the event. I can't use a workflow because ActivityDate is not ...
0
votes
0answers
41 views

Visualforce Email Template Image Broken in Outlook

We have an Visualforce Email Template that uses image tag to insert images and those images are broken/not visible in Microsoft Outlook for Windows (It works fine in Mac Outlook). Below is the code ...
0
votes
1answer
58 views

Different VF email templates trigged by picklist value?

I am slowly loosing the will to live at the moment, and I don’t know whether I am over complication the situation or not. Currently I have an object called “Certificates” Which sits on the contact ...
1
vote
1answer
38 views

List out of Bounds Visualforce email Template

This is driving me a bit insane. When I do a query run with the query editor and give it an id, it returns the values I need but for some reason, I am not getting anything in my email template when I ...
0
votes
1answer
27 views

Using custom field value in replyTo attribute of messaging:emailTemplate

Requesting some guidance here. Say there's a custom field Test__c...can be either text, preferably email field... Is it at all possible to use that field's value in replyTo ? Basically trying to ...
4
votes
0answers
58 views

JS Synchronous Calls - Email with Attachment

I'm trying to set up a JS button on a SFDC object record that sends an email to a recipient with a specific attachment from the Notes and Attachment related object. Would I theoretically be able to ...
4
votes
1answer
160 views

How to add line break in richtextarea field

I have a requirement to implement a user email signature in visualforce email template,and i have tried this code {!$User.Email_Signature_Rich__c} it's appering without line breaks in signature.How to ...
1
vote
1answer
191 views

Issue in displaying related object fields in VF email template

We have a visualforce email template which has to be sent via work flow.We need to populate Case object information, related object of the Case called Big_W_Case_PO's fields and the Big_W_Case_PO's ...
1
vote
2answers
112 views

Receiving_User merge field problems in a single user email template

I'm trying to use Receiving_User fields in an email template for a single user. I know that Receiving_User is only supported for mass emails, but it "kinda" works for single users too. I'm getting ...
4
votes
1answer
46 views

Accessing DisplayName of OrgWideEmailAddress in Email Template

How can I insert the DisplayName of OrgWideEmailAddress in the email template like how we can access the fields of other objects? E.g. I can access the name of the user by using {!User.Name}. I tried ...
1
vote
1answer
72 views

How to round outputFields of type=Decimal in a VF email template?

I am working with visualforce template i am getting all decimal values in my mail but i want to round it in Max upto 2 decimals SubTotal $90.0000 Shipping & handling $2.000 Grand ...
1
vote
1answer
212 views

Adding link to a related record in HTML Email template

I'm trying to add a detail link to an HTML Email template, to link to a related record on the object being merged into the e-mail. I am aware of the process for adding a link/detail link for the ...
-1
votes
1answer
122 views

Visualforce Email template If condition

I have 3 fields 1) shipping_type__c 2) Total_Shipping__c 3) CheckOut__c when shipping_type__c = 0 at this condition i want to show CheckOut__c values in visualforce template when shipping_type__c = ...
1
vote
2answers
117 views

Visualforce Email Template for custom fields

I have a custom object called Feedback that has a name field. I have set up an email alert every time a feedback is created. But I'm unable to add a link back to the feedback created(in salesforce) in ...
2
votes
1answer
67 views

Where is 'emailauthor.jsp' is coming from?

I've created a custom button sending email some time ago following these instructions: https://success.salesforce.com/answers?id=90630000000gtNyAAI I just realized i do not understand where this ...
0
votes
0answers
65 views

Can I change the notification email sent when transferring a record to a new owner?

Is it possible to change the contents of the email that is sent to the new owner of a record when someone transfers ownership and checks the 'Send Notification Email' box? I would like to provide my ...
1
vote
0answers
38 views

Why is the space character not displaying in this VisualForce email template?

This: <messaging:emailTemplate subject="Assignment for {!relatedTo.K__Resource__r.Name} Ends in {!relatedTo.K__ForecastP3EndDate__c - TODAY() -1} Days" recipientType="User" ...
2
votes
1answer
48 views

Email - Edit Custom 'opencounter' Layout

How can I modify the layout in: <custom name="opencounter" type="tracking"> I'm trying to create a fluid email layout. When the screen size is adjusted for mobile viewing the exact target ...
1
vote
3answers
46 views

Email Templates selection based on Country of a record

I want to use email templates based on standard object (lead/contact) country. example, if Country 'USA' chose Template A, Country 'Canada' Choose Template B Automatically. Can this be achieved in a ...
1
vote
2answers
123 views

Create and select attachments and add them to an email template?

Here's the setup of my problem, and i'm not sure how to get started. initial screen -> my user is on a VF page and makes some HTML selections. Also, they select a number of notes and attachments. ...
4
votes
1answer
46 views

SingleMessage with TemplateId in Apex: need to add more recipients

I am writing code to send emails to contacts via Apex using templates. My issue is that I need to be able to copy these emails to various other users that are going to be determined at run time. This ...
1
vote
0answers
31 views

Remove username from Customer Portal Confirmation Email

I am attempting to modify the username of the confirmation e-mail for the Customer Portal that I have setup. I have created a custom login and am populating the @something.com portion of the username ...
2
votes
2answers
97 views

Add a logo to the approval alert template

Is it possible to add a logo (or otherwise customise) the standard Salesforce Approval Process e-mail template? I have "Enable Email Approval Response" turned on in this org, and so I'm receiving the ...
1
vote
1answer
65 views

Adding the case number and link to an email

If I am sending an email from within a case, how can I get the email to contain the case number and the link to the case automatically/by default?
0
votes
2answers
318 views

Visual force email template with related list records issues?

I am having lookup relationship between case and .Case_PO custom object. I am using site to create new case record with .Case_PO child record also. After creating a new case record with related list ...
3
votes
1answer
80 views

Formatting EndDate in VisualForce email template

So: {!relatedTo.K__EndDate__c} Gives me: "Wed Apr 02 00:00:00 GMT 2014" What would I use if I want: "Wed Apr 02 2014" i.e. suppressing the time part. Thx.
1
vote
2answers
63 views

how to send an email from an Opportunity, with a snapshot of the Opportunity

how to send an email from an Opportunity, with a snapshot of the Opportunity. I have 5 opportunity record types.
1
vote
1answer
53 views

How to send a VF template but override the To address?

So we have a trigger that automatically emails a Case Contact when a new Comment is added. However for some users, we require that email to go to an alternate email address, NOT the one in the ...