From: "A.L.E.C" on
On Tue, 2 Feb 2010 16:59:45 +0100, "GUILLAUME Fabien"
<fabien.guillaume(a)ch-tarare.fr> wrote:
> I use Mail_mime to send mails and attachments for a long time and I am
> very satisfied with his excellent work. Let me thank you and
> congratulate you for the quality of this library.
> That is my question:
> I want to add for each attachment, the following headers
> "X-Attachment-Id" and "size".
> How can I do?

Currently it's not possible. This will require extending
Mail_mime::addAttachment() method and the whole Mail_mimePart class.

--
Aleksander 'A.L.E.C' Machniak http://alec.pl
LAN Management System Developer http://lms.org.pl
Roundcube Webmail Project Developer http://roundcube.net