EmailSettings Class

Summary

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

Syntax

[CakeAliasCategory("Email")]
public sealed class EmailSettings

Attributes

Type Description
CakeAliasCategory

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 bool?
Gets or sets the Optional flag for if should throw exception on failure.
Username string
Gets or sets the username.