PHP Class Vanilla\VanillaMailer

Inheritance: extends PHPMailer
Afficher le fichier Open project: vanilla/vanilla

Méthodes publiques

Méthode Description
countRecipients ( ) : integer Return the number of recipients.
getThrowExceptions ( ) : boolean Get throwExceptions value.
isServerError ( phpmailerException $e ) Check the phpmailerException message and tell us if the exception should be treated as a server error instead of a "critical" error.
setThrowExceptions ( boolean $newValue ) : VanillaMailer Set throwExceptions value.
throwExceptions ( boolean $newValue = null ) : The Either set or get the value of "throwExceptions".

Method Details

countRecipients() public méthode

Return the number of recipients.
public countRecipients ( ) : integer
Résultat integer

getThrowExceptions() public méthode

Get throwExceptions value.
public getThrowExceptions ( ) : boolean
Résultat boolean Is this instance set to throw exceptions or not.

isServerError() public méthode

Server error means that we can try to resend the email.
public isServerError ( phpmailerException $e )
$e phpmailerException

setThrowExceptions() public méthode

Set throwExceptions value.
public setThrowExceptions ( boolean $newValue ) : VanillaMailer
$newValue boolean The new value to set.
Résultat VanillaMailer

throwExceptions() public méthode

Either set or get the value of "throwExceptions".
public throwExceptions ( boolean $newValue = null ) : The
$newValue boolean Whether this instance should throw exceptions or not
Résultat The current value