Hi, I don't know what this is called and hence it is getting difficult to find a solution also. Basically this is what I am looking for: When someone sends an email to me at a "specific email id", the email doesn't get directly to my email client. Instead I want it to call a specific PHP page on my server. Is this possible. If yes, can someone please guide me in the right direction for more information on this? Thank you jeet
Have a look at imap_open() and other imap functions in the php help. These functions allow you to read mail programmaticaly from within php. (It also supports pop3)
This is useful information. Also instead of reading email via php, can I directly access a php script as soon as an email is received by the server? Thank you
I haven't used it myself but what i think you should do is make a script that you run from a crontab say every 10 minutes. This script will use the imap functions to check if new mail has arrived. If new mail has arrived it will call the file you want executed when new mail arrives.
yes, that's an option but I don't remember where, I read that one can specify the path of an email id using the command line. This may sound stupid but that's because I don't remember the whole thing. Thank you for your help. The php command you gave me will be useful in my program. Thank you. jeet