DefaultSmtpSender
Default IEmailSender implementation.
Gets or sets a value which is used to
configure if emails are going to be sent asyncrhonously or not.
Gets or sets the domain.
Gets the hostname.
Gets or sets the password.
Gets or sets the port used to
access the SMTP server
Gets or sets a value that specifies
the amount of time after which a synchronous Send call times out.
Gets or sets the name of the user.
Gets or sets a value indicating whether the email should be sent using
a secure communication channel.
public DefaultSmtpSender()
Initializes a new instance of the DefaultSmtpSender class based on the SmtpClient configuration provided in the application configuration file.
This service implementation
requires a host name in order to work
Configures the sender
with port information and eventual credential
informed
Sends a message.
Sends a message.