Webiny\Component\Mailer\Mailer::__construct PHP Method

__construct() public method

Base constructor.
public __construct ( string $mailer = 'Default' )
$mailer string Key of the mailer configuration.
    public function __construct($mailer = 'Default')
    {
        $this->mailerName = $mailer;
        $this->transport = Loader::getTransport($mailer);
    }