Castle.Components.Common.EmailSender
Abstracts an approach to send e-mails
Sends a message.
From field
To field
e-mail's subject
message's body
Sends a message.
Message instance
Sends multiple messages.
Array of messages
Uses Smtp to send emails.
This service implementation
requires a host name in order to work
The smtp server name
Sends a message.
If any of the parameters is null
From field
To field
e-mail's subject
message's body
Sends a message.
If the message is null
Message instance
Converts a message from Castle.Components.Common.EmailSender.Message type
to System.Web.Mail.MailMessage
The message to convert.
The converted message .
Configures the message or the sender
with port information and eventual credential
informed
Message instance
Gets or sets the port used to
access the SMTP server
Gets the hostname.
The hostname.
Gets or sets a value which is used to
configure if emails are going to be sent asyncrhonously or not.
Gets or sets a value that specifies
the amount of time after which a synchronous Send call times out.
Gets or sets the domain.
The domain.
Gets or sets the name of the user.
The name of the user.
Gets or sets the password.
The password.
Gets a value indicating whether credentials were informed.
if this instance has credentials; otherwise, .
Message formats
The body is composed of html content
The body is pure text
Message priority
Abstracts an e-mail message
Initializes a new instance of the class.
Initializes a new instance of the class.
From header.
To header.
The subject header.
The message body.
Represents a file attachment
Creates a new attachment
Look at System.Net.Mimie.MediaTypeNames for help.
Path to the file.
Creates a new attachment
Look at System.Net.Mime.MediaTypeNames for help.
File stream.
Gets the name of the file.
The name of the file.
Gets the type of the media.
The type of the media.
Gets the stream.
The stream.