Show / Hide Table of Contents

Class SMTPDestination

Implements log destination that sends emails

Inheritance
System.Object
DisposableObject
ApplicationComponent
Destination
SMTPDestination
Implements
IApplicationComponent
System.IDisposable
IConfigurable
IExternallyParameterized
Inherited Members
Destination.CONFIG_NAME_ATTR
Destination.CONFIG_FAILOVER_ATTR
Destination.CONFIG_GENERATE_FAILOVER_MSG_ATTR
Destination.CONFIG_ONLY_FAILURES_ATTR
Destination.CONFIG_MIN_LEVEL_ATTR
Destination.CONFIG_MAX_LEVEL_ATTR
Destination.CONFIG_LEVELS_ATTR
Destination.CONFIG_DAYS_OF_WEEK_ATTR
Destination.CONFIG_START_DATE_ATTR
Destination.CONFIG_END_DATE_ATTR
Destination.CONFIG_START_TIME_ATTR
Destination.CONFIG_END_TIME_ATTR
Destination.CONFIG_FILTER_ATTR
Destination.CONFIG_TEST_ON_START_ATTR
Destination.CONFIG_NAME_DEFAULT
Destination.CONFIG_MAX_PROCESSING_TIME_MS_ATTR
Destination.CONFIG_MAX_PROCESSING_TIME_MS_MIN_VALUE
Destination.CONFIG_RESTART_PROCESSING_AFTER_MS_ATTR
Destination.CONFIG_RESTART_PROCESSING_AFTER_MS_DEFAULT
Destination.PROCESSING_TIME_EMA_FILTER
Destination.m_Owner
Destination.m_Name
Destination.DirectorLog
Destination.Service
Destination.Owner
Destination.Name
Destination.Filter
Destination.FilterMethod
Destination.LastError
Destination.MinLevel
Destination.MaxLevel
Destination.Levels
Destination.DaysOfWeek
Destination.StartDate
Destination.EndDate
Destination.StartTime
Destination.EndTime
Destination.OnlyFailures
Destination.GenerateFailoverMessages
Destination.Failover
Destination.TestOnStart
Destination.MaxProcessingTimeMs
Destination.Channel
Destination.AverageProcessingTimeMs
Destination.RestartProcessingAfterMs
Destination.ExternalParameters
Destination.ExternalParametersForGroups(String[])
Destination.Configure(IConfigSectionNode)
Destination.Before
Destination.After
Destination.Send(Message)
Destination.Pulse()
Destination.ParseLevels(String)
Destination.ExternalGetParameter(String, Object, String[])
Destination.ExternalSetParameter(String, Object, String[])
Destination.DoConfigure(IConfigSectionNode)
Destination.SetError(Exception, Message)
Destination.DoPulse()
ApplicationComponent.AllComponents
ApplicationComponent.GetAppComponentBySID(UInt64)
ApplicationComponent.GetAppComponentByCommonName(String)
ApplicationComponent.ComponentSID
ApplicationComponent.ComponentStartTime
ApplicationComponent.ComponentCommonName
ApplicationComponent.ComponentDirector
DisposableObject.DisposeAndNull<T>(T)
DisposableObject.DisposeStarted
DisposableObject.Disposed
DisposableObject.EnsureObjectNotDisposed()
DisposableObject.Dispose()
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)
System.Object.ToString()
Namespace: NFX.Log.Destinations
Assembly: NFX.dll
Syntax
public class SMTPDestination : Destination, IApplicationComponent, IDisposable, IConfigurable, IExternallyParameterized

Constructors

SMTPDestination()

Creates a new instance of destination that sends EMails

Declaration
public SMTPDestination()

SMTPDestination(String, String, Int32, Boolean)

Creates a new instance of destination that sends EMails

Declaration
public SMTPDestination(string name, string host, int port, bool ssl)
Parameters
Type Name Description
System.String name
System.String host
System.Int32 port
System.Boolean ssl

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

Close()

Declaration
public override void Close()
Overrides
Destination.Close()

Destructor()

Declaration
protected override void Destructor()
Overrides
Destination.Destructor()

DoSend(Message)

Declaration
protected override void DoSend(Message entry)
Parameters
Type Name Description
Message entry
Overrides
Destination.DoSend(Message)

Open()

Declaration
public override void Open()
Overrides
Destination.Open()

Implements

IApplicationComponent
System.IDisposable
IConfigurable
IExternallyParameterized

Extension Methods

MiscUtils.NonNull<T>(T, Func<Exception>, String)
ObjectValueConversion.AsString(Object, String, ConvertErrorHandling)
ObjectValueConversion.AsNonNullOrEmptyString(Object)
ObjectValueConversion.AsLaconicConfig(Object, ConfigSectionNode, String, ConvertErrorHandling)
ObjectValueConversion.AsJSONConfig(Object, ConfigSectionNode, String, ConvertErrorHandling)
ObjectValueConversion.AsXMLConfig(Object, ConfigSectionNode, ConvertErrorHandling)
ObjectValueConversion.AsChar(Object, Char, ConvertErrorHandling)
ObjectValueConversion.AsNullableChar(Object, Nullable<Char>, ConvertErrorHandling)
ObjectValueConversion.AsByte(Object, Byte, ConvertErrorHandling)
ObjectValueConversion.AsNullableByte(Object, Nullable<Byte>, ConvertErrorHandling)
ObjectValueConversion.AsSByte(Object, SByte, ConvertErrorHandling)
ObjectValueConversion.AsNullableSByte(Object, Nullable<SByte>, ConvertErrorHandling)
ObjectValueConversion.AsShort(Object, Int16, ConvertErrorHandling)
ObjectValueConversion.AsNullableShort(Object, Nullable<Int16>, ConvertErrorHandling)
ObjectValueConversion.AsUShort(Object, UInt16, ConvertErrorHandling)
ObjectValueConversion.AsNullableUShort(Object, Nullable<UInt16>, ConvertErrorHandling)
ObjectValueConversion.AsInt(Object, Int32, ConvertErrorHandling)
ObjectValueConversion.AsNullableInt(Object, Nullable<Int32>, ConvertErrorHandling)
ObjectValueConversion.AsUInt(Object, UInt32, ConvertErrorHandling)
ObjectValueConversion.AsNullableUInt(Object, Nullable<UInt32>, ConvertErrorHandling)
ObjectValueConversion.AsLong(Object, Int64, ConvertErrorHandling)
ObjectValueConversion.AsNullableLong(Object, Nullable<Int64>, ConvertErrorHandling)
ObjectValueConversion.AsULong(Object, UInt64, ConvertErrorHandling)
ObjectValueConversion.AsNullableULong(Object, Nullable<UInt64>, ConvertErrorHandling)
ObjectValueConversion.AsDouble(Object, Double, ConvertErrorHandling)
ObjectValueConversion.AsNullableDouble(Object, Nullable<Double>, ConvertErrorHandling)
ObjectValueConversion.AsFloat(Object, Single, ConvertErrorHandling)
ObjectValueConversion.AsNullableFloat(Object, Nullable<Single>, ConvertErrorHandling)
ObjectValueConversion.AsDecimal(Object, Decimal, ConvertErrorHandling)
ObjectValueConversion.AsNullableDecimal(Object, Nullable<Decimal>, ConvertErrorHandling)
ObjectValueConversion.AsBool(Object, Boolean, ConvertErrorHandling)
ObjectValueConversion.AsNullableBool(Object, Nullable<Boolean>, ConvertErrorHandling)
ObjectValueConversion.AsGUID(Object, Guid, ConvertErrorHandling)
ObjectValueConversion.AsNullableGUID(Object, Nullable<Guid>, ConvertErrorHandling)
ObjectValueConversion.AsDateTime(Object)
ObjectValueConversion.AsDateTime(Object, DateTime, ConvertErrorHandling)
ObjectValueConversion.AsNullableDateTime(Object, Nullable<DateTime>, ConvertErrorHandling)
ObjectValueConversion.AsGDID(Object)
ObjectValueConversion.AsGDID(Object, GDID, ConvertErrorHandling)
ObjectValueConversion.AsNullableGDID(Object, Nullable<GDID>, ConvertErrorHandling)
ObjectValueConversion.AsGDIDSymbol(Object)
ObjectValueConversion.AsGDIDSymbol(Object, GDIDSymbol, ConvertErrorHandling)
ObjectValueConversion.AsNullableGDIDSymbol(Object, Nullable<GDIDSymbol>, ConvertErrorHandling)
ObjectValueConversion.AsTimeSpan(Object)
ObjectValueConversion.AsTimeSpan(Object, TimeSpan, ConvertErrorHandling)
ObjectValueConversion.AsNullableTimeSpan(Object, Nullable<TimeSpan>, ConvertErrorHandling)
ObjectValueConversion.AsEnum<TEnum>(Object, TEnum, ConvertErrorHandling)
ObjectValueConversion.AsNullableEnum<TEnum>(Object, Nullable<TEnum>, ConvertErrorHandling)
ObjectValueConversion.AsUri(Object, Uri, ConvertErrorHandling)
JSONExtensions.ToJSON(Object, JSONWritingOptions)
JSONExtensions.ToJSON(Object, TextWriter, JSONWritingOptions)
JSONExtensions.ToJSON(Object, Stream, JSONWritingOptions, Encoding)
ErlObject.ToErlObject(Object)
ErlObject.ToErlObject(Object, ErlTypeOrder, Boolean)
Back to top Copyright © 2006-2018 Agnicore Inc
Generated by DocFX