EmailSettings Class

Summary

Class that lets you override default API settings.
Assembly
Cake.Email.dll
Namespace
Cake.Email
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["EmailSettings"] class Type type-node

Syntax

public sealed class EmailSettings

Attributes

Type Description
CakeAliasCategoryAttribute

Constructors

Name Summary
EmailSettings()

Properties

Name Value Summary
EnableSsl bool
Gets or sets a value indicating whether the connection should be encrypted using Ssl.
Password string
Gets or sets the password.
Port int
Gets or sets the port of the SMTP host.
SmtpHost string
Gets or sets the SMTP host.
ThrowOnFail Nullable<bool>
Gets or sets the Optional flag for if should throw exception on failure.
Username string
Gets or sets the username.

Extension Methods

Name Value Summary
Dump<EmailSettings>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<EmailSettings>(EmailSettings[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<EmailSettings>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<EmailSettings>(string) void
Requires the Cake.Issues addin
ThrowIfNull<EmailSettings>(string, string) T
Throws a System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<EmailSettings>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin
ToStringWithNullMarkup() string
Requires the Cake.Issues addin