Class SmtpSink
Implements log sink that sends emails
Inheritance
System.Object
SmtpSink
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.dll
Syntax
public class SmtpSink : Sink, IDisposable, IDaemon, IDaemonView, IApplicationComponent, ILocalizedTimeProvider, IInstrumentable, IExternallyParameterized, IConfigurable, INamed, IOrdered
Constructors
SmtpSink(ISinkOwner)
Declaration
public SmtpSink(ISinkOwner owner)
Parameters
SmtpSink(ISinkOwner, String, Int32)
Declaration
public SmtpSink(ISinkOwner owner, string name, int order)
Parameters
Type |
Name |
Description |
ISinkOwner |
owner |
|
System.String |
name |
|
System.Int32 |
order |
|
Fields
DEFAULT_SMTP_PORT
Declaration
public const int DEFAULT_SMTP_PORT = 587
Field Value
Type |
Description |
System.Int32 |
|
Properties
Body
Declaration
[Config]
public string Body { get; set; }
Property Value
Type |
Description |
System.String |
|
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 |
|
DropFolder
Declaration
[Config]
public string DropFolder { get; set; }
Property Value
Type |
Description |
System.String |
|
FromAddress
Declaration
[Config]
public string FromAddress { get; set; }
Property Value
Type |
Description |
System.String |
|
FromName
Declaration
[Config]
public string FromName { 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 |
|
Subject
Declaration
[Config]
public string Subject { get; set; }
Property Value
Type |
Description |
System.String |
|
ToAddress
Declaration
[Config]
public string ToAddress { get; set; }
Property Value
Type |
Description |
System.String |
|
Methods
DoSend(Message)
Declaration
protected override void DoSend(Message entry)
Parameters
Type |
Name |
Description |
Message |
entry |
|
Overrides
DoStart()
Declaration
protected override void DoStart()
Overrides
DoWaitForCompleteStop()
Declaration
protected override void DoWaitForCompleteStop()
Overrides
Implements
System.IDisposable
Extension Methods