$msg.= "\nCREDIT INFORMATION\n";
$msg.= "Previous Telephone Number: ".$_SESSION['preAC']."-".$_SESSION['prePrefix']."-".$_SESSION['preNum']." ";
$msg.= "Disconnect Date: ".$_SESSION['dcMonth']."/".$_SESSION['dcDay']."/".$_SESSION['dcYear']."\n";
$msg.= "Name service was under: ".$_SESSION['nameUnder']." ";
$msg.= "\nAUTOMATIC BILL PAYMENT\n";
if ($_SESSION['bankDeductY'] != "")
$msg.= "Enroll in Automatic bank Deduct: ".$_SESSION['bankDeductY']."\n";
if ($_SESSION['bankDeductN'] != "")
$msg.= "Enroll in Automatic bank Deduct: ".$_SESSION['bankDeductN']."\n";
$msg.= "\nTERMS AND CONDITIONS AGREEMENT: ".$_SESSION['verify']."\n";
mail($to, $subject, $msg, $header);?>
if I want the items in red here to be bold, how would I do this??
*EDIT* I just noticed this while setting up an email script on my own (from php.net):
PHP Code:
/* To send HTML mail, you can set the Content-type header. */
$headers = "MIME-Version: 1.0\r\n";
$headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
to send the mail
/* and now mail it */
mail($to, $subject, $message, $headers);
Last edited by iamlucky13; 08-17-2004 at 11:57 AM.
Notepad: Reliability, Compatibility, and Simplicity. Quite possibly the perfect development environment.
Bookmarks