Using PHP to handle in-coming emails
Posted: Tue Jul 01, 2008 2:41 am
Hi all,
I am looking for a way for PHP to process email the moment it arrives at the server. The client wishes for a script that examines the content of the mail and extract some information (each email will be in a standard format). I am stumped as to how to write a script that process emails; does it requires a socket to the SMTP server? I never came across this in any books or web articles, so I am hoping someone can point me in the right direction.
Thanks in advance!
I am looking for a way for PHP to process email the moment it arrives at the server. The client wishes for a script that examines the content of the mail and extract some information (each email will be in a standard format). I am stumped as to how to write a script that process emails; does it requires a socket to the SMTP server? I never came across this in any books or web articles, so I am hoping someone can point me in the right direction.
Thanks in advance!