Menu

## EmailNotification
in package

EmailNotification.php : 9

### Table of Contents

$event : OnNotifyEvent
$mailer : PHPMailer
__construct() : mixed
addAddress() : mixed
onSent() : mixed
send() : mixed
setFrom() : mixed

### Properties

#### $event

EmailNotification.php : 13
`private OnNotifyEvent $event`

#### $mailer

EmailNotification.php : 11
`private PHPMailer $mailer`

### Methods

#### __construct()

EmailNotification.php : 15
`public __construct() : mixed`

##### Return values

mixed —

#### addAddress()

EmailNotification.php : 40
`public addAddress(array<string|int, mixed> $addresses) : mixed`

##### Parameters

$addresses : array<string|int, mixed>

##### Return values

mixed —

#### onSent()

EmailNotification.php : 30
`public onSent(callable $func) : mixed`

##### Parameters

$func : callable

##### Return values

mixed —

#### send()

EmailNotification.php : 45
`public send() : mixed`

##### Return values

mixed —

#### setFrom()

EmailNotification.php : 35
`public setFrom(string $email, string $name) : mixed`

##### Parameters

$email : string
$name : string

##### Return values

mixed —

## Search results