I do something like this for automatically cleaning out the crap from my IMAP account. The IMAP functions page on the PHP manual has basically everything you need to know. I can probably answer any specific questions you have if you get stuck.

Harvey.


On 26/10/2010 11:57 a.m., Brendan Brink wrote:
Hi there,

Wanting to accomplish the following:

1. Setup a special email address at my domain.
2. Using PHP, poll the email address inbox for unread emails every 5
minutes or so (using CRON job)
3. If there is an email extract the attachment on the email and save
as a file on the server.
4. Mark the email as read.

Anyone had any experience or has a good tutorial on how to do this correctly?

Cheers
Brendan.



--
Harvey Kane

Phone:
- Auckland: +64 9 950 4133
- Wanaka: +64 3 746 8133
- Mobile: +64 21 811 951

Email: [email protected]
 If you need to contact me urgently, please read my email policy 
www.ragepank.com/email/

--
NZ PHP Users Group: http://groups.google.com/group/nzphpug
To post, send email to [email protected]
To unsubscribe, send email to
[email protected]

Reply via email to