Jump to content

PHP Mail Spool Question


rckehoe

Recommended Posts

Hey everyone,

 

I am not a server admin, and I don't know if this is like this on all servers, but my mail server holds everything in a spool file... All mail is stored here along with attachments, etc.... I am trying to write a script that parses through this spool file... I was wondering if anyone can point me to any tutorials, projects, classes, functions... something....

 

Please do not recommend that I use something like php_imap and similar... I have to build a mail program by parsing the spool file...

Link to comment
Share on other sites

That is the problem... I have look many times and tried to figure out the right way to parse through it using a script, but I cannot seem to locate a common "separator"... or some kind of a string that separates the emails... It only seperated by line breaks, and there are to many of them throughout the whole file to do this... It screws it up somewhere....

 

Does anyone have any previous knowledge of completing a task like this?

 

Thanks for any help.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.