[cvs] [Wiki] changed: Doc/Dev/MIMEPackage
Jan Schneider
jan at horde.org
Tue Mar 11 18:08:41 UTC 2008
jan Tue, 11 Mar 2008 14:08:41 -0400
Modified page: http://wiki.horde.org/Doc/Dev/MIMEPackage
New Revision: 3.9
Change log: Mention required patch to mimeDecode.php
@@ -132,8 +132,10 @@
foreach ($attachments as $attachment) {
echo 'Attachment ' . htmlspecialchars($attachment['name']) . ' is ' .
strlen($attachment['data']) . ' bytes long.';
}
</code>
+
+If you don't retrieve all attachments as expected, in particular if any
attached mail/rfc822 parts are returned empty, apply the patch
{{mimeDecode.php.patch}} that has been attached to this wiki page to the
file {{Mail/mimeDecode.php}} in your PEAR directory.
++ Using MIME Viewers
Scenario: Continuing the previous example we want to render the
text/calendar part to HTML. ''This code currently only works inside of a
Horde application because it relies on the registry and Horde's
configuration files.''
More information about the cvs
mailing list