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-
// Specify a stream that cannot be read by the client and must be downloaded.Response. contenttype = "application/X-msdownload ";
Mime
The MIME type is the type used by an application to open a file with a certain extension. When a file with the
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
I often hear such a question: "I have a contract from the website." How do I add an attachment to an e-mail message sent through a form? "The first thing I want to say is that there is no easy way to do this. You have to be very good at
PearMail sends an email with an attachment. It is easy to add one or more attachments by adding an attachment. you can call the addAttachment method multiple times to add multiple attachemets. Boolean add attachment
Add an attachment
It is easy to
The abbreviation for MIME type is (Multipurpose Internet Mail Extensions) represents the Internet media type (Internet multimedia type), MIME uses a simple string composition, It was originally designed to identify the type of email attachment,
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
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
@
Content-disposition is an extension of the mime protocol. Some browsers may not support content-Disposition because security considerations are not standardized, such as ie4.01.You can set the HTTP header to implement some functions.
1. Set the
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.