Jump to content

Font


afridy

Recommended Posts

Hai !

When i attempt to change the default font in the mail body
it prints everythig as it is ..
[code]$body=$body . "<font face=Tahoma size=14>Free softwares</font>\n";[/code]
the output prints every thing as follows >
<font face=Tahoma size=14>wel come to my website</font>

I discovred that that problem may be in the Headers.

the header in my mail is as follows.
[code]$headers = "MIME-Version: 1.0\n";
$headers = $headers . "Content-type: text/html";
$headers=  $headers . "charset=iso-8859-1\n";
$headers=  $headers . "Content-Transfer-Encoding: 7bit\n";
$headers = $headers . "X-Priority: 3\n";
$headers = $headers . "X-MSMail-Priority: Normal\n";
$headers = $headers . "X-Mailer: php\n";
$headers = $headers . "From: support@abcd.com\n";
$headers = $headers . "Return-Path: support@abcd.com\n";[/code]

If i place an "\n" at the end of 2nd line the font is really working as specified in <font> tag. but the mail body and header corrupts. out put in the mail is like >>

charset=iso-8859-1 Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: php From: support@abcd.com Return-Path: support@abcd.com Hello you@gmail.com this is an automated reply to your registration at ...................

Please examin the header and give me a solution
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.