Php Mail

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Hi guys, I have been seding mail using php with html format. It works 
fine in my office IIS server, but when i upload it to the web server, 
it doesnt seem to be sending a HTML format mail, but rather the html 
code itself.

$headers  = "MIME-Version: 1.0\r";
$headers .= "Content-type: text/html; charset=iso-8859-1\r";
$txt_Msg = "<LINK href='http://www.hotmail.com/include/styles.css' 
type=text/css rel=stylesheet>";
$txt_Msg = $txt_Msg . "<body topmargin=3 bottommargin=3 leftmargin=0 
rightmargin=0>";
$txt_Msg = $txt_Msg . "<table width='600' border='0' align='center' 
cellpadding='0' cellspacing='0'>";

so when i display the $txt_Msg, it works well, as in the table is 
shown nicely, when in the mail, the code is being displayed instead of 
the GUI.
Please help





PHP Data object relational mapping generator - http://www.meta-language.net/ 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/php-objects/

<*> To unsubscribe from this group, send an email to:
    php-objects-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 




[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Soap]     [Kernel Newbies]     [Yosemite]     [Yosemite Campsites]

  Powered by Linux