Jump to content



  • Please log in to reply
No replies to this topic

#1 afridy

  • New Members
  • Pip
  • Newbie
  • 1 posts

Posted 24 June 2006 - 09:26 AM

Hai !

When i attempt to change the default font in the mail body
it prints everythig as it is ..
$body=$body . "<font face=Tahoma size=14>Free softwares</font>\n";

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.
$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";

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
Put Funny stufs on your desktop : Pepsi Volume Controller :: Tux Walk :: Recycle Bin Laden :: Explorer Magic <A href="http://www.zamaansoft.com">Get it !!</A>

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users