Ask Search:
Devid SharmaDevid Sharma 
I am following this link but not working https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_email_templates_stylesheets.htm
Best Answer chosen by Devid Sharma
Deepali KulshresthaDeepali Kulshrestha
Hi Devid,

I've gone through your requirement and you can find the solution below:

I have had chances to make a couple of Visualforce Email Templates (like an Opportunity with Products [1] )
and the mail did have some styling but when dispatched to my Outlook.com Inbox [2], it did render well.

One important thing to note will be to ensure that you're using cross-browser compatible CSS Attributes and also
make sure that you use Inline CSS rather than external Style Sheets(even though that's a good practice but when it comes to
Email Templates we've to go with it!)

[1]: Opportunity with Products (https://gist.github.com/anonymous/0dfe2cff98db90d60b77)
[2]: mail in Outlook.com Inbox (http://prntscr.com/3hvivb)



I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.

Thanks and Regards,
Deepali Kulshrestha
www.kdeepali.com
 
Tom NiemanTom Nieman 
In an Email Alert in a Case approval process, one choice is to send the email to the Record Creator. Which record are we talking aobut?  Is it the Case Creator or the person who submitted the case for approval?
Best Answer chosen by Tom Nieman
Sunil SarillaSunil Sarilla
Hi Tom,
Its the User who created the record.
If your approval process is on Case Object, its the user who created the case record.
Alex JoyAlex Joy 
Hello everyone, 
I have a workflow rule that sends an email to a contact record when a case reaches a specific status.  Is there any way to confirm an email was sent or not? 
Best Answer chosen by Alex Joy
Iqbal AhmedIqbal Ahmed

Hi Alex,

Yes, We can log email in salesforce using Email Log Monitor.

Please ref: 
https://help.salesforce.com/articleView?id=emailadmin_monitor_emails_sent_from_salesforce.htm&type=5

Regards,
Iqbal Ahmed

Joe BieglerJoe Biegler 
Hi,

As a System Admin I am able to send list emails in Lightning, but my users cannot.  I have checked and re-checked the settings as suggested but can seem to find anything wrong - any suggestions?

Thanks,
Joe Biegler
Best Answer chosen by Joe Biegler
Joe BieglerJoe Biegler
Problem solved!  Under "My Email Settings" I switched from "Send Through Office 365" to "Salesforce", saved, and then switched back.  Now sending List Emails works for this user.
Anthony SkinnerAnthony Skinner 
I am moving from another CRM to SF and have ~300 email templates that I created there. They are in HTML format in a CSV. Is it possible to upload them using mapping?
Best Answer chosen by Anthony Skinner
Raja Kumar PallepatiRaja Kumar Pallepati
yes, it is possible. Please refer to the article. 
https://help.salesforce.com/articleView?id=000335625&type=1&mode=1 (https://help.salesforce.com/articleView?id=000335625&type=1&mode=1)
Alison WilliamsAlison Williams 
Hello,

I am trying to get a mass email sent out for one of our campaigns and even though I have made sure that the company email shows properly in all known email setting locations for setup (I searched email) I am unable to send mass emails from the campaign due to the error: "invalid email address: FromAddress"  I have attached a screenshot below of the error and all settings I can find.  I have full permissions as an administrator and still cannot seem to send from the send list email option.  I can create an email on the Activity tab, but really want to avoid having to add all 261 emails to this list and would prefer to just have to send it once.

Mass Email Attempt 1Mass Email Attempt 2Mass Email Attempt 3Email Settings 1Email Settings 2
Best Answer chosen by Alison Williams
Anel MalabananAnel Malabanan
Hi Allison,

Try to go to your Personal Settings:

1. Click your Avatar, then click on Settings.
2. Email > My Email Settings
3. Try to choose the Salesforce, rather than using Send Through ...

The cause of this error is because of the Salesforce Send Through, the Send Through email that is connected is different from the FROM address that you will use to send the email
Ginny RichhartGinny Richhart 
I have a workflow rule that sends an email to a contact record when a case reaches a specific status.  Is there any way to confirm an email was sent?
Best Answer chosen by Ginny Richhart
Raja Kumar PallepatiRaja Kumar Pallepati
yes, you can check the email logs to confirm the delivery of emails sent from salesforce. Refer to the link below.
Use Email Logs to Monitor Emails Sent from Salesforce (https://help.salesforce.com/articleView?id=emailadmin_monitor_emails_sent_from_salesforce.htm&type=5)
 
Chris DuncombeChris Duncombe 
So I know we can use logic functions (or at least certain functions) in email templates.  I am using an HTML email template for the opportunity object.  Let's say I want to have different text displayed int eh template based on the Type field.  I can do this fairly easily and the below works perfectly
 
{!IF(ISPICKVAL(Opportunity.Type, "New Customer"), "This is my text for new customer", "This is my text for an existing customer")}

I have tested this and it works fine.  This also tells me functions work in email templates as I am using IF() and ISPICKVAL() with no issues.

I am running into an issue if in my conditional I want to show another opporuntity field in the text.  If i use a text field, this works fine, so the below works fine
 
{!IF(ISPICKVAL(Opportunity.Type, "New Customer"), "This is my text for new customer and the opportunity text field 1 equals " + MyTextField1__c, "This is my text for an existing customer and the opportunity text field 2 equals " + MyTextField2__c)}

This works great and it displays MyTextField1__c or MyTextField2__c just fine.  

The issue comes when I want to present a picklist field.  I would assume that using the TEXT() function would work for this, but it does not.

Both of the following DO NOT work 

Just using the picklist field like I would a text field
{!IF(ISPICKVAL(Opportunity.Type, "New Customer"), "This is my text for new customer and the opportunity picklist field 1 equals " + MyPicklistField1__c, "This is my text for an existing customer and the opportunity picklist field 2 equals " + MyPicklistField2__c)}

Using the TEXT() function as I would in any other formula
 
{!IF(ISPICKVAL(Opportunity.Type, "New Customer"), "This is my text for new customer and the opportunity picklist field 1 equals " + TEXT(MyPicklistField1__c), "This is my text for an existing customer and the opportunity picklist field 2 equals " + TEXT(MyPicklistField2__c))}

So I know I could likely create a custom formula field on the opportunity to convert the picklist value to text, and use that in my template, but that seems like a huge waste of time and custom field.  Is there a way to display a picklist field value within a conditional in an email template?

Am I missing something?
Best Answer chosen by Chris Duncombe
Mike ArthurMike Arthur
Hey Chris,

Here's something I found here - http://salesforce.stackexchange.com/questions/71072/retrieve-picklist-and-its-dependent-field-value-email-template

"Here is the official word from SFDC support: "While formulas do sometimes work in templates we don't officially support them. We have no documentation on them we almost always recommend the customer uses a Visualforce template if they have this requirement. If they don't want to go that route they can always create a formula field on the object that does this, and just merge that into the email template. "

Custom field is likely quicker than VF template but could be a fun exercise :-)
Mindy NewtonMindy Newton 
With Summer 19 release over the weekend, now when users click on a contact's email address, outlook doesn't open. Works in Classic - not in Lightning.  Worked for us on Friday prior to the release.  Email to Salesforce is enabled.
Best Answer chosen by Mindy Newton
Pattie HeintzPattie Heintz
Hey Mindy, there is a new feature for personal email settings in Lightning.  In Lightning, click your Profile picture on the top right and select Settings.
Go to "My Email Settings" and there are two options now:
"When you click an email address to compose an email, which email editor do you want to use?"
You will want to change it to open with the Default Email Application instead of the Salesforce email composer.
User-added image


The issue is because salesforce released this setting and defaulted everyone to "Salesforce Email Composer".

As far as I know, they still have not provided an option for admins to change other users preferences en masse, however you and your users could change the setting over manually so they can at least get work done.
Bryan LandBryan Land 
Does anyone know how to handle this particular problem with Email-to-Case and Queue management?

My org has a variety of different email addresses used for Email-to-Case and customers or agents will sometimes forward an email chain with a case ref id to another queue email address. The intended outcome when this happens is to transfer the case into the new queue, but it stays in the old queue. Any ideas?
Best Answer chosen by Bryan Land
Tom HoffmanTom Hoffman
You can probably handle this using Process Builder on EmailMessage object. 

Does the original case remain owned by the Case Queue or is it transferred to an actual user.  If not, do you store the original queue name, email, anywhere on the case record? 

Lets assume you store 'Queue Email' in an email field on the Case Record. 

When a new EmailMessage is created, CaseID is null boolean false, Case.QueueEmail<>EmailMessage To Email, and To Email = one of your queue emails, then update the Case Owner/Queue to the be Queue related to the To Email.  

If this makes sense, let me know, can get more specific on the steps.