SmtpEmailProviderType

Namespace: Proffer.Email.Smtp

Builds SmtpEmailProvider.

public class SmtpEmailProviderType : Proffer.Email.IEmailProviderType

Inheritance ObjectSmtpEmailProviderType
Implements IEmailProviderType

Properties

Name

Gets the name.

public string Name { get; }

Property Value

String

Constructors

SmtpEmailProviderType(IServiceProvider)

Initializes a new instance of the SmtpEmailProviderType class.

public SmtpEmailProviderType(IServiceProvider serviceProvider)

Parameters

serviceProvider IServiceProvider
The service provider.

Methods

BuildProvider(IEmailProviderOptions)

Builds the provider.

public IEmailProvider BuildProvider(IEmailProviderOptions providerOptions)

Parameters

providerOptions IEmailProviderOptions
The provider options.

Returns

IEmailProvider

        A new .