\Vigas\Application\ControllerMailer

Class Mailer extends PHPmailer.

Builds and sends email

Summary

Methods
Properties
Constants
__construct()
sendMail()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

__construct()

__construct(string  $From, string  $FromName, string  $Host, string  $Subject, string  $Body, string  $AddAddress, array  $smtp_conf) 

Parameters

string $From

Sender email address

string $FromName

Sender display name

string $Host

SMTP host

string $Subject

Email subject

string $Body

Email body

string $AddAddress

Recipient email address

array $smtp_conf

SMTP server informations

sendMail()

sendMail() : mixed

Returns

mixed —

Returns true if email has been sent, error informations otherwise