Search The ForumSearch   RegisterRegister  LoginLogin

MailBee.NET Objects

 AfterLogic Forum : MailBee.NET Objects
Subject Topic: mailMessage.Size throw error IndexOutOfRa Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
mchaudhary
Newbie
Newbie
Avatar

Joined: 25 June 2017
Location: India
Online Status: Offline
Posts: 1
Posted: 25 June 2017 at 11:23pm | IP Logged Quote mchaudhary

I need a urgent help regarding download mail from mailserver by MailBee.DLL.
While downloading email by MailBee.Pop3.DownloadEntireMessages Method(), Size property is throwing error "mailMessage.Size threw an exception of type 'System.IndexOutOfRangeException'"
but SizOnServer property is returning integer value correctly.
Using DLL version: MailBee.NET.45.DLL: 10.0.45.523
Back to Top View mchaudhary's Profile Search for other posts by mchaudhary
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 5752
Posted: 26 June 2017 at 1:21am | IP Logged Quote Igor

Please check if the issue persists with the latest DLL build.

If the issue is still there, please enable POP3 logging, reproduce the issue and provide us with the logs for examination.

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


Joined: 28 September 2021
Online Status: Offline
Posts: 1
Posted: 28 September 2021 at 9:28pm | IP Logged Quote Harini

Still facing the same issue in mailbee dll version 12.2.0630. In mailMessage.Parser.Apply(), Size property is throwing error "Value was either too large or too small for an Int32." The issue is fixed with latest 12.2.2.646. However, the customers are in 12.2.0630. Is there any possible workaround instead of having to replace the DLL for the customer's instance.
Back to Top View Harini's Profile Search for other posts by Harini
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 5752
Posted: 29 September 2021 at 2:47am | IP Logged Quote Igor

Hello,

The response from the developers on this is as follows:

This issue is caused by an incorrect HTML char codes. For instance, something like this exists in the HTML source:



43310450277903 cannot be converted into int because of overflow.

If you can filter out such incorrect entries before converting HTML into plain-text using MailBee, this error will go away.

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