php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #18656 IMAP Function to retrive raw internet mail
Submitted: 2002-07-30 15:18 UTC Modified: 2002-08-26 11:39 UTC
From: ivanov at e-witness dot ca Assigned:
Status: Closed Package: Feature/Change Request
PHP Version: 4.2.2 OS: Unix Solaris
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
24 - 9 = ?
Subscribe to this entry?

 
 [2002-07-30 15:18 UTC] ivanov at e-witness dot 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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-08-26 11:39 UTC] ivanov at e-witness dot ca
Use $message = imap_fetchheader($stream, 1, FT_PREFETCHTEXT);
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 23:01:29 2024 UTC