posted 23 years ago
Hi all,
I'm not sure whether this is the right forum to place this problem.
I have developed a mail management system. In this the mail coming from the customer can be routed to different agents(employees), by the mail administrator(or by some service). Agents have to give reply to these mails. So customer emails will be routed to the different agents.
According to my design, while loading my application on agents machine (client), I use to get the 'from', 'subject,'date' field of all the emails in the mailbox(just a microsoft outlook).
Agent(user) can click on any email to see the details of a mail.
So in brief, While loading the application I gets the summary of all the emails and I use this summary till the user logs-in again or presses 'refresh button again.
But the problem is, more then one agent can work on a same mailbox. So the agent can be working on the email which is alredy replied by the other agent.
My question is:
Is there any way to intimate the client that something is changed in the 'mailbox' table in the database. I don't know much about DB, but can the concept of triggers help here.
Thanks in advance
shikhar