Version: 7
Type: Full Script
Category: Other
License: GNU General Public License
Description: Help you send mail in HTML format , Here you can change the variables as required to suit your needs , please make it sure that the code is on live server (Server Connected to Internet) which can be accessed by http protocal
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Author" content="james">
<meta name="GENERATOR" content="Mozilla/4.75 [en] (Win98; U) [Netscape]">
<title>sm</title>
<!-- saved from url=(0066)http://www.phpbuilder.com/snippet/download.php?type=snippet&id=535 -->
</head>
<body>
<html>
<br><title>My Send Mail</title>
<br><body>
<br><?
<br> $username = "James Smith";
<br> $compname = "La La Saloon";
<br> $compphone = "091-080-2275926";
<br> $compid = 11;
<br> $jobtitle = "Hair Stylist";
<br> $email = "james_smith73@yahoo.com";
<br> $Fromname = "La La Salon";
<br> $Fromaddress = "info";
<p> $mailsubject = "You are Selected ! by $compname";
<br> $imgurl = "http://www.geocities.com/james_smith73/lala_pic.jpg";
<br> $template = "http://house1.gomark.com/search/dummy.php";
<br> $image = "<a href='$template'><img src='$imgurl' border=0></a>";
<br> $logo = "<img src='http://www.geocities.com/james_smith73/band3.jpg'>";
<br> $updcv = "http://house1.gomark.com/search/dummy.php";
<p> $msg = "<font face='OCR A Extended' size='2'>Hi $username \n<br>";
<br> $msg = $msg.''."\t We have Received Your CV , and have processed
\n<br> ";
<br> $msg = $msg.''."the same for the post of $jobtitle in $compname
\n<br>";
<br> $msg = $msg.''."<br>";
<br> $msg = $msg.''."\t We are pleased to call you for an Interview
kindly \n<br>";
<br> $msg = $msg.''."fix an appointment by calling us on $compphone
<br>";
<br> $msg = $msg.''."<br>";
<br> $msg = $msg.''."To Know more about $compname Click <a href='$template'>Here</a><BR>";
<br> $msg = $msg.''."<br>";
<br> $msg = $msg.''."Best Regards<br>";
<br> $msg = $msg.''."<b>Management</b></font>";
<br> $msg = "<table border=0><tr><td>$logo</td></tr></table><table
border=0><tr><td>$msg</td><td>$image</td></tr></table>";
<br> $msg = $msg.''."<br><font face='OCR A Extended' size='2'>To
Update Your Resume Click <a href='$updcv'>Here</a></font>";
<p> print ("<PRE>");
<br> if (mail($username." <".$email.">", $mailsubject, $msg, "From:
".$Fromname." <".$Fromaddress.">\nContent-Type: text/html; charset=iso-8859-1"))
<br> {
<br> print ("Mail Sent To $username<br><br>");
<br> print ($msg);
<br> }
<br> else
<br> {
<br> print ("Mail Dead");
<br> }
<br> print ("</PRE>");
<br>?>
<p></body>
<br></html>
<br>
</body>
</html>