Click here to Skip to main content
15,887,596 members
Home / Discussions / C#
   

C#

 
GeneralUnique Remote thread/context ID Pin
Dr Herbie18-Sep-03 3:31
Dr Herbie18-Sep-03 3:31 
GeneralRe: Unique Remote thread/context ID Pin
Arjan Einbu18-Sep-03 6:33
Arjan Einbu18-Sep-03 6:33 
GeneralRe: Unique Remote thread/context ID Pin
Dr Herbie18-Sep-03 22:30
Dr Herbie18-Sep-03 22:30 
GeneralClosing an MDI Child Form Pin
.gonad18-Sep-03 3:02
.gonad18-Sep-03 3:02 
GeneralRe: Closing an MDI Child Form Pin
.gonad18-Sep-03 3:37
.gonad18-Sep-03 3:37 
GeneralRe: Closing an MDI Child Form Pin
sumeat18-Sep-03 15:13
sumeat18-Sep-03 15:13 
GeneralScroll using keyboard on Printpreview control Pin
Subrat_Gaur17-Sep-03 22:08
Subrat_Gaur17-Sep-03 22:08 
GeneralPOP3 C# client having authentication problems when trying to retrieve emails from POP3 server Pin
silentweedhopper17-Sep-03 22:03
silentweedhopper17-Sep-03 22:03 
Hi,

We have developed a POP3 client in C# . When we start this client on our local computer it is supposed to retrieve the email messages from a remote POP3 server automatically, and put these email messages(and any attachments) in the corresponding folders on our local machine. After retrieving the messages it deletes the downloaded messages from the remote server and then the POP3 client quits.

This POP3 client is (thread based) constantly running and attempts to reconnect to the server every 30 secs to automatically download the new emails that have arrived on the server. The problem is we are having is that the POP3 client is repeatedly having authentication problems. Somtimes it connects succesfully and sometimes it does not. Below is a log file that shows the log information generated by the POP3 client in 2 iterations. First it connects fine and retrieves an email successfully, and then it QUITS. After 30 secs it re-attempts to connect to check for more emails but as you can then see it then gives the error -ERR . We dont understand why this is happening since the same password was successful in the first attempt. Cry | :((

Thanks for any Help

================================FIRST ITERATION===================================

18 October 2003
Connecting to server...
Connected successfully...
Creating input / output streams
Stream created successfully..
+OK
Sending Command: USER enquiries@hotpop.com
Recieving Data...
Data Found: +OK
Sending Command: PASS abhcyshk
Recieving Data...
Data Found: +OK
Sending Command: STAT
Recieving Data...
Data Found: +OK 2 2119
Sending Command: RETR 1
Recieving Data...
Data Found: +OK 1065 octets
------------------------------To: enquiries@hotpop.com
------------------------------From: shooshoo@hotmail.com
------------------------------Subject: test 2 from cwazy
------------------------------ContentType: text/plain;charset=iso
Sending Command: DELE 1
Recieving Data...
Data Found: +OK
Sending Command: QUIT

==============================SECOND ITERATION =====================================

18 October 2003
Connecting to server...
Connected successfully...
Creating input / output streams
Stream created successfully..
+OK
Sending Command: USER enquiries@hotpop.com
Recieving Data...
Data Found: +OK
Sending Command: PASS abhcyshk
Recieving Data...
Data Found: -ERR
Sending Command: QUIT
Recieving Data...
Data Found:
================================================================================

hmmm?
GeneralRe: POP3 C# client having authentication problems when trying to retrieve emails from POP3 server Pin
Steve S18-Sep-03 2:29
Steve S18-Sep-03 2:29 
GeneralRe: POP3 C# client having authentication problems when trying to retrieve emails from POP3 server Pin
MeisterBiber20-Sep-03 11:22
MeisterBiber20-Sep-03 11:22 
GeneralHaving trouble scrolling a RichTextBox Pin
Anonymous17-Sep-03 17:52
Anonymous17-Sep-03 17:52 
GeneralRe: Having trouble scrolling a RichTextBox Pin
J. Dunlap17-Sep-03 18:16
J. Dunlap17-Sep-03 18:16 
GeneralOh, OnPaintBackground! Pin
Arun Bhalla17-Sep-03 12:53
Arun Bhalla17-Sep-03 12:53 
GeneralRe: Oh, OnPaintBackground! Pin
leppie18-Sep-03 7:07
leppie18-Sep-03 7:07 
GeneralRe: Oh, OnPaintBackground! Pin
Arun Bhalla18-Sep-03 7:12
Arun Bhalla18-Sep-03 7:12 
GeneralRe: Oh, OnPaintBackground! Pin
leppie18-Sep-03 7:36
leppie18-Sep-03 7:36 
GeneralDataGrid binding issues Pin
james-cxx17-Sep-03 12:35
james-cxx17-Sep-03 12:35 
GeneralRe: DataGrid binding issues Pin
Braulio Dez19-Sep-03 2:17
Braulio Dez19-Sep-03 2:17 
GeneralC# Wrapper Variant SafeArray Pin
Member 301660717-Sep-03 11:16
Member 301660717-Sep-03 11:16 
GeneralPermanent Line on form Pin
pahluwalia17-Sep-03 10:27
pahluwalia17-Sep-03 10:27 
GeneralRe: Permanent Line on form Pin
Arjan Einbu17-Sep-03 21:07
Arjan Einbu17-Sep-03 21:07 
GeneralTyped Dataset default value Pin
mthead17-Sep-03 9:29
mthead17-Sep-03 9:29 
GeneralSerializing objects. Pin
kalla17-Sep-03 9:21
kalla17-Sep-03 9:21 
GeneralRe: Serializing objects. Pin
rak17-Sep-03 20:24
rak17-Sep-03 20:24 
GeneralRe: Serializing objects. Pin
kalla12318-Sep-03 5:39
kalla12318-Sep-03 5:39 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.