Email
extends PHPMailer
in package
Sends emails using HTML content generated by a View, wrapped in a standard template
Tags
Table of Contents
Properties
- $AllowedDomains : mixed
Methods
- __construct() : mixed
- preSend() : mixed
- send() : mixed
- SkinnedHTML() : mixed
- Sets the message content to be the specified content, with the email skin around it Content can either be a HTML string or a View.
Properties
$AllowedDomains
public
mixed
$AllowedDomains
= []
Methods
__construct()
public
__construct() : mixed
preSend()
public
preSend() : mixed
Tags
send()
public
send() : mixed
Tags
SkinnedHTML()
Sets the message content to be the specified content, with the email skin around it Content can either be a HTML string or a View.
public
SkinnedHTML(mixed $content[, mixed $extraparams = null ][, mixed $template = 'skin/email' ]) : mixed
Parameters
- $content : mixed
-
string|View The content for the email. In the outer view becomes the parameter $content.
- $extraparams : mixed = null
-
array Optional extra parameters to set for the outer view.
- $template : mixed = 'skin/email'
-
string The template to use for the outer view. The default is "skin/email".