Class SMTPMessageSink
Implements msg sink based on SMTPClient
Inheritance
System.Object
SMTPMessageSink
Implements
System.IDisposable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Assembly: Azos.Web.dll
Syntax
public class SMTPMessageSink : MessageSink, IDisposable, IDaemon, IDaemonView, IApplicationComponent, INamed, ILocalizedTimeProvider, IInstrumentable, IExternallyParameterized, IMessageSink, IConfigurable
Constructors
SMTPMessageSink(MessageDaemon)
Declaration
public SMTPMessageSink(MessageDaemon director)
Parameters
Fields
DEFAULT_SMTP_PORT
Declaration
public const int DEFAULT_SMTP_PORT = 587
Field Value
Type |
Description |
System.Int32 |
|
Properties
CredentialsID
Declaration
[Config]
public string CredentialsID { get; set; }
Property Value
Type |
Description |
System.String |
|
CredentialsPassword
Declaration
[Config]
public string CredentialsPassword { get; set; }
Property Value
Type |
Description |
System.String |
|
DefaultFromAddress
Declaration
[Config]
public string DefaultFromAddress { get; set; }
Property Value
Type |
Description |
System.String |
|
DefaultFromName
Declaration
[Config]
public string DefaultFromName { get; set; }
Property Value
Type |
Description |
System.String |
|
DropFolder
Declaration
[Config]
public string DropFolder { get; set; }
Property Value
Type |
Description |
System.String |
|
SmtpHost
Declaration
[Config]
public string SmtpHost { get; set; }
Property Value
Type |
Description |
System.String |
|
SmtpPort
Declaration
[Config(Default = 587)]
public int SmtpPort { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
SmtpSSL
Declaration
[Config]
public bool SmtpSSL { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
SupportedChannels
Declaration
public override MsgChannels SupportedChannels { get; }
Property Value
Overrides
Methods
Destructor()
Declaration
protected override void Destructor()
Overrides
DoSendMsg(Message)
Declaration
protected override bool DoSendMsg(Message msg)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Overrides
DoStart()
Declaration
protected override void DoStart()
Overrides
DoWaitForCompleteStop()
Declaration
protected override void DoWaitForCompleteStop()
Overrides
Implements
System.IDisposable
Extension Methods