Discover image jpeg mime attachment jpg, include the articles, news, trends, analysis and practical advice about image jpeg mime attachment jpg on alibabacloud.com
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
Original post address: http://ons.javaeye.com/blog/368841
Entry description[Edit this section
]
Multi-purpose InternetMessage extension (MIME, Multipurpose Internet Mail Extensions) is an internet standard that extends emailStandard to support non-
Introduction
A MIME type is a type of file that sets an extension that is opened by an application, and the browser automatically opens with the specified application when the extension file is accessed. Many are used to specify some
[1] common MIME types (general type): hypertext markup language text. HTML text/htmlxml document. XML text/xmlxhtml document. XHTML application/XHTML + XML plain text. TXT text/plainrtf text. RTF application/rtfpdf document. PDF
Mime "OK, how do I create MIME-compliant information?" "With the general description above, let's take a look at what the so-called MIME information is!"
The simplest MIME information
This information does not have any paragraph, namely, has no
Lightweight PHP mail to send, need to have SMTP server, code after many combat use, now share the code to everyone
Copy Code code as follows:
/*
Mail Send SMTP Service
Connect SMTP server, send mail, All rights reserved, cannot copy
@
The media Type is usually notified to the browser through the HTTP protocol. More accurately, it is expressed by Content-Type, for example:Content-Type: text/HTMLIndicates that the content is of the text/HTML type, that is, hypertext File. Why is it
PHP image upload class; support for watermark-date folder-generating thumbnails; support for multifile Upload
You can use {Y} {m} {n} to change the current date.
Set_dir (dirname (_ FILE __). '/upload/', '{y}/{m}'); // save path.
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.