Jump to content

read mail file


AV1611

Recommended Posts

I have a Linux server with Postfix.  I use IMAP in maildir format. Each email message is a separate email file.

 

What I want to know is there an already existing set of functions in PHP will allow me to extract the data from the file, determine if it's text mode or html mixed mode, etc.?

 

Or, do I have to write my own functions to parse out the file.

 

I am going to write a program to archive old emails and store the file in an alternate location and parse the to, from, & subject into a database along with the location of the original file.  That much I can handle.  What I need to do is be able to display the file as a webpage.  That's the part I've not figure out yet.

 

You know, your basic mail archival system ;D

 

Can anyone point me in the right direction/

Link to comment
https://forums.phpfreaks.com/topic/91818-read-mail-file/
Share on other sites

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.