I can't find any way to control docType of any type of email in Salesforce. First I tried Custom and then I tried Visualforce. Any ideas? Thanks!
-
1quick question -- why would you even need that?– kurunveApr 9, 2016 at 21:26
-
1@kurunve it's a fairly common best practice for html emails: campaignmonitor.com/blog/email-marketing/2010/11/…, github.com/mailgun/transactional-email-templates/blob/master/…, github.com/zurb/foundation-emails-template/blob/master/src/…– mjgallagApr 13, 2016 at 16:51
Add a comment
|
1 Answer
Here is the hack I found to do that
<apex:outputText escape="false" value="<!DOCTYPE html>" />
with escape=false
the value will be rendered as is