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!


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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.