Read ? - WeOnlyDo Discussion board

Read ? (General questions)

by Maverick5, Friday, December 23, 2005, 13:23 (6910 days ago)

how do we mark messages as read ?
or know when they have been read ?

Do I have to create a external file to keep track of this ?

Thanks
SaenzCorp

Re: Read ?

by wodSupport, Friday, December 23, 2005, 14:33 (6909 days ago) @ Maverick5

This all depends. What emails are you opening? where are they coming from? Usually, server keeps track of read messages. Since wodMailbox doesn't access any server, this doesn't sound appropriate.

Re: Read ?

by Maverick5, Friday, December 23, 2005, 22:30 (6909 days ago) @ wodSupport

is wodmailbox for storing email ? or not ?

if wodpop3 is for bring them download from a server,
once they are in your mailbox, as you view them there should be a way to know if they have been read, and at that point most likely has nothing to do with a server if they are in your machine at that point, messages don't get marked read because you downloaded them...

I'm building an email client, with your three components(pop,smtp,mailbox)...

please respond with code examples if possible,

Thanks

Re: Read ?

by wodSupport, Friday, December 23, 2005, 22:59 (6909 days ago) @ Maverick5

I see. In that case I would just add them new header such as 'Status'. I think old pop3 servers used to do that.

Re: Read ?

by Maverick5, Friday, December 23, 2005, 23:17 (6909 days ago) @ wodSupport

Does the add header method add a header to the email itself ?
like From header ?
so I can reference it later ?

thanks

Re: Read ?

by wodSupport, Friday, December 23, 2005, 23:18 (6909 days ago) @ Maverick5

Yes, of course. Just remember to Save message after you add new header.