ICanBoogie
  • Documentation
  • API Reference
  • bind-mailer 0.1.x
Namespaces
  • ICanBoogie
    • Binding
      • Mailer
Classes
  • BeforeMailEvent
  • Hooks
  • MailEvent
Traits
  • CoreBindings

Class Hooks

Hooks

Namespace: ICanBoogie\Binding\Mailer
Located at Hooks.php

Methods summary

public static get_mailer( ICanBoogie\Core $app ) : ICanBoogie\Mailer\Mailer

Returns a ICanBoogie\Mailer\Mailer instance.

Returns a ICanBoogie\Mailer\Mailer instance.

Parameters

$app

Returns

ICanBoogie\Mailer\Mailer
public static mail( ICanBoogie\Core $app, array|ICanBoogie\Mailer\Message $message, array $options = [] ) : mixed

Sends a message using the mailer available at $app->mailer. The message may be specified as an array of attributes to create a ICanBoogie\Mailer\Message instance, or directly a ICanBoogie\Mailer\Message instance.

Sends a message using the mailer available at $app->mailer. The message may be specified as an array of attributes to create a ICanBoogie\Mailer\Message instance, or directly a ICanBoogie\Mailer\Message instance.

Parameters

$app
$message
A message source suitable for ICanBoogie\Binding\Mailer\Message::from().
$options

Returns

mixed
bind-mailer 0.1.x – Check on GitHub – API documentation generated by ApiGen