Class Hooks
Methods summary
public static
core_lazy_get_mailer( ICanBoogie\Core $core
)
: ICanBoogie\Mailer\Mailer
Returns a ICanBoogie\Mailer\Mailer
instance.
public static
core_mail( ICanBoogie\Core $core
, array|ICanBoogie\Mailer\Message
$message
, array $options
= [] )
: mixed
Send the message using the mailer available at $core->mailer
.
Send the message using the mailer available at $core->mailer
.
Parameters
$core
$message
- A message source suitable for Message::from().
$options
Returns
mixed