153 bool starttls =
False;
163 bool logged_in =
False;
172 bool log_pass =
False;
174 const MaxDebugLine = 2048;
181 const POP3Port = 110;
184 const POP3SPort = 995;
188 "pop3": (
"tls":
False,
"port": POP3Port),
189 "pop3s": (
"tls":
True,
"port": POP3SPort),
212 constructor(
string url, *code log, *code dbglog);
229 logPassword(
bool pwd);
271 starttls(
bool n_starttls);
292 noquit(
bool n_noquit);
456 setReadTimeout(timeout to);
465 int getReadTimeoutMs();
474 date getReadTimeoutDate();
483 setConnectTimeout(timeout to);
492 int getConnectTimeoutMs();
501 date getConnectTimeoutDate();
525 nothing clearWarningQueue();
559 nothing setWarningQueue(
int warning_ms,
int warning_bs, Queue queue,
auto arg, timeout min_ms = 1s);
601 final disconnectIntern();
615 final hash statIntern();
622 final *
hash listIntern();
629 string readLine(timeout to);
637 final string getResponse();
645 final list getResponseMulti();
654 final string getResponseMultiStr();
673 final sendCommandIntern(
string str,
bool masked =
False);
680 final list sendCommandMulti(
string str);
687 final string sendCommandMultiStr(
string str);
694 final string sendCommand(
string str);
701 final string sendCommandMasked(
string str);
707 loginIntern(
string r);
726 forceDisconnectIntern();
class for POP3 connections; returns an object of class Pop3Client for receiving or polling for emails...
Definition: Pop3Client.qm.dox.h:739
const DefaultConnectTimeout
30 second connect timeout
Definition: Pop3Client.qm.dox.h:114
constructor(string name, string desc, string url, bool monitor, *hash opts, hash urlh)
creates the Pop3Connection object
the main namespace for the Pop3Client module
Definition: Pop3Client.qm.dox.h:109
Pop3Client getImpl(bool connect=True, *hash rtopts)
returns a Pop3Client object
static Pop3Connection make(string name, string desc, string url, bool monitor, *hash opts, hash urlh)
static constructor
*hash getRuntimeOptions()
returns runtime options
string getType()
returns "pop3"
const DefaultReadTimeout
15 second read timeout
Definition: Pop3Client.qm.dox.h:111