MailManager

Overrides the Laravel MailManager

  • Replaces the Laravel Mailer class with the Winter Mailer class
  • Fires mailer.beforeRegister & mailer.register events
  • Uses another method to determine old vs. new mail configs

 class Winter\Storm\Mail\MailManager
extends Illuminate\Mail\MailManager

Extends

Methods

public getDefaultDriver ()

Returns
mixed

public mailer ($name = null)

Parameters
Property Description
$name
mixed
Returns
mixed

protected getConfig (string $name)

Parameters
Property Description
$name
string
Returns
mixed

protected resolve (string $name) : Winter\Storm\Mail\Mailer

Resolve the given mailer.

Parameters
Property Description
$name
string
Returns
Copyright © 2024 Winter CMS