Hi
I'm quite new to PHP and haven't used it for a few months but want to improve a support call system I created by forwarding emails that come into the support email mailbox (MS Exchange) to my webserver.
I can send emails from this using mail and get the account name of nobody@server.domain I take it I can forward the emails to this address to get the emails on the server.
What I then want to do is take the from details and match it to a record in the users table to pass on the user id, search the subject line for a word relating to an entry in the subject table and send this as the subject and send the subject line and body text of the email as the problem field.
I have never done anything like this in a programming language - I've only ever sent mail from the pages.
Has anyone else done something similar who could help me with this please?
Thanks in advance!
|