Re: Re: MHTML in email
| From: | Manuel Lemos | Date: | Fri, 25 Jun 2004 01:01:20 +0000 |
| Subject: | Re: Re: MHTML in email | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-189018@lists.php.net to get a copy of this message | ||
Hello,
On 06/24/2004 01:59 PM, Juan Pablo Herrera wrote:
Thank you, really i need incluided in email body a image (jpg or gif), too see html. The MHTML file is a idea, but i think that not function with dinamic content.How can i do this?Yes, this class can do exactly that using multipart/relative parts. The HTML message example that comes with the class demonstrates clearly how to compose multipart/related in multipart/alternative messages. It shows how to send an HTML message using images in the body HTML and also as a background.
-- Regards, Manuel Lemos PHP Classes - Free ready to use OOP components written in PHP http://www.phpclasses.org/ PHP Reviews - Reviews of PHP books and other products http://www.phpclasses.org/reviews/ Metastorage - Data object relational mapping layer generator http://www.meta-language.net/metastorage.htmlI need to attach a file extension .mhtml in function mail, but i too need view the content from the body of e-mail.That is everything!MHTML messages are just HTML messages with alternative plain text version in the same body. You may want to take a look at this class that lets you compose MHTML messages easily: http://www.phpclasses.org/mimemessage