rckehoe Posted February 4, 2008 Share Posted February 4, 2008 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... Quote Link to comment https://forums.phpfreaks.com/topic/89377-php-mail-spool-question/ Share on other sites More sharing options...
trq Posted February 4, 2008 Share Posted February 4, 2008 I have to build a mail program by parsing the spool file... Then I'de suggest you open the spool file and inspect it for what your after. Once you have done this, automate it with a script. Quote Link to comment https://forums.phpfreaks.com/topic/89377-php-mail-spool-question/#findComment-457673 Share on other sites More sharing options...
rckehoe Posted February 4, 2008 Author Share Posted February 4, 2008 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. Quote Link to comment https://forums.phpfreaks.com/topic/89377-php-mail-spool-question/#findComment-457695 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.