hi,
i have created a table in my database. the table consist of columns named clientName, problem and problemDesc.
When a client email a message to my mail server(hanwei@test.com), the script will grep the mail from my mail server and process it.
I want the informations in From:, Header: and Message: to be automatically inserted into the table that i have created.
For Example :
To: hanwei@test.com
From: newbie@test.com
Header: problem1
Message: Hi, i have a problem in my computer. Please help.
The informations is inserted into the table:
newbie@test.com >> clientName
problem1 >> problem
Hi, i have a problem in my computer. Please help >> problemDesc
so how will i go about doing it? Do i have to use the sendmail option? or the procmail?
thanks in advance..