Re: 2 improvements for Mail_mimePart
| From: | Richard Heyes | Date: | Tue, 11 Feb 2003 18:46:22 +0000 |
| Subject: | Re: 2 improvements for Mail_mimePart | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-13129@lists.php.net to get a copy of this message | ||
Hi Vlad,
I'd suggest you take a look at the code I've committed in the "2.0" subdir
of the Mail_Mime package (http://cvs.php.net/cvs.php/pear/Mail_Mime/2.0):
> 1. (the necessary one) is described here:
>
> http://marc.theaimsgroup.com/?l=pear-dev&m=103971219208432&w=2
> . If
> needed, I can show a piece of code that demonstrates its usefulness.
This is now the only method of adding subparts as it's the most efficient.
An example of how the MimePart class now works (the "less is more" release
:) is the Mime class and how it now builds the email.
> 2 (the helpful one) is here:
>
> http://marc.theaimsgroup.com/?l=pear-dev&m=103974552912687&w=2
> .
This is (as far as the MimePart class is now concerned) totally down to the
headers you add to the class. A place where it could be added though is in
the Mime class. If you want to send me a patch against the 2.0 code I'll add
it in.
Cheers.
--
Richard Heyes