$to =$email.',issacbalaji@yahoo.com';
$subject = "Registration ";
$mailfrom = "sales@.in";
$headers = "From:" . $mailfrom;
$message=$body;
$subject = 'Registration Confirmation - Online Store';
$message = '
<html>
<head>
<title>Registration Confirm</title>
<style>
html{background:#e6e6e6 url("http://i..in/images/home_headertext.png") 50% 0 repeat;}
body{background:url("http://i..in/images/home_headertext.png") 50% 0 repeat-x; padding:0;}
</style>
</head>
<body bgcolor="#e6e6e6">
<p></p>
<table bgcolor="#e6e6e6">
<tr>
<td>
<table width=700>
<tr>
<td align=left><img src="http://i..in/images/logo_mamidi.png" /> </td>
<td align=right><img src="http://i..in/images/logo_url.png" /><br/><font color="#213993"> Support Related<br> 080-49048150</font></td></tr>
</table>
</td>
</tr>
<tr>
<td>
<p>Dear '.$fName.',</p>
<p>
<fieldset>
<legend><font color="#000000" size=5><b>Registratio Details details<b/></font></legend>
<p>
Thank you for registration, our support team will contact shortly !
</p>
<p>
Feel free to contact us for any assistance on our Zip Dial 080-49048150 or you can mail us at support @.in
</p>
</fieldset>
</p>
</td></tr>
<tr><td><font color="#213993">
Thanks & Regards,<br>
Online Store</font>
</td></tr>
</table>
</body>
</html>
';
// To send HTML mail, the Content-type header must be set
$headers = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
// Additional headers
$headers .= 'From: Registration Confirmation <sales@.in>' . "\r\n";
// $headers .= "Reply-To: support@.in \r\n";
// $headers .= "BCC: balaji@.in\r\n";
mail($to, $subject, $message, $headers);
No comments:
Post a Comment