Search The ForumSearch   RegisterRegister  LoginLogin

MailBee.NET Objects

 AfterLogic Forum : MailBee.NET Objects
Subject Topic: DownloadEntireMessage and Processbar Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
johntang
Newbie
Newbie
Avatar

Joined: 02 March 2015
Location: Germany
Online Status: Offline
Posts: 2
Posted: 02 March 2015 at 12:35am | IP Logged Quote johntang

Hello there,

Is there any for getting responsed while DownloadEntireMessage is downloading?
I want to show to my client the processing bar when we taking the email entire. I use Mailbee.Net 9.0.

Thanks
John
Back to Top View johntang's Profile Search for other posts by johntang
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 02 March 2015 at 3:19am | IP Logged Quote Igor

Indeed that's possible, you can use EnvelopeDataChunkReceived Event for this purpose, and you can calculate percentage if you have message full size received with Imap.DownloadEnvelopes method. Note that you'll need to round the results and make sure the percentage doesn't exceed 100% as the values obtained might be slightly bigger than the actual message size.

--
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

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

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