473,320 Members | 1,766 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

POP3 Locking up computer

I have a couple of classes I use. They both work. The problem is if there is
a bunch of messages, while they are being downloaded nothing else works
(other threads or GUI controls).

I've put the pop3 reader in a background thread. I've made it lowest
priority. But when its downloading 40KBytes it locks everything up.

If I download messages it locks the app up too.

Its a Csharp Form based app. I have windows.form timers triggering the
threads (I tried Threading timers too).

They all do the same. When I download, nothing works.

I tried async reads, that didn't work. If you need to see the code let me
know.

Any ideas would be appreciatted.

Thanks,
Bill
Sep 20 '07 #1
3 984
news wrote:
I have a couple of classes I use. They both work. The problem is if there is
a bunch of messages, while they are being downloaded nothing else works
(other threads or GUI controls).

[...]
I tried async reads, that didn't work. If you need to see the code let me
know.
If you want serious help, you'll need to post a concise-but-complete
example of code.

That said, when the app "locks up" and you interrupt the application in
the debugger, where are your threads stopped? Applications don't just
stop for no reason; if they stop responding, they are stuck somewhere.
Your first step is to use the debugger and find out where your
application is stuck.

Pete
Sep 20 '07 #2
Try with your anti-virus disabled...

"Peter Duniho" <Np*********@NnOwSlPiAnMk.comwrote in message
news:13************@corp.supernews.com...
news wrote:
I have a couple of classes I use. They both work. The problem is if
there is
a bunch of messages, while they are being downloaded nothing else works
(other threads or GUI controls).

[...]
I tried async reads, that didn't work. If you need to see the code let
me
know.

If you want serious help, you'll need to post a concise-but-complete
example of code.

That said, when the app "locks up" and you interrupt the application in
the debugger, where are your threads stopped? Applications don't just
stop for no reason; if they stop responding, they are stuck somewhere.
Your first step is to use the debugger and find out where your
application is stuck.

Pete

Sep 20 '07 #3
some internet providers ( Comcast would be an example ) only allow one
session on an email account at a time.

"TheSteph" <Th******@NoSpam.comwrote in message
news:ul****************@TK2MSFTNGP05.phx.gbl...
Try with your anti-virus disabled...

"Peter Duniho" <Np*********@NnOwSlPiAnMk.comwrote in message
news:13************@corp.supernews.com...
>news wrote:
I have a couple of classes I use. They both work. The problem is if
there is
a bunch of messages, while they are being downloaded nothing else works
(other threads or GUI controls).

[...]
I tried async reads, that didn't work. If you need to see the code let
me
know.

If you want serious help, you'll need to post a concise-but-complete
example of code.

That said, when the app "locks up" and you interrupt the application in
the debugger, where are your threads stopped? Applications don't just
stop for no reason; if they stop responding, they are stuck somewhere.
Your first step is to use the debugger and find out where your
application is stuck.

Pete


Sep 22 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Paul Schmidt | last post by:
Dear list: I am new to python, and I am trying to figure out the short answer on something. I want to open a POP3 mailbox, read the enclosed mail using the POP3 module, , and then process it...
1
by: Lev Altshuler | last post by:
Hi, I am trying to count email messages in the mailbox and read their headers. In case that there are some messages on the POP3 server and they haven't yet got to the Inbox, I get a number of...
0
by: Eric McDaniel | last post by:
This may be a question for ActiveState support, but just in case anyone out there knows what the problem is... My call to Net::POP3->new() works fine when run through the perl interpreter, but...
2
by: Mike Brearley | last post by:
I need to write a script that will check a catch-all mailbox (pop3) and send a non delivery report back to the sender of the email. Background info: I have a domain hosted on a site that offers...
2
by: Shimon Sim | last post by:
Is there a way to get e-mails with attachments using .NET 2.0? If not does anybody knows a component that can do this? Thank you, Shimon.
0
by: =?Utf-8?B?Q2hhcmxlcw==?= | last post by:
Like many people, I normally use Yahoo! Mail via the web and like to keep all my emails stored on the Yahoo! server. However sometimes I can’t get access to a PC/the web and I download my emails...
11
by: mp- | last post by:
I want to be able to allow people to check their email from my PHP online application. Given only the users 1) email address, 2) username (if applicable) and 3) password - how can I auto detect...
5
by: Craig Buchanan | last post by:
I would like to monitor a POP3 mailbox with multiple clients. However, I want to ensure that each message is processed by only one client. In essence, I would like to treat a POP3 mailbox like a...
9
by: zmickle | last post by:
Experts and books all say that you can share an Access back end on a shared drive with the front end running on each host computer. I have a simple database that tracks student data and it is...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.