Re: Simple email pop3/smtp source - I get a bind error
- From: "Volodymyr M. Shcherbyna" <v_scherbina@xxxxxxxxxxxxxxx>
- Date: Tue, 13 May 2008 09:57:07 +0200
You still need to connect to server to trigger a "LIST" command. Take a look
at these implementations, it might help you:
http://www.codeproject.com/KB/IP/win32_pop3.aspx
http://www.codeproject.com/KB/IP/cpop3conn.aspx
Good luck,
--
V.
This posting is provided "AS IS" with no warranties, and confers no
rights.
"Test" <test@.nil.invalid.com> wrote in message
news:bsfi249faet2dgpmin52d4ae3q7tcduqgd@xxxxxxxxxx
"Volodymyr M. Shcherbyna" <v_scherbina@xxxxxxxxxxxxxxx> wrote:
As was already pointed out, you don't have to bind, you have to connect to
e-mail server. Look at inmplementation of client at
http://msmvps.com/blogs/v_scherbina/pages/winsock-faq.aspx it will give
you
a general hints on how to make a simple tcp client.
The client part is OK, but I want to receive the messages from the mail
server.
That is why I have a listen socket. For example when I send a command
"LIST" to
the mail.whatever -server Iit sends back info what it has available.
.
- Follow-Ups:
- References:
- Simple email pop3/smtp source - I get a bind error
- From: Test
- Re: Simple email pop3/smtp source - I get a bind error
- From: Volodymyr M. Shcherbyna
- Re: Simple email pop3/smtp source - I get a bind error
- From: Test
- Simple email pop3/smtp source - I get a bind error
- Prev by Date: Re: WinINet FTP Bug with passive connection
- Next by Date: Re: NTP/NetRemoteTOD And a zone of time
- Previous by thread: Re: Simple email pop3/smtp source - I get a bind error
- Next by thread: Re: Simple email pop3/smtp source - I get a bind error
- Index(es):
Relevant Pages
|