Forum Moderators: coopster

Message Too Old, No Replies

Php script to process files in attachments

         

john551

4:23 pm on Nov 15, 2006 (gmt 0)

10+ Year Member



Hi,

I would like to know how can I process attachements in my mail, which are on the same server using PHP.

i.e. Everytime a mail is received with a particular subject and from a particular IP, the PHP script should be invoked and process the attachment(reading content in the attachement and doing necessary changes in the database).

If you can point me to any tutorial or similar example, it would be a great help to me.

eelixduppy

3:06 am on Nov 16, 2006 (gmt 0)



You may have some luck with The IMAP, POP3 and NNTP Functions [us2.php.net].

I'm not sure if something like this is already made, but it's worth a shot. Check the script repositories to see what you come up with: hotscripts.com, sourceforge.net, phpclasses.org ...

Best of luck!