Mail
in component
Simplifies email submission
Table of Contents
Properties
Methods
- __construct() : mixed
- addAttachment() : mixed
- loadViewForLanguage() : mixed
- send() : mixed
- sendContent() : mixed
Properties
$config
public
mixed
$config
$data
public
mixed
$data
$images
public
mixed
$images
$language
public
mixed
$language
$load
public
mixed
$load
$log
public
mixed
$log
public
mixed
$mail
$registry
public
mixed
$registry
$sender
public
mixed
$sender
$store_config
public
mixed
$store_config
Methods
__construct()
public
__construct([mixed $registry_or_language_id = null ][, mixed $store_id = 0 ]) : mixed
Parameters
- $registry_or_language_id : mixed = null
- $store_id : mixed = 0
addAttachment()
public
addAttachment(mixed $filename[, mixed $name = '' ]) : mixed
Parameters
- $filename : mixed
- $name : mixed = ''
loadViewForLanguage()
public
loadViewForLanguage(mixed $template, mixed $data) : mixed
Parameters
- $template : mixed
- $data : mixed
send()
public
send(mixed $from, mixed $to, mixed $subject, mixed $tpl[, mixed $extra = array() ]) : mixed
Parameters
- $from : mixed
- $to : mixed
- $subject : mixed
- $tpl : mixed
- $extra : mixed = array()
sendContent()
public
sendContent(mixed $to, mixed $subject, mixed $tpl[, mixed $from = '' ][, mixed $extra = [] ]) : mixed
Parameters
- $to : mixed
- $subject : mixed
- $tpl : mixed
- $from : mixed = ''
- $extra : mixed = []