Symbiote\Notifications\Service\EmailNotificationSender
EmailNotificationSender
- Author: marcus@symbiote.com.au, shea@livesource.co.nz
- License: http://silverstripe.org/bsd-license/
Synopsis
class EmailNotificationSender
implements
NotificationSender
{
- // members
- private static $send_notifications_from;
- private static array $dependencies = ;
- public LoggerInterface $logger;
- // methods
- public void sendNotification()
- public void sendToUser()
- public $this setLogger()
Hierarchy
Uses
- SilverStripe\Core\Config\Configurable
- SilverStripe\Core\Extensible
Implements
Members
private
- $dependencies
- $send_notifications_from
—
string
Email Address to send email notifications from
public
- $logger — Psr\Log\LoggerInterface
Methods
public
- sendNotification() — Send a notification via email to the selected users
- sendToUser() — Send a notification directly to a single user
- setLogger()