229 bool logged_in =
False;
240 const MaxDebugLine = 2048;
250 const SmtpsPort = 465;
253 const EsmtpPort = 587;
292 constructor(
string host, softint port, *code log, *code dbglog);
346 setUserPass(
string n_user,
string n_pass);
376 setReadTimeout(timeout to);
380 int getReadTimeoutMs();
384 date getReadTimeoutDate();
388 setConnectTimeout(timeout to);
392 int getConnectTimeoutMs();
396 date getConnectTimeoutDate();
431 nothing clearWarningQueue();
465 nothing setWarningQueue(
int warning_ms,
int warning_bs, Queue queue,
auto arg, timeout min_ms = 1s);
507 final disconnectIntern();
538 sendDataIntern(data str);
545 sendData(
string str);
560 final hash sendCommand(
string str);
567 string readLine(timeout to);
581 forceDisconnectIntern();
617 *
hash getRuntimeOptions();
const DefaultReadTimeout
15 second read timeout
Definition: SmtpClient.qm.dox.h:163
const DefaultConnectTimeout
30 second connect timeout
Definition: SmtpClient.qm.dox.h:166
class for SMTP connections; returns an object of class SmtpClient for sending emails ...
Definition: SmtpClient.qm.dox.h:594
for backwards-compatibility only
Definition: SmtpClient.qm.dox.h:185
for backwards-compatibility and convenience
Definition: SmtpClient.qm.dox.h:169
the SmtpClient namespace holds all public definitions in the SmtpClient module
Definition: SmtpClient.qm.dox.h:161
constructor(string sender, string subject)
creates a Message object from the arguments given; this variant of the constructor is designed to be ...