I created a TTF font and instead of "®
" char, I put my logo. Then I formed it as webfont. I tried sending html mail with PHPmailler like this:
<link type="text/css" href="http://www.example.com/font.css" rel="stylesheet" />
<p class="logo" style="font-size: 28px; text-align: center;">® SITE NAME</p>
Here is my font.css
content:
@font-face {
font-family: 'logo';
src: url('font/logo.eot');
src: url('font/logo.eot?#iefix') format('embedded-opentype'),
url('font/logo.woff') format('woff'),
url('font/logo.ttf') format('truetype'),
url('font/logo.svg#logo') format('svg');
font-weight: normal;
font-style: normal;
}
.logo{font-weight:400;font-family:'logo', Arial, Helvetica, sans-serif;text-shadow:#fff 1px 1px 0;margin:0 0 10px;padding:0}
But in Gmail, .logo
class did not work. How can I do this?