|
-
May 26th, 2010, 05:07 AM
#1
Thread Starter
Addicted Member
Splitting and Counting emails.
I do apologise - as I have no idea how this is done. But I have an inbox (Web based) which contains hundreds of emails. All with the same subject:
"Transcript of <date>. Visitor: <name>. Operator: <name>."
An example of the date would be: "26 Mar 2010 14:59:10"
I was wondering how possible it would be to set a cron job or some script to run through the email inbox. Then split out just the date and the operator name and insert it into a database table with 3 enteries. One for total no. of calls for operator. One for no. of calls over the past 30 days and one for the no. of calls over the past 7 days.
This could then be pulled out of the database by a PHP script (i can sort that) which will display it in a user area on a wbesite.
I hope somebody can help me!
Adam
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|