CakeMailSettings Class

Summary

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

Syntax

public sealed class CakeMailSettings

Attributes

Type Description
CakeAliasCategoryAttribute

Constructors

Name Summary
CakeMailSettings()

Properties

Name Value Summary
ApiKey string
Gets or sets the ApiKey used for authentication.
Password string
Gets or sets the password used for authentication.
ThrowOnFail Nullable<bool>
Gets or sets the Optional flag for if should throw exception on failure.
UserName string
Gets or sets the username used for authentication.

Extension Methods

Name Value Summary
Dump<CakeMailSettings>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<CakeMailSettings>(CakeMailSettings[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<CakeMailSettings>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<CakeMailSettings>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Issues addin
ThrowIfNull<CakeMailSettings>(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<CakeMailSettings>(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