PHPBuilder - Best Email Program uses mailto function

RSS Twitter

Best Email Program uses mailto function

by: James Smith
November 9, 2001

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">
   <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]">
<!-- saved from url=(0066) -->
<br>&lt;title>My Send Mail&lt;/title>
<br>&nbsp;$username = "James Smith";
<br>&nbsp;$compname = "La La Saloon";
<br>&nbsp;$compphone = "091-080-2275926";
<br>&nbsp;$compid = 11;
<br>&nbsp;$jobtitle = "Hair Stylist";
<br>&nbsp;$email = "";
<br>&nbsp;$Fromname = "La La Salon";
<br>&nbsp;$Fromaddress = "info";
<p>&nbsp;$mailsubject = "You are Selected ! by $compname";
<br>&nbsp;$imgurl = "";
<br>&nbsp;$template = "";
<br>&nbsp;$image = "&lt;a href='$template'>&lt;img src='$imgurl' border=0>&lt;/a>";
<br>&nbsp;$logo = "&lt;img src=''>";
<br>&nbsp;$updcv = "";
<p>&nbsp;$msg = "&lt;font face='OCR A Extended' size='2'>Hi $username \n&lt;br>";
<br>&nbsp;$msg = $msg.''."\t We have Received Your CV , and have processed
\n&lt;br> ";
<br>&nbsp;$msg = $msg.''."the same for the post of $jobtitle in $compname
<br>&nbsp;$msg = $msg.''."&lt;br>";
<br>&nbsp;$msg = $msg.''."\t We are pleased to call you for an Interview
kindly \n&lt;br>";
<br>&nbsp;$msg = $msg.''."fix an appointment by calling us on $compphone
<br>&nbsp;$msg = $msg.''."&lt;br>";
<br>&nbsp;$msg = $msg.''."To Know more about $compname Click &lt;a href='$template'>Here&lt;/a>&lt;BR>";
<br>&nbsp;$msg = $msg.''."&lt;br>";
<br>&nbsp;$msg = $msg.''."Best Regards&lt;br>";
<br>&nbsp;$msg = $msg.''."&lt;b>Management&lt;/b>&lt;/font>";
<br>&nbsp;$msg = "&lt;table border=0>&lt;tr>&lt;td>$logo&lt;/td>&lt;/tr>&lt;/table>&lt;table
<br>&nbsp;$msg = $msg.''."&lt;br>&lt;font face='OCR A Extended' size='2'>To
Update Your Resume Click&nbsp; &lt;a href='$updcv'>Here&lt;/a>&lt;/font>";
<p>&nbsp;print ("&lt;PRE>");
<br>&nbsp;if (mail($username." &lt;".$email.">", $mailsubject, $msg, "From:
".$Fromname." &lt;".$Fromaddress.">\nContent-Type: text/html; charset=iso-8859-1"))
<br>&nbsp; print ("Mail Sent To $username&lt;br>&lt;br>");
<br>&nbsp; print ($msg);
<br>&nbsp; print ("Mail Dead");
<br>&nbsp;print ("&lt;/PRE>");

Comment and Contribute

Your comment has been submitted and is pending approval.

James Smith



(Maximum characters: 1200). You have characters left.