Skip to content

Class SmtpInvitationDeliveryServiceCollectionExtensions

Namespace: Cephalon.MultiTenancy.Governance.SmtpDelivery.Hosting
Assembly: Cephalon.MultiTenancy.Governance.SmtpDelivery.dll

Adds SMTP relay invitation delivery services to a Cephalon host.

public static class SmtpInvitationDeliveryServiceCollectionExtensions

objectSmtpInvitationDeliveryServiceCollectionExtensions

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()

AddCephalonSmtpInvitationDelivery(IServiceCollection, IConfiguration, Action<SmtpInvitationDeliveryOptions>?)

Section titled “ AddCephalonSmtpInvitationDelivery(IServiceCollection, IConfiguration, Action<SmtpInvitationDeliveryOptions>?)”

Adds SMTP invitation delivery using configuration as the primary source of relay settings.

public static IServiceCollection AddCephalonSmtpInvitationDelivery(this IServiceCollection services, IConfiguration configuration, Action<SmtpInvitationDeliveryOptions>? configure = null)

services IServiceCollection

The target service collection.

configuration IConfiguration

The application configuration root.

configure Action<SmtpInvitationDeliveryOptions>?

An optional callback that can extend or override the configuration-driven setup.

IServiceCollection

The same service collection for further registration.

AddCephalonSmtpInvitationDelivery(IServiceCollection, Action<SmtpInvitationDeliveryOptions>?)

Section titled “ AddCephalonSmtpInvitationDelivery(IServiceCollection, Action<SmtpInvitationDeliveryOptions>?)”

Adds SMTP invitation delivery using code-first configuration.

public static IServiceCollection AddCephalonSmtpInvitationDelivery(this IServiceCollection services, Action<SmtpInvitationDeliveryOptions>? configure = null)

services IServiceCollection

The target service collection.

configure Action<SmtpInvitationDeliveryOptions>?

An optional callback that configures the SMTP invitation delivery sender.

IServiceCollection

The same service collection for further registration.