SmtpMail

Wrapper around an smtp mail.

Constructors

this
this()

Creates a new mail.

this
this(SmtpClientSettings settings)

Creates a new mail.

Members

Functions

addHeader
void addHeader(string name, string value)

Adds a header.

send
void send()

Sends a mail with the mails current settings.

send
void send(SmtpClientSettings settings)

Sends a mail using specific settings.

Properties

contentType
string contentType [@property getter]

Gets the content type.

contentType
string contentType [@property setter]

Sets the content type.

fromMail
string fromMail [@property getter]

Gets the from-mail.

fromMail
string fromMail [@property setter]

Sets the from-mail.

message
string message [@property getter]

Gets the message.

message
string message [@property setter]

Set the message.

recipient
string recipient [@property getter]

Gets the recipient.

recipient
string recipient [@property setter]

Sets the recipient.

sender
string sender [@property getter]

Gets the sender.

sender
string sender [@property setter]

Sets the sender.

subject
string subject [@property getter]

Gets the subject.

subject
string subject [@property setter]

Sets the subject.

Meta