[Phpwm] Getting mail into a mysql database

Mike Tipping mike at etuna.co.uk
Thu May 28 10:36:43 UTC 2009


I'm really after something that happens automatically, kicked off by the
mail server rather than on a crontab.

I seem to remember you can get postfix? To run a pearl script when it
receives a message. Does anyone know anything similar in PHP?


On 28/5/09 11:24, "Alex Mace" <alex at hollytree.co.uk> wrote:

> I've never used them, but I'd assume the php IMAP functions would be
> the best place to start : http://php.net/imap
> 
> That allows you to access mail boxes. Then just set it going on a cron
> job and you should be done...
> 
> Alex
> 
> On 28 May 2009, at 11:18, 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
> 
> 
> _______________________________________________
> Phpwm mailing list
> Phpwm at mailman.lug.org.uk
> https://mailman.lug.org.uk/mailman/listinfo/phpwm





More information about the Phpwm mailing list