[Phpwm] Getting mail into a mysql database

Dave Holmes dave at neteffekt.co.uk
Thu May 28 12:01:13 UTC 2009


Hi Mike,

You can configure postfix to write the mail files in plain text rather
than mbox format, you can create a PHP script which runs on cron to scan
the directory and pull the messages into the db. Thats how we used to
process asych bounces back in the early days of emsg

Dave

<http://www.neteffekt.co.uk>
<http://threeboxes.co.uk>



Mike Tipping wrote:
> I have a simple support system that allows people to submit messages through
> a web form. These messages all go into a MySQL DB and are dealt with.
>
> I now want to add messages from email so all messages that come to a
> specific email address are parsed into the same DB.
>
> The mail server I'm using a the mo is Postfix.
>
> Any ideas on the best way of doing this.
>
> Cheers
>
> Mike 
>
>
>
> _______________________________________________
> Phpwm mailing list
> Phpwm at mailman.lug.org.uk
> https://mailman.lug.org.uk/mailman/listinfo/phpwm
>
>   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.lug.org.uk/pipermail/phpwm/attachments/20090528/cc8f69f1/attachment.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dave_signature.gif
Type: image/gif
Size: 6682 bytes
Desc: not available
Url : http://mailman.lug.org.uk/pipermail/phpwm/attachments/20090528/cc8f69f1/attachment.gif 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: actiontag1.gif
Type: image/gif
Size: 5087 bytes
Desc: not available
Url : http://mailman.lug.org.uk/pipermail/phpwm/attachments/20090528/cc8f69f1/attachment-0001.gif 


More information about the Phpwm mailing list