Creates a new EmailPersistence strategy.

Namespace: Keystone.Almanac.Email
Assembly: Keystone.Almanac.Email (in Keystone.Almanac.Email.dll)

public EmailPersistence( 
string fromDisplayName
string toEmailAddress
string smtpServer
int smtpPort
bool smtpRequireSsl
string smtpUserName
string smtpUserPassword 
)
This language is not supported or no code example is available.

Parameters

fromDisplayName

Type: string

The display name of the email message sender.

toEmailAddress

Type: string

The valid email address of the email message receiver.

smtpServer

Type: string

The valid SMTP server address.

smtpPort

Type: int

The SMTP server listening port.

smtpRequireSsl

Type: bool

Whether the SMTP server requires SSL or TLS to establish a connection.

smtpUserName

Type: string

The user name that will be used to sign-in on the SMTP server.

smtpUserPassword

Type: string

The user password that will be used to sign-in on the SMTP server.

Windows, Windows Server, OS X, macOS, iOS, tvOS, Android, Linux, AWS, Azure

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 4.6

Others

Xamarin, Mono