\Pivot\EmailEmailManager

functionality to send email

Summary

Methods
Properties
Constants
__construct()
sendEmailNow()
createMessage()
sendTemplateEmail()
getParsedTemplate()
sendSimpleEmail()
No public properties found
No constants found
No protected methods found
$emailService
$renderer
$config
N/A
No private methods found
No private properties found
N/A

Properties

$emailService

$emailService : \SimpleEmailService

SimpleEmailService

Type

\SimpleEmailService

$renderer

$renderer : \SimpleEmailService

SimpleEmailService

Type

\SimpleEmailService

$config

$config : array

Email default/config

Type

array

Methods

__construct()

__construct(\SimpleEmailService  $emailService,   $config,   $renderer) 

[__construct description]

Parameters

\SimpleEmailService $emailService
$config
$renderer

sendEmailNow()

sendEmailNow(\Pivot\Email\SimpleEmailServiceMessage  $message) : mixed

Sends a built message now.

Parameters

\Pivot\Email\SimpleEmailServiceMessage $message

[description]

Returns

mixed

createMessage()

createMessage(mixed  $recipients = array(), mixed  $cc = array(), mixed  $bcc = array(), mixed  $reply = array(), string  $text = '', string  $html = '') : \Pivot\Email\SimpleEmailServiceMessage

Create a new message.

Emails can be in format:

Parameters

mixed $recipients
mixed $cc
mixed $bcc
mixed $reply
string $text
string $html

Returns

\Pivot\Email\SimpleEmailServiceMessage

sendTemplateEmail()

sendTemplateEmail(\SimpleEmailServiceMessage  $message,   $templateName,   $data = array()) 

Parameters

\SimpleEmailServiceMessage $message
$templateName
$data

getParsedTemplate()

getParsedTemplate(  $templateName,   $data) 

Parameters

$templateName
$data

sendSimpleEmail()

sendSimpleEmail(  $recipients,   $text) 

Parameters

$recipients
$text