Catching mail and processing it with PHP
Posted: Sun Jun 05, 2005 1:31 am
Let's say I have a linux server and I want to catch emails sent to a specific regular expression of an email address (298358.this@domain.com and 895830935.that@domain.com, but not phice@domain.com) and process them with a PHP file. I've seen this done with moblog scripts that will catch emails to a specific email. If it had to be a specific email that would even be fine, but I would much rather prefer a regular expression-based, or something like it, to do this process.
Example: If I send an email to 285803.test@domain.com, I want the linux box to catch that email and process it with a PHP file (body, subject, to, etc. Then I can store that email to whatever I want.
Any idea's going about doing this? If you need any further information, just look at any moblog company. It's the same exact setup.
Example: If I send an email to 285803.test@domain.com, I want the linux box to catch that email and process it with a PHP file (body, subject, to, etc. Then I can store that email to whatever I want.
Any idea's going about doing this? If you need any further information, just look at any moblog company. It's the same exact setup.