Search The ForumSearch   RegisterRegister  LoginLogin

MailBee.NET IMAP

 AfterLogic Forum : MailBee.NET IMAP
Subject Topic: Error in download envelopes Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
soccer2d
Newbie
Newbie
Avatar

Joined: 02 May 2007
Location: United States
Online Status: Offline
Posts: 11
Posted: 10 November 2010 at 2:52pm | IP Logged Quote soccer2d

I am performing the task of DownloadEnvelopes with following code

AddHandler imp.EnvelopeDownloaded, AddressOf OnEnvelopeDownloaded
                Try
                     Dim msgs As EnvelopeCollection = imp.DownloadEnvelopes(Imap.AllMessages, False, EnvelopeParts.All, -1)
               
                Catch
                     myUIDs.Save()
                Finally
                     RemoveHandler imp.EnvelopeDownloaded, AddressOf OnEnvelopeDownloaded
                End Try

but in the event OnEnvelopeDownloaded when the envelope is downloaded sometimes I get a env.downloadedmessage.messagepreview = nothing, which of course is the part I need the most.

I have the logging turned on and here is the error I believe.

[17:45:18.61] [RECV] Conversion from string "" to type 'Integer' is not valid. [Literal of length 57.]
Back to Top View soccer2d's Profile Search for other posts by soccer2d
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 11 November 2010 at 2:10am | IP Logged Quote Igor

We suspect this might be caused by invalid server response. Is it possible to provide us with a test account we could use to investigate this? If yes, please use our HelpDesk to provide us with the credentials.

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

Joined: 19 November 2003
Online Status: Offline
Posts: 2206
Posted: 11 November 2010 at 6:22am | IP Logged Quote Alex

Initial check shows that "Conversion from string "" to type 'Integer' is not valid." is not an error message from MailBee, it's the subject of the email (the email itself is a bug report). In particular, the length of "Conversion from string "" to type 'Integer' is not valid." is exactly 57 characters which strictly matches "[Literal of length 57.]" message from MailBee.

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