Search The ForumSearch   RegisterRegister  LoginLogin

MailBee.NET IMAP

 AfterLogic Forum : MailBee.NET IMAP
Subject Topic: very slow data receved Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
talaattito
Groupie
Groupie
Avatar

Joined: 05 October 2011
Location: Egypt
Online Status: Offline
Posts: 44
Posted: 06 October 2011 at 4:47am | IP Logged Quote talaattito

please im use mailbee 6.10.310 and access yahoo account by imap
data receved but receved operation very slow this is my code
------------
Dim imp As New Imap()
imp.Connect("imap.n.mail.yahoo.com") 'yahoo
imp.Login("company@yahoo.com", "pass")
imp.SelectFolder("inbox")
Dim msgs As MailMessageCollection = imp.DownloadMessageHeaders (Imap.AllMessages, False)

-------------
i have 888 email in my yahoo account
to read the count of msgs i take more time the reading is very slow and some times give me this error
-------> The CLR has been unable to transition from COM context 0x4285c0 to COM context 0x428730 for 60 seconds. The thread that owns the destination context/apartment is most likely either doing a non pumping wait or processing a very long running operation without pumping Windows messages. This situation generally has a negative performance impact and may even lead to the application becoming non responsive or memory usage accumulating continually over time. To avoid this problem, all single threaded apartment (STA) threads should use pumping wait primitives (such as CoWaitForMultipleHandles) and routinely pump messages during long running operations.
------
there is any way to fast this operation
thanks
Back to Top View talaattito's Profile Search for other posts by talaattito
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 06 October 2011 at 5:05am | IP Logged Quote Igor

This might be caused by either particular IMAP server used, or something about your development environment configuration, see the example of resolving similar issue here.

--
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: 06 October 2011 at 10:28am | IP Logged Quote Alex

If the code above is the only thing in your application (i.e. very simple test console application), does the problem reproduce?

Because looks like something else slows down the system, and this causes .net framework run into problems.

regards,
Alex
Back to Top View Alex's Profile Search for other posts by Alex
 
talaattito
Groupie
Groupie
Avatar

Joined: 05 October 2011
Location: Egypt
Online Status: Offline
Posts: 44
Posted: 06 October 2011 at 2:31pm | IP Logged Quote talaattito

thanks for your replay, when i debug to see what the cause of this slow i found that at this line of above code
-----------
Dim msgs As MailMessageCollection = imp.DownloadMessageHeaders (Imap.AllMessages, False)
------------
that cause the slow but other lines of code work well and fast only this line the debuger stop at it for along time
thanks again,
talaat
Back to Top View talaattito's Profile Search for other posts by talaattito
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 07 October 2011 at 2:35am | IP Logged Quote Igor

We still require your response to question asked by Alex:

Alex wrote:
If the code above is the only thing in your application (i.e. very simple test console application), does the problem reproduce?


--
Regards,
Igor, AfterLogic Suppport
Back to Top View Igor's Profile Search for other posts by Igor
 
talaattito
Groupie
Groupie
Avatar

Joined: 05 October 2011
Location: Egypt
Online Status: Offline
Posts: 44
Posted: 07 October 2011 at 2:49pm | IP Logged Quote talaattito

i think this slow problem Because i have 888 message in this email account
general i read only new 50 message and it became fast
very thanks for your Interest
Back to Top View talaattito's Profile Search for other posts by talaattito
 
talaattito
Groupie
Groupie
Avatar

Joined: 05 October 2011
Location: Egypt
Online Status: Offline
Posts: 44
Posted: 08 October 2011 at 1:56am | IP Logged Quote talaattito

this my log file to fetch my all messages
--------------------------------------------------
[10:28:02.27] [INFO] Assembly version: 6.10.2.310.
[10:28:02.27] [INFO] Will resolve host "imap.n.mail.yahoo.com".
[10:28:02.41] [INFO] Host "imap.n.mail.yahoo.com" resolved to IP address(es) 98.138.24.48, 98.138.24.49, 98.138.31.75, 98.139.52.103, 98.139.91.251, 98.136.44.198, 98.136.131.28, 98.136.166.106.
[10:28:02.41] [INFO] Will connect to host "imap.n.mail.yahoo.com" on port 143.
[10:28:03.12] [INFO] Socket connected to IP address 98.138.24.48 on port 143.
[10:28:03.54] [RECV] * OK [CAPABILITY IMAP4rev1 ID NAMESPACE X-ID-ACLID UIDPLUS LITERAL+ CHILDREN XAPPLEPUSHSERVICE XYMHIGHESTMODSEQ AUTH=PLAIN AUTH=LOGIN AUTH=XYMCOOKIE AUTH=XYMECOOKIE AUTH=XYMCOOKIEB64 AUTH=XYMPKI STARTTLS] IMAP4rev1 imapgate-0.7.68_8.314902 imap133.mail.ne1.yahoo.com\r\n [Total 268 bytes received.]
[10:28:03.54] [INFO] Connected to mail service at host "imap.n.mail.yahoo.com" on port 143 and ready.
[10:28:03.55] [INFO] Will login as "tsoft2007@yahoo.com".
[10:28:03.55] [INFO] Will try regular LOGIN authentication.
[10:28:03.56] [SEND] MBN00000001 LOGIN "tsoft2007@yahoo.com" "********"\r\n
[10:28:04.44] [RECV] MBN00000001 OK AUTHENTICATE completed - Mailbox size in bytes is 1070489575\r\n [Total 77 bytes received.]
[10:28:04.44] [INFO] Logged in as "tsoft2007@yahoo.com".
[10:28:04.45] [INFO] Select folder "Inbox".
[10:28:04.45] [SEND] MBN00000002 SELECT "Inbox"\r\n
[10:28:04.97] [RECV] * 1123 EXISTS\r\n [Total 15 bytes received.]
[10:28:04.97] [RECV] * 0 RECENT\r\n [Total 12 bytes received.]
[10:28:04.98] [RECV] * OK [UIDVALIDITY 1] UIDs valid\r\n [Total 33 bytes received.]
[10:28:04.98] [RECV] * OK [UIDNEXT 65710] Predicted next UID\r\n [Total 41 bytes received.]
[10:28:04.98] [RECV] * FLAGS (\Answered \Flagged \Deleted \Seen \Draft)\r\n [Total 52 bytes received.]
[10:28:04.98] [RECV] * OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft)] Permanent flags\r\n [Total 82 bytes received.]
[10:28:04.98] [RECV] * OK [HIGHESTMODSEQ 5661010133990815368]\r\n [Total 42 bytes received.]
[10:28:04.98] [RECV] MBN00000002 OK [READ-WRITE] SELECT completed; now in selected state\r\n [Total 69 bytes received.]
[10:28:05.00] [INFO] Will download envelopes.
[10:28:05.00] [SEND] MBN00000003 FETCH 1:1123 (UID RFC822.SIZE BODY.PEEK[HEADER])\r\n
[10:28:07.04] [RECV] * 1 FETCH (UID 10 RFC822.SIZE 6179 BODY[HEADER] {1544}\r\n
[10:28:07.05] [RECV] X-YMAIL-UMID: 1_837847_AANlxEIAAPHfRazvhAw7F3DE/do\r\nX-Apparently ... 3834"\r\nContent-Transfer-Encoding: 8bit\r\nContent-Length: 4717\r\n\r\n [Literal of length 1544.]
[10:28:07.05] [RECV] )\r\n [Total 1603 bytes received.]
[10:28:07.09] [RECV] * 2 FETCH (UID 13 RFC822.SIZE 6858 BODY[HEADER] {1554}\r\n
[10:28:07.09] [RECV] X-YMAIL-UMID: 1_837303_AP1kxEIAAXYkRa4eDgeFlRAfOPU\r\nX-Apparently ... 6354"\r\nContent-Transfer-Encoding: 8bit\r\nContent-Length: 5357\r\n\r\n [Literal of length 1554.]
[10:28:07.09] [RECV] )\r\n [Total 1613 bytes received.]
[10:28:07.09] [RECV] * 3 FETCH (UID 20 RFC822.SIZE 14787 BODY[HEADER] {1523}\r\n
-----------
im cut fetches emails from 3 to 886 to can send you
-----------
[10:29:13.87] [RECV] * 886 FETCH (UID 44233 RFC822.SIZE 10528 BODY[HEADER] {3145}\r\n
[10:29:13.87] [RECV] X-YMAIL-UMID: 1_222123_APtVimIAAGBITNwlkwQ/kWdR7Ko\r\nX-Apparently ... 299 (UTC) FILETIME=[903274B0:01CB81C4]\r\nContent-Length: 7370\r\n\r\n [Literal of length 3145.]
[10:29:13.87] [RECV] )\r\n [Total 3210 bytes received.]
[10:29:13.87] [RECV] * 887 FETCH (UID 44544 RFC822.SIZE 8165 BODY[HEADER] {4020}\r\n
[10:29:13.87] [RECV] X-YMAIL-UMID: 1_221298_ABlVimIAAEcWTOlqlQ3clEh7oms\r\nX-Apparently ... ndary="0-1290974886-1290365187=:71700"\r\nContent-Length: 4227\r\n\r\n [Literal of length 4020.]
[10:29:13.87] [RECV] )\r\n [Total 4084 bytes received.]
[10:29:13.97] [RECV] * 888 FETCH (UID 45038 RFC822.SIZE 3052 BODY[HEADER] {2545}\r\n
[10:29:13.97] [RECV] X-YMAIL-UMID: 1_220544_AJxuUtQAASDETP1C0gd+MyOU/Ms\r\nX-Apparently ... : =?UTF-8?Q?Welcome=20to=20RapidShare?=\r\nContent-Length: 598\r\n\r\n [Literal of length 2545.]
[10:29:13.97] [RECV] )\r\n [Total 2609 bytes received.]
[10:29:17.95] [RECV] * 889 FETCH (UID 45219 RFC822.SIZE 4236 BODY[HEADER] {3491}\r\n
[10:29:17.96] [RECV] X-YMAIL-UMID: 1_219801_AJJuUtQAANl2TQY74AjkTEskYzo\r\nX-Apparently ... ; boundary=20cf30549a3b154fa004974c5f5c\r\nContent-Length: 839\r\n\r\n [Literal of length 3491.]
[10:29:17.96] [RECV] )\r\n [Total 3555 bytes received.]
[10:29:17.96] [RECV] * 890 FETCH (UID 45282 RFC822.SIZE 5569 BODY[HEADER] {3387}\r\n
[10:29:17.96] [RECV] X-YMAIL-UMID: 1_218949_AJBuUtQAAT5KTQjEZAKVQmfgook\r\nX-Apparently ... out to expire\r\nTo: tsoft2007@yahoo.com\r\nContent-Length: 2292\r\n\r\n [Literal of length 3387.]
[10:29:17.96] [RECV] )\r\n [Total 3451 bytes received.]
[10:29:17.96] [RECV] MBN00000003 OK FETCH completed\r\n [Total 32 bytes received.]
[10:29:17.96] [INFO] Envelopes downloaded
[10:31:25.77] [SEND] MBN00000004 LOGOUT\r\n
[10:31:26.26] [RECV] * BYE IMAP4rev1 Server logging out\r\n [Total 36 bytes received.]
[10:31:26.26] [RECV] MBN00000004 OK LOGOUT completed\r\n [Total 33 bytes received.]
[10:31:26.26] [INFO] Will disconnect from host "imap.n.mail.yahoo.com".
[10:31:26.26] [INFO] Disconnected from host "imap.n.mail.yahoo.com".
-------------------------------------------------------------------
to fetch my emails it tack time from [10:28:07.04] to [10:31:26.26] over than 3 Minute
if any way to fasting to fetsh all messages this is better
thanks for all
Back to Top View talaattito's Profile Search for other posts by talaattito
 
Alex
AfterLogic Support
AfterLogic Support
Avatar

Joined: 19 November 2003
Online Status: Offline
Posts: 2206
Posted: 08 October 2011 at 4:34am | IP Logged Quote Alex

We need access to a test account to investigate this issue. Please use HelpDesk to submit this info.

Regards,
Alex
Back to Top View Alex's Profile Search for other posts by Alex
 
talaattito
Groupie
Groupie
Avatar

Joined: 05 October 2011
Location: Egypt
Online Status: Offline
Posts: 44
Posted: 08 October 2011 at 6:08am | IP Logged Quote talaattito

yes im aready sent to helpdesk and i hope solving this problem
very thanks mr Alex
Back to Top View talaattito's Profile Search for other posts by talaattito
 
Igor
AfterLogic Support
AfterLogic Support


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

Quote:
We need access to a test account to investigate this issue.


I believe you didn't send those in, and in order to help you, we require account login details. Thanks.

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

Joined: 05 October 2011
Location: Egypt
Online Status: Offline
Posts: 44
Posted: 10 October 2011 at 5:49am | IP Logged Quote talaattito

im trying to another account and it fast i think the problem in my old account
general very thanks for you

Regards,
talaat
Back to Top View talaattito's Profile Search for other posts by talaattito
 

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