Jump to content

Use file/other data input stream for imap related functions.


supratik

Recommended Posts

Hi,

  I am using imap_headerinfo, imap_fetchstructure, imap_fetchheader api functions, but all these functions requires minimum two parameters like $imap_stream, $message_number. The $imap_stream is an IMAP stream to a mailbox which requires connection to the imap server.

 

If I save the mail into a file or store the complete mail contents into a database then how can I use this file stream or database contents as an input to the imap_headerinfo, imap_fetchstructure etc, so that It returns the all the structured information for that given message.

 

Please suggest me how to read the structured information from the mail without using the imap stream

 

Regards

 

Supratik

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.