PHP Class Snowfire\Beautymail\Beautymail

Inheritance: implements Illuminate\Contracts\Mail\Mailer
Afficher le fichier Open project: snowfire/beautymail Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( $settings ) Initialise the settings and mailer.
failures ( ) : array Get the array of failed recipients.
getData ( ) : mixed Retrieve the settings.
queue ( string | array $view, array $data, Closure | string $callback ) : void Send a new message using the a view via queue.
raw ( string $text, mixed $callback ) : void Send a new message when only a raw text part.
send ( string | array $view, array $data = [], Closure | string $callback = null ) : void Send a new message using a view.
view ( $view, array $data = [] ) : Illuminate\View\View

Private Methods

Méthode Description
setLogoPath ( ) : mixed

Method Details

__construct() public méthode

Initialise the settings and mailer.
public __construct ( $settings )
$settings

failures() public méthode

Get the array of failed recipients.
public failures ( ) : array
Résultat array

getData() public méthode

Retrieve the settings.
public getData ( ) : mixed
Résultat mixed

queue() public méthode

Send a new message using the a view via queue.
public queue ( string | array $view, array $data, Closure | string $callback ) : void
$view string | array
$data array
$callback Closure | string
Résultat void

raw() public méthode

Send a new message when only a raw text part.
public raw ( string $text, mixed $callback ) : void
$text string
$callback mixed
Résultat void

send() public méthode

Send a new message using a view.
public send ( string | array $view, array $data = [], Closure | string $callback = null ) : void
$view string | array
$data array
$callback Closure | string
Résultat void

view() public méthode

public view ( $view, array $data = [] ) : Illuminate\View\View
$view
$data array
Résultat Illuminate\View\View