220 bool logged_in =
False;
231 const MaxDebugLine = 2048;
241 const SmtpsPort = 465;
244 const EsmtpPort = 587;
283 constructor(
string host, softint port, *code log, *code dbglog);
300 constructor(
string url, *code log, *code dbglog);
337 setUserPass(
string n_user,
string n_pass);
367 setReadTimeout(timeout to);
371 int getReadTimeoutMs();
375 date getReadTimeoutDate();
379 setConnectTimeout(timeout to);
383 int getConnectTimeoutMs();
387 date getConnectTimeoutDate();
422 nothing clearWarningQueue();
456 nothing setWarningQueue(
int warning_ms,
int warning_bs, Queue queue, any arg, timeout min_ms = 1s);
496 final private disconnectIntern();
499 private log(
string msg);
502 private logDbg(
string msg);
505 private connectIntern();
508 private loginIntern();
512 private sendDataIntern(data str);
516 private sendData(
string str);
520 private sendData(
binary b);
525 final private hash sendCommand(
string str);
529 private string readLine(timeout to);
537 private forceDisconnectIntern();
const DefaultReadTimeout
15 second read timeout
Definition: SmtpClient.qm.dox.h:154
const DefaultConnectTimeout
30 second connect timeout
Definition: SmtpClient.qm.dox.h:157
for backwards-compatibility only
Definition: SmtpClient.qm.dox.h:176
for backwards-compatibility and convenience
Definition: SmtpClient.qm.dox.h:160
the SmtpClient namespace holds all public definitions in the SmtpClient module
Definition: SmtpClient.qm.dox.h:152
constructor(string sender, string subject)
creates a Message object from the arguments given; this variant of the constructor is designed to be ...