215 bool logged_in =
False;
226 const MaxDebugLine = 2048;
236 const SmtpsPort = 465;
239 const EsmtpPort = 587;
278 constructor(
string host, softint port, *code log, *code dbglog);
295 constructor(
string url, *code log, *code dbglog);
332 setUserPass(
string user,
string pass);
362 setReadTimeout(timeout to);
366 int getReadTimeoutMs();
370 date getReadTimeoutDate();
374 setConnectTimeout(timeout to);
378 int getConnectTimeoutMs();
382 date getConnectTimeoutDate();
417 nothing clearWarningQueue();
451 nothing setWarningQueue(
int warning_ms,
int warning_bs, Queue queue, any arg, timeout min_ms = 1s);
491 final private disconnectIntern();
494 private log(
string msg);
497 private logDbg(
string msg);
500 private connectIntern();
503 private loginIntern();
507 private sendDataIntern(data str);
511 private sendData(
string str);
515 private sendData(
binary b);
520 final private hash sendCommand(
string str);
524 private string readLine(timeout to);
532 private forceDisconnectIntern();
the class that's used to communicate with an SMTP server and supports optional TLS/SSL encryption ...
Definition: SmtpClient.qm.dox.h:180
const DefaultReadTimeout
15 second read timeout
Definition: SmtpClient.qm.dox.h:149
const DefaultConnectTimeout
30 second connect timeout
Definition: SmtpClient.qm.dox.h:152
for backwards-compatibility only
Definition: SmtpClient.qm.dox.h:171
for backwards-compatibility and convenience
Definition: SmtpClient.qm.dox.h:155
constructor(string sender, string subject)
creates a Message object from the arguments given; this variant of the constructor is designed to be ...