Search The ForumSearch   RegisterRegister  LoginLogin

MailBee.NET SMTP

 AfterLogic Forum : MailBee.NET SMTP
Subject Topic: How to get unread mail programmatically Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 04 February 2011 at 4:41am | IP Logged Quote Igor

I assume you already know how to use Search method of IMAP, you can fetch information about unseen message,
and all you need is to display several first lines of message text. This can be done with
this overload of DownloadEnvelopes method. After using Search, you
have collection of matching UIDs, just supply them to DownloadEnvelopes using .ToString(). To achieve
what you need, you should include MessagePreview to EnvelopeParts and set
bodyPreviewSize to required number of first bytes you need to get for each message.

What I don't understand is: "number of mandatory mails". What is that about?

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
smith30
Newbie
Newbie


Joined: 09 February 2011
Online Status: Offline
Posts: 1
Posted: 10 February 2011 at 8:57am | IP Logged Quote smith30

How to get the unread mail for the user from webmail. I check in webmail db in awm_messages table. But it is not helpful. So please help me how to get unread mail programmatically.
Back to Top View smith30's Profile Search for other posts by smith30
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 11 February 2011 at 1:18am | IP Logged Quote Igor

There are no integration methods for this, you'll need to access the IMAP account itself. I believe
the insight provided in this thread is deep enough, as long as you're using .NET edition of course.

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 

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

<< Prev Page of 2
  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

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