Show / Hide Table of Contents

Class NullSystemEmailSenderService

A null system email sender service.

Inheritance
System.Object
NullSystemEmailSenderService
Implements
ISystemEmailSenderService
IEmailSenderService
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)
System.Object.ToString()
Namespace: Kephas.Mail.Services
Assembly: Kephas.Mail.dll
Syntax
[OverridePriority(Priority.Lowest)]
public class NullSystemEmailSenderService : ISystemEmailSenderService, IEmailSenderService

Methods

| Improve this Doc View Source

CreateEmailMessageBuilder(IContext)

Creates email message builder.

Declaration
public IEmailMessageBuilder CreateEmailMessageBuilder(IContext context = null)
Parameters
Type Name Description
IContext context

The sending context.

Returns
Type Description
IEmailMessageBuilder

The new email message builder.

| Improve this Doc View Source

SendAsync(IEmailMessage, IContext, CancellationToken)

Sends an email asynchronously.

Declaration
public Task SendAsync(IEmailMessage emailMessage, IContext context = null, CancellationToken cancellationToken = default(CancellationToken))
Parameters
Type Name Description
IEmailMessage emailMessage

The email message.

IContext context

The sending context.

System.Threading.CancellationToken cancellationToken

The cancellation token.

Returns
Type Description
System.Threading.Tasks.Task

An asynchronous result.

Implements

ISystemEmailSenderService
IEmailSenderService

Extension Methods

DynamicObjectExtensions.SetPropertyValue(Object, String, Object)
DynamicObjectExtensions.TrySetPropertyValue(Object, String, Object)
DynamicObjectExtensions.GetPropertyValue(Object, String)
DynamicObjectExtensions.TryGetPropertyValue(Object, String, out Object)
DynamicObjectExtensions.GetRuntimeTypeInfo(Object)
DynamicObjectExtensions.ToDynamic(Object)
DynamicObjectExtensions.ToExpando(Object)
BehaviorValue.ToBehaviorValue<TValue>(TValue)
CollectionExtensions.AddRange<T, TItem>(T, IEnumerable<TItem>)
LoggingExtensions.GetLogger(Object, IContext)
TypeExtensions.GetAbstractType(Object)
TypeExtensions.GetAbstractTypeInfo(Object)
ReflectionHelper.GetTypeInfo(Object)
EmailSenderServiceExtensions.SendAsync(IEmailSenderService, String, String)
EmailSenderServiceExtensions.SendAsync(IEmailSenderService, String, String, String)
EmailSenderServiceExtensions.SendAsync(IEmailSenderService, String[], String, String)
EntityEntryExtensions.TryGetAttachedEntityEntry(Object)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX