136 bool starttls =
False;
146 bool logged_in =
False;
155 bool log_pass =
False;
157 const MaxDebugLine = 2048;
164 const POP3Port = 110;
167 const POP3SPort = 995;
171 "pop3": (
"tls":
False,
"port": POP3Port),
172 "pop3s": (
"tls":
True,
"port": POP3SPort),
195 constructor(
string url, *code log, *code dbglog);
212 logPassword(
bool pwd);
254 starttls(
bool starttls);
439 setReadTimeout(timeout to);
448 int getReadTimeoutMs();
457 date getReadTimeoutDate();
466 setConnectTimeout(timeout to);
475 int getConnectTimeoutMs();
484 date getConnectTimeoutDate();
508 nothing clearWarningQueue();
542 nothing setWarningQueue(
int warning_ms,
int warning_bs, Queue queue, any arg, timeout min_ms = 1s);
582 final private disconnectIntern();
590 final private hash statIntern();
594 final private *
hash listIntern();
598 private string readLine(timeout to);
603 final private string getResponse();
608 final private list getResponseMulti();
614 final private string getResponseMultiStr();
617 private log(
string msg);
620 private logDbg(
string msg);
624 final private sendCommandIntern(
string str,
bool masked =
False);
628 final private list sendCommandMulti(
string str);
632 final private string sendCommandMultiStr(
string str);
636 final private string sendCommand(
string str);
640 final private string sendCommandMasked(
string str);
643 private loginIntern(
string r);
646 private doSSLIntern();
650 private connectIntern();
653 private forceDisconnectIntern();
const DefaultConnectTimeout
30 second connect timeout
Definition: Pop3Client.qm.dox.h:97
This class provides the interface to POP3 servers and supports optional TLS/SSL encryption.
Definition: Pop3Client.qm.dox.h:113
const DefaultReadTimeout
15 second read timeout
Definition: Pop3Client.qm.dox.h:94