A very practical and complete email sending program. It is very simple. Just copy the following code to a blank text page, such as index.php, and run it. Specific example: http://zsvalley.uhome.net/email/index.php.
The following is the complete source code: (If you have any questions, please email: zsvalley@cmmail.com)
if ($ok=='yes'){
// SetCookie("yname", $yname);
// SetCookie("yemail", $yemail);
if (!eregi("^[_.0-9a-z-]+@([0-9a-z][0-9a-z-]+ ) "^[_.0-9a-z-]+@([0-9a-z][0-9a-z-]+.)+[a-z]{2,3}$",$femail)){正 Echo "Please fill in your friend's email address correctly! & Lt; a & gt; return & lt;/a & gt;"
} else {
$ message = $ fname. ", Hello: nn your friend". $ Yame. "I am writing a special letter to say to you: n----------------------------------n".$comments ."n----------------------------------nnn provides services: http://zsvalley.uhome. net/email/nn◆◆◆ valley network without boundaries http://valley.coc.cc ◆◆◆n──────────────────────── n ";
// email Send
Mail ($ Femail, $ Title, $ Message," From: $ Yemail "); ;html>