How get data from POP3 Server ? I did socket and connect to POP3 server, but data not receiving.
Posted on 2003-12-26 14:59:25 by biorhitm
i think you have to connect, then recv, then parse the packet etc..

its been a long time since i played with pop3
so i might be wrong.. easiest way to see whats you shoud be sending is to run outlook express, and in the options->maintenance part you can turn on the debug log, which proved to be quite invaluable ;)
Posted on 2003-12-26 17:23:43 by evlncrn8
I do :
push 0
push AF_INET
call socket
mov hSocket,eax
push WM_USER+100
push wp_hWnd
push hSocket
call WSAAsyncSelect
push PortPOP3
call htons
mov sin.port,ax
push offset localhost
call gethostbyname
mov eax,
mov eax,
mov eax,
mov sin.addr,eax
push 16
push offset sin
push hSocket
call connect
Arises event FD_CONNECT, then event FD_READ, but:
push MSG_OOB
push 256
push offset buffer
push hSocket
call recv
Posted on 2003-12-26 19:34:50 by biorhitm
i getted. working
Posted on 2003-12-27 01:55:18 by biorhitm
AFAIK, bazik on this board had a mostly working POP3 client working.
He was going to release it open source, but I don't think he got that far.

Check it out!

Regards, P1 :cool:
Posted on 2004-01-16 13:02:33 by Pone
Thanks, but i did it.
Posted on 2004-01-16 16:38:04 by biorhitm