I am trying to clear a mailbox, with the method below (excuse the vb, not my fault):
Public Sub DeleteAllMessages()
If _pop3Client Is Nothing Then
_pop3Client = BuildPop3()
End If
If Not _pop3Client.IsConnected Then
ConnectPop3()
End If
_pop3Client.DeleteAllMessages()
_pop3Client.Disconnect(True)
End Sub
Yet GetMessageCount still always returns a 7, i.e nothing seems to be getting deleted. Then, I don't see any DELE command in the log file written:
Connected to pop://mail.amadigital.com:110/?starttls=when-available
S: +OK POP3
C: CAPA
S: +OK CAPA list follows
S: USER
S: UIDL
S: TOP
S: .
C: USER process@amadigital.com
S: +OK Send your password
C: PASS ADproc14
S: +OK Mailbox locked and ready
C: CAPA
S: +OK CAPA list follows
S: USER
S: UIDL
S: TOP
S: .
C: QUIT
S: +OK POP3 server saying goodbye...
My own DeleteAllMessages is the only method called, so I know only this method writing to the log.
I am trying to clear a mailbox, with the method below (excuse the vb, not my fault):
Yet
GetMessageCountstill always returns a 7, i.e nothing seems to be getting deleted. Then, I don't see any DELE command in the log file written:My own
DeleteAllMessagesis the only method called, so I know only this method writing to the log.