note 109695 added to function.imap-fetchbody
| From: | alejandro dot anv at gmail dot com | Date: | Fri, 10 Aug 2012 13:55:46 +0000 |
| Subject: | note 109695 added to function.imap-fetchbody | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-189983@lists.php.net to get a copy of this message | ||
Winmail.dat (TNEF content) may be processed using the function included in roundcubemail.
Just include the file program/lib/tnef_decoder.php from roundcubemail, extract the contents of the
winmail.dat file (application/tnef) and use the following code:
require_once('path_to/tnef_decoder.php');
$tnef = new tnef_decoder;
$tnef_arr = $tnef->decompress($winmail_dat);
print_r($tnef_arr);
$tnef_arr will contain an array with the content of winmail.dat
----
Server IP: 69.147.83.197
Probable Submitter: 95.39.228.152
----
Manual Page -- http://www.php.net/manual/en/function.imap-fetchbody.php
Edit -- https://master.php.net/note/edit/109695
Del: integrated -- https://master.php.net/note/delete/109695/integrated
Del: useless -- https://master.php.net/note/delete/109695/useless
Del: bad code -- https://master.php.net/note/delete/109695/bad+code
Del: spam -- https://master.php.net/note/delete/109695/spam
Del: non-english -- https://master.php.net/note/delete/109695/non-english
Del: in docs -- https://master.php.net/note/delete/109695/in+docs
Del: other reasons-- https://master.php.net/note/delete/109695
Reject -- https://master.php.net/note/reject/109695
Search -- https://master.php.net/manage/user-notes.php