RavSystem API docs

MailingService
in package
implements IMailingService

Interfaces, Classes, Traits and Enums

IMailingService

Table of Contents

ACCOUNT_ACTIVATED  = 'ACCOUNT_ACTIVATED'
ACCOUNT_BLOCKED  = 'ACCOUNT_BLOCKED'
NEW_ACCOUNT  = 'NEW_ACCOUNT'
NEW_CODE_REQUEST  = 'NEW_CODE_REQUEST'
$mailer  : PHPMailer
$reciever  : User
Mail reciever
$template  : Template
Template of the email
__construct()  : mixed
send()  : void
Sends the email
setMessageType()  : void
Sets type of message to send
setReciever()  : void
Sets mail reciever

Constants

ACCOUNT_ACTIVATED

public mixed ACCOUNT_ACTIVATED = 'ACCOUNT_ACTIVATED'

ACCOUNT_BLOCKED

public mixed ACCOUNT_BLOCKED = 'ACCOUNT_BLOCKED'

NEW_CODE_REQUEST

public mixed NEW_CODE_REQUEST = 'NEW_CODE_REQUEST'

Properties

Methods

setMessageType()

Sets type of message to send

public setMessageType(string $type[, mixed $context = [] ]) : void
Parameters
$type : string
$context : mixed = []
Return values
void

setReciever()

Sets mail reciever

public setReciever(User $user) : void
Parameters
$user : User
Return values
void

Search results