[thelist] Executing an script when a mail arrives

martin burns martin at lists.evolt.org
Mon Oct 9 14:57:22 CDT 2000


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

At 19:59 09/10/00, Eduardo Dominguez wrote:
>   Using php v4.0 and linux, how can I process an email
>with a script everytime an email to a certain account
>arrives ?
>
>   I want to update a DB with certain data that comes
>in an email. :)

What you could do is a cron job to fire a script every
(say) 5 mins, which will check a local pop box and
take appropriate actions.

This should get you started:
http://evolt.org/index.cfm?menu=8&cid=125

Cheers
Martin


________________
Martin Burns, Content Management Consultant
tel: +44 (0)778 068 6418
http://evolt.org/index.cfm?menu=9&uid=32
http://www.easyweb.co.uk/
-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 6.5.3 for non-commercial use <http://www.pgp.com>
Comment: PGP Key ID: 0xA835CCCB

iQA/AwUBOeIeR3HoHnCoNczLEQI1WQCg27EOcqdSGQaskn02fqA1OFdLwo4AoKVJ
9PrLqUNqWnqjhNCc1cJnf/Ir
=wA67
-----END PGP SIGNATURE-----





More information about the thelist mailing list