MailService Properties |
The MailService type exposes the following members.
Name | Description | |
---|---|---|
Application |
Gets or Sets the IAppContext object for the service.
(Inherited from ServiceBase.) | |
Attributes | Gets/Sets the service attributes. (Inherited from ServiceBase.) | |
AuthenticationType |
Specifies the authentication mechanism to use when authentication is required to send messages to an SMTP service using a TCP/IP network socket.
| |
Category | Gets/Sets the service category. (Inherited from ServiceBase.) | |
CheckNoSendList |
True if the mail service should check outgoing email address against the no send list.
| |
ComponentID | Gets/Sets the service component ID. (Inherited from ServiceBase.) | |
DefaultSenderAddress |
Gets/Sets the address to use when there is no FROM address supplied in the message.
| |
Disabled |
True if the mail service is disabled.
| |
EmailSendAttributes |
Gets/Sets the property to control the 'Sender' property of the email address.
The Sender can be different than the From address. If it is, then the message comes FROM the
Sender ON BEHALF OF the From address. This can improve results with spam filters.
| |
ID | Gets/Sets the service ID. (Inherited from ServiceBase.) | |
IsSendAsync |
Returns true if the service delivers mail asynchronously.
| |
IsValidConfig |
Returns true if the Smtp configuration is valid.
| |
Name | Gets/Sets the service name. (Inherited from ServiceBase.) | |
NoSendListCheckDuration |
Number of minutes that elapse between automatic refreshing of the no sender list
| |
Properties | Gets the service's configuration properties (Inherited from ServiceBase.) | |
SendAsync |
True if the mail should be sent using the ThreadPool, otherwise synchronous
| |
ServiceName |
Returns the name of the email service.
| |
SmtpPassword |
The password used to authenticate to an SMTP server using basic (clear-text) authentication.
| |
SmtpPort |
The port on which the SMTP service specified by the smtpserver field is listening for connections.
| |
SmtpServer |
The name of the e-mail relay server. If SmtpServer is not set, the name of the local SMTP server is used.
| |
SmtpUserName |
The username for authenticating to an SMTP server using basic (clear-text) authentication.
| |
Type | Gets/Sets the service type. (Inherited from ServiceBase.) | |
UseSSL |
True if the SMTP server should use SSL.
|