When I look at the template in the preview it appears fine. When I send a test the email is received with Times New Roman and not the font I saw in the preview.Any ideas?<messaging:emailTemplate subject="{!if(RelatedTo.Site__r.State_Province__c='QC','Re: '& relatedTo.Site__r.Name_FR__c & ' ID:'& relatedTo.Name,'Your ' & relatedTo.Site__r.Name & ' Inquiry ID:' & relatedTo.Name)}" recipientType="Lead" relatedToType="Lead_To_Site_Association__c">
<messaging:htmlEmailBody >
<html>
<head><link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Raleway:300,400,600,700&lang=en" /></head>
<body style="background-color:⌗ffffff;">
<style>
body{
font-family: 'Raleway';}
</style>
답변 3개

Hi Brian,Most email clients are very limited in which fonts can be rendered in HTML based emails. If you are viewing the email in Outlook then it will default the font to Times New Roman. When you are setting up the template the reason you are able to see the font they way you want is because it is being rendered in your browser as a webpage.