Author |
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 04 February 2011 at 4:41am | IP Logged
|
|
|
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 |
|
|
smith30 Newbie
Joined: 09 February 2011
Online Status: Offline Posts: 1
|
Posted: 10 February 2011 at 8:57am | IP Logged
|
|
|
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 |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 11 February 2011 at 1:18am | IP Logged
|
|
|
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 |
|
|