email.163.com A very practical and complete email sending program

WBOY
Release: 2016-07-29 08:34:28
Original
2687 people have browsed it

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>".nl2br($message)."

Return to the sending page



Fast email system!

  
  
  
  
  
  
  
  
  
  
  
  
主题:  

您的姓名:>
邮件地址:>
朋友的姓名:
邮件地址:
您想说的话:
      VALUE="发送" NAME="send" /div>



  
【本文版权归作者与奥索网共同拥有,如需转载,请注明作者及出处】    

以上就介绍了email.163.com 很实用的一个完整email发送程序,包括了email.163.com方面的内容,希望对PHP教程有兴趣的朋友有所帮助。

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template