Author |
|
Guest Guest Group
Joined: 10 November 2003
Online Status: Online Posts: 262
|
Posted: 20 October 2005 at 9:17pm | IP Logged
|
|
|
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 |
|
|
Alex AfterLogic Support
Joined: 19 November 2003
Online Status: Offline Posts: 2206
|
Posted: 21 October 2005 at 3:19pm | IP Logged
|
|
|
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 |
|
|
Guest Guest Group
Joined: 10 November 2003
Online Status: Online Posts: 262
|
Posted: 24 October 2005 at 5:16pm | IP Logged
|
|
|
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 |
|
|
Alex AfterLogic Support
Joined: 19 November 2003
Online Status: Offline Posts: 2206
|
Posted: 25 October 2005 at 10:20am | IP Logged
|
|
|
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 |
|
|
Shahid Guest Group
Joined: 10 November 2003
Online Status: Online Posts: 262
|
Posted: 23 December 2005 at 12:11am | IP Logged
|
|
|
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 |
|
|
Alex AfterLogic Support
Joined: 19 November 2003
Online Status: Offline Posts: 2206
|
Posted: 23 December 2005 at 9:51am | IP Logged
|
|
|
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 |
|
|