Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help with creating a Web-based Email Client like Hotmail or Yahoo 1

Status
Not open for further replies.

mabait

Technical User
Jul 27, 2001
2
CA
I have a question in regards to web-based emails with Coldfusion. I am looking at the Crazy Cab Email
Client example found in Coldfusion.

I want to know if there is a way to detect whether a user has already read the message?

So that if it is a new message the text will be bold, otherwise if they read it already it will just
in regular font.

Thanks in advance,
--=mabait=--
 
This can be accomplished in several ways but perhaps the easiest is to have a boolean (yes/no) field in the database called "unread". The field is set to "on" by default. When a user reads the message simply set the field to 0.

-N
 
Hi LineNoize,

That would be a good solution, however, the emails are not stored in a database, I'm taking it from the pop server using CFPOP just like the Crazy Cab example.

How else can I do it? I was thinking of doing it through client or session variables where I detect the emails that were read, but I can't seem to get it work.

Any suggestions, please let me know.

Thanks,
--=mabait=--
 
Ok... then how about another database table that tracks each user and which messages they've read based on the message ID?

-N
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top