ae v0.0.2824 (2020-10-12T01:09:09Z)
Home
Dub
Repo
SmtpClient
ae
net
smtp
client
One SmtpClient instance connects, sends one message, and disconnects.
class
SmtpClient {
enum
State
;
State
state
[@property getter];
this
(Logger log, string localDomain, string server, ushort port);
void
delegate
()
handleSent
;
void
delegate
()
handleStateChanged
;
void
delegate
(
string
message
)
handleError
;
void
sendMessage
(string from, string to, string[] data);
}
Constructors
this
this
(Logger log, string localDomain, string server, ushort port)
Undocumented in source.
Members
Enums
State
enum
State
Undocumented in source.
Functions
sendMessage
void
sendMessage
(string from, string to, string[] data)
Undocumented in source. Be warned that the author may not have intended to support it.
Properties
state
State
state
[@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
Variables
handleError
void
delegate
(
string
message
)
handleError
;
Undocumented in source.
handleSent
void
delegate
()
handleSent
;
Undocumented in source.
handleStateChanged
void
delegate
()
handleStateChanged
;
Undocumented in source.
Meta
Source
See Implementation
ae
net
smtp
client
classes
SmtpClient
One SmtpClient instance connects, sends one message, and disconnects.