EmailAliases.

Email(ICakeContext) Method

Summary

Gets a EmailProvider instance that can be used for sending emails.
Assembly
Cake.Email.dll
Namespace
Cake.Email
Containing Type
EmailAliases

Syntax

public static EmailProvider Email(this ICakeContext context)

Attributes

Type Description
CakePropertyAliasAttribute
CakeNamespaceImportAttribute

Parameters

Name Type Description
context ICakeContext The context.

Return Value

Type Description
EmailProvider A EmailProvider instance.