|
-
August 5th, 2003, 11:07 PM
#1
how to get unread emails
I want to retrive only unread information from mail server with VB6 and winsock component, how can I do this?
Thanks in advance
-
August 6th, 2003, 05:04 AM
#2
Hmmnn.. There's no such unread information or email message in the mail server's maildrop.. This could only happen in an email client like MS Outlook Express for beautification.. What you could do in the message in the maildrop is to copy/download or delete..
The winsock is just an interface so you need to learn a protocol in order to access the maildrop and communicate with the server. Probably, try to search the web for the POP3 or IMAP protocol. You may check also the FAQ regarding sending email with VB, this may help though..
Busy 
-
August 6th, 2003, 08:55 AM
#3
If I remember correctly, pop3 have a HEAD command wich return only the header of an email, and if I understand correctly, email clients like outlook store thoses info somewhere in order to know which message have already been downloaded. I suggest you to read some RFC about pop3 (rfc1939) or get a good pop3 ocx.
-
August 6th, 2003, 09:09 PM
#4
The MS Outlook Express has its own database to store the message, hence uses the message-id for identification.. And it does not retain the message from the server but deletes it once downloaded ..
Busy 
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
|