#18656 [Opn->Csd]: IMAP Function to retrive raw internet mail
| From: | ivanov at e-witness dot ca | Date: | Mon, 26 Aug 2002 15:39:19 +0000 |
| Subject: | #18656 [Opn->Csd]: IMAP Function to retrive raw internet mail | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-17865@lists.php.net to get a copy of this message | ||
ID: 18656
User updated by: ivanov@e-witness.ca
Reported By: ivanov@e-witness.ca
-Status: Open
+Status: Closed
Bug Type: Feature/Change Request
Operating System: Unix Solaris
PHP Version: 4.2.2
New Comment:
Use $message = imap_fetchheader($stream, 1, FT_PREFETCHTEXT);
Previous Comments:
------------------------------------------------------------------------
[2002-07-30 15:18:00] ivanov@e-witness.ca
Will be very 'nice' to have in IMAP functions one that allow to
developer retrieve raw e-mail with all headers, parts, body ... . I
work a lot with SMIME PKCS7 messages and I dream to have in our webmail
feature to view source of e-mail (same as Outlook do). User in this
case can see that his message encrypted and protected from anyone. Also
it will be very useful for developers work with IMAP functions. For
example, I spent a couple of hours to find out that object
imap_fetchstructure in subtype always return TEXT/PLAIN (even if
content type TEXT/HTML), if sender agent didn't specify MIME Version.
If I had something like get raw e-mail I take a look on raw mails with
'broken' HTML mail and good one and resolve this problem quickly.
Thanks for attention and great product PHP,
Best regards,
Viatcheslav Ivanov,
Web Developer E-Witness Inc.
Canada
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=18656&edit=1