Search The ForumSearch   RegisterRegister  LoginLogin

MailBee POP3

 AfterLogic Forum : MailBee POP3
Subject Topic: Retrieve only new messages Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
Guest
Guest Group
Guest Group


Joined: 10 November 2003
Online Status: Online
Posts: 262
Posted: 20 October 2005 at 9:17pm | IP Logged Quote Guest

Hi,

I am testing out Mailbee POP3 trial version to see if it fits our needs. Does mailbee have the capabilities to read flags and retrieve new messages? Now it's it's setup to be retrieving a n e-mail when told to by clicking the Retrieve button, and it displays the e-mails one by one. I need to store the e-mails in a database (which application will later be created on our own).

Thanks,
Back to Top View Guest's Profile Search for other posts by Guest
 
Alex
AfterLogic Support
AfterLogic Support
Avatar

Joined: 19 November 2003
Online Status: Offline
Posts: 2206
Posted: 21 October 2005 at 3:19pm | IP Logged Quote Alex

Although POP3 mail protocol itself does not support this feature, it can be implemented via MailBee POP3 and a database.

You can find the code samples and more information in "MailBee Tutorials/Receiving new messages from POP3 server" section of MailBee documentation.

Regards,
Alex
Back to Top View Alex's Profile Search for other posts by Alex
 
Guest
Guest Group
Guest Group


Joined: 10 November 2003
Online Status: Online
Posts: 262
Posted: 24 October 2005 at 5:16pm | IP Logged Quote Guest

It says in Mailbee 5.3: "New method that useful for checking for new messages, read/unread messages, etc."

How do you retrieve only new (unread) messages?
Where's the method implemented? It's not under:

Dim oMsgs as New MailBee.Messages


Thanks,
Back to Top View Guest's Profile Search for other posts by Guest
 
Alex
AfterLogic Support
AfterLogic Support
Avatar

Joined: 19 November 2003
Online Status: Offline
Posts: 2206
Posted: 25 October 2005 at 10:20am | IP Logged Quote Alex

Yes, POP3.Search method can be used to check for new messages, read/unread messages, etc.

You can find the additional information on POP3.Search method in MailBee Documentation in "Reference\POP3 Object\Methods\Search" topic.

Also, you can find the code samples for POP3.Search method in MailBee Documentation in "Code Samples\Receiving e-mails (POP3)\Search for new messages" topic.

Regards,
Alex
Back to Top View Alex's Profile Search for other posts by Alex
 
Shahid
Guest Group
Guest Group


Joined: 10 November 2003
Online Status: Online
Posts: 262
Posted: 23 December 2005 at 12:11am | IP Logged Quote Shahid

Alex,
I found this note in the reference : "Note: UID functionality is an extension to POP3 protocol, and implementations may vary from server to server (some servers might not support UID at all). ".

Is there any other way to get new messages? How about getting the dates?

Also can I mark a mail as read ?
Back to Top View Shahid's Profile Search for other posts by Shahid
 
Alex
AfterLogic Support
AfterLogic Support
Avatar

Joined: 19 November 2003
Online Status: Offline
Posts: 2206
Posted: 23 December 2005 at 9:51am | IP Logged Quote Alex

Quote:
Is there any other way to get new messages? How about getting the dates?

Actually, POP3 servers which do support UIDs are uncommon nowdays. Popular mail clients (such as Outlook Express) can download only all mails at once from an account which does not support UIDs.

However, you can implement Message-ID based solution with MailBee. The idea is to save Message-ID values from message headers and compare Message-IDs of messages in inbox and in database (like it's done with UIDs). You can find more information in "MailBee Tutorials/Receiving new messages from POP3 server (ASP or VB version)/Part 2" section of MailBee documentation ("Search new messages when the POP3 server does not support Unique-IDs" topic).

Quote:
Also can I mark a mail as read ?

The POP3 protocol does not support this functionality. However, if you store messages (or UIDs, or Message-IDs) in database, you can also mark a message as read in database when a user opens it first time.

Regards,
Alex
Back to Top View Alex's Profile Search for other posts by Alex
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide