Simple send file through email/contact page #send files email
Edit
by Jean-Christophe - 10 years ago (2015-02-11)
Simple and complete methods to send files embedded
| Just a simple way or class for only sending files or zip and send files. And I have the idea to embed thumb images too of the sender files...
Currently I use Manuel classes. |
Ask clarification
1 Recommendation
Class that may be used to compose and send e-mail messages.
It features:
- User definable headers and body parts.
- MIME encoding of text and HTML body parts with user defined character encoding using quoted-printable.
- Addition of file parts (attachments) with automatic content type detection.
- Forwarding of messages received from somebody else as intact attachments
- Support for multipart/related messages (eg. HTML messages with embedded images, stylesheets, frames, etc..)
- Support for multipart/alternative messages (eg. text and HTML versions in the same message).
- Encoding of message headers with user defined character encoding using q-encoding.
- Definition of the error delivery address setting the Return-Path header calling sendmail program directly.
- Several sub-classes for sending messages by different methods: PHP mail() function, sendmail, qmail, SMTP (with support for authentication and direct delivery mode), maildrop in Microsoft IIS or Exchange Pickup folder.
- Wrappers that emulate the mail() function using the SMTP, sendmail and qmail delivery sub-classes.
- Support for sending personalized bulk mail by replacing the contents of the message parts that differ for each recipient.
- HTML and plain text message parts can be composed using template engines. An example that works with Smarty template engine is provided.
- Retrieving the composed message data or size without sending the message
| by Manuel Lemos package author 26695 - 9 years ago (2015-08-15) Comment
This class that you may be already using can send messages with attached files.
It can also send HTML messages that show images embedded in the message itself.
Take a look at the HTML mail example script. |