Considerations for Using Content from External Sources in Email Templates
If you copy and paste content from external sources, such as Microsoft Word or a web
page, to an email template, you can get strange formatting results. Review these suggestions to
avoid the problem.
Required Editions
Available in: Salesforce Lightning Experience and Salesforce Classic
Available in: All Editions
When getting info from external sources, you could be pasting hidden formatting or nonstandard
characters. The result is unusual formatting, content that looks like stray programming code, or
question marks instead of apostrophes or quotation marks.
Note The following suggestions apply to email templates in Salesforce Classic and Lightning
Experience, including templates created in Email Template Builder.
Type content directly into the HTML email template. In Lightning Experience, use the Email
Templates page. In Salesforce Classic, use Setup.
In Salesforce Classic, change your template encoding to UTF-8. In Lightning Experience, all
templates are in UTF-8.
If you’re copying from Microsoft Word, turn off the AutoFormat function or undo the automatic
formatting as it occurs.
Use a text-only editor such as Microsoft Notepad (for PCs) or TextEdit (for Macs) in plain
text mode to strip out unwanted characters. Copy the content from your source, paste it into the
text-only editor, copy it again, and paste it into your template.
Did this article solve your issue?
Let us know so we can improve!
Loading
Salesforce Help | Article
Cookie Consent Manager
General Information
Required Cookies
Functional Cookies
Advertising Cookies
General Information
We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required Cookies
Always Active
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional Cookies
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising Cookies
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.