I have a site which maintains a local message database and addressbook. What I would like to do is the following:
When a user contacts another user a record of that message is stored in the message database and an email is also sent to that user. Any response to that email should come back to the server where it is logged into the local message database and forwarded to the original user.
In short I want to trap incoming email, record information on it and redirect it to the proper address. The server I am using has IIS installed, but I am not particular about the email server, cost notwithstanding. I am brand new to email servers and server management in general, so it's a complete mystery. BTW, my web application is written in PHP.
Any help would be appreciated.