Summary: Writing a mail system or mailing list program is a big branch of PHP application, while PHP provides a simple function for sending emails, in practice it involves sending mail with attachments, testing the validity of the email address that
Source: http://www.cnblogs.com/robinhood/articles/540464.html
Q What is mime? What is mime mail?
A mime is called "Multipurpose Internet Mail Extensions". The exact Chinese name is called "multi-purpose Internet Mail Extension ". It is a
1. Mime: Multipurpose Internet Mail ExtensionsThe English Empire University's online computer dictionary foldoc interprets mime as: "multi-part, multimedia e-mail, and WWW hypertext encoding standard, it is used to transmit non-text data such as
MIME we will examine the next method is that Build_message (), which occupies the bulk of the whole work, but it is through a
Gen_email () method to invoke the. Please note that build_message () is a private method.
function Build_message ()
5.3 Sending HTML Form Data5.3 Sending HTML form data (2)This article quoted: http://www.cnblogs.com/r01cn/archive/2012/12/20/2826230.htmlby Mike wasson| June 21, 2012Mike Wasson | date: 2012-6-21Part 2:file Upload and Multipart MIMEPart 2nd: File
5.3 Sending HTML Form Data5.3 Sending HTML form data (2)This article quoted: http://www.cnblogs.com/r01cn/archive/2012/12/20/2826230.htmlby Mike wasson| June 21, 2012Mike Wasson | date: 2012-6-21Part 2:file Upload and Multipart MIMEPart 2nd: File
mime| Essence SENDMAIL.PHP4
?
Load the class that sent the attachment
Require (' html_mime_mail.inc ');
if ($update!= "") {//If with attachment
Upload attachment
if (!file_exists ("c:/ftptmp/". $myfile _name)) {
if (Copy ($myfile, "c:/ftptmp/".
MIME Here is an example:
/*
* Class Mime_mail
* Original implementation by Sascha Schumann
* Modified by Tobias Ratschiller :
*-General Code Clean-up
*-Separate Body-and from-property
*-killed some mostly un-necessary stuff
*/
Class
Introduction: In HTTP requests, we use Content-type every day to specify different formats of request information, but few people have a thorough understanding of how many values are allowed in Content-type, and this will explain content-type
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.