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 SmtpInvitationDeliveryServiceCollectionExtensionsInheritance
Section titled “Inheritance”object ← SmtpInvitationDeliveryServiceCollectionExtensions
Inherited Members
Section titled “Inherited Members”object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()
Methods
Section titled “Methods”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)Parameters
Section titled “Parameters”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.
Returns
Section titled “Returns”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)Parameters
Section titled “Parameters”services IServiceCollection
The target service collection.
configure Action<SmtpInvitationDeliveryOptions>?
An optional callback that configures the SMTP invitation delivery sender.
Returns
Section titled “Returns”The same service collection for further registration.