mailio icon indicating copy to clipboard operation
mailio copied to clipboard

pop3 to connect the server but no response!

Open lofonder opened this issue 1 year ago • 1 comments

I‘ve connected to the mail server by using the new pop3(host,port,timeout); and connected. but the server didnt response anything after I fetching some mails. I tested the server by using the pop3 command line of 'TOP n 0'. sometimes the server responsed the text -ERR and sometimes the server don't response anything even though the time out of the timeout value. I dont know how to solve this problem.could u give an example?cause when I set the timeout value for the pop3 ,but the program still crashed.it seemed that the timeout variaties didnt work.

void dialog::send(const string& line) { if (timeout_.count() == 0) send_sync(*socket_, line); else send_async(*socket_, line); }

lofonder avatar Sep 26 '24 15:09 lofonder

Did you try some of the POP3 examples?

karastojko avatar Sep 30 '24 20:09 karastojko