BConnect Business - Reference PHP

MailerService
in package

Le service qui gère la configuration de l'envoyer des mails.

Table of Contents

Properties

$mailer  : MailerInterface
$router  : UrlGeneratorInterface

Methods

__construct()  : mixed
sendMail()  : void
Méthode d'envoyer classique
sendPasswordResetEmail()  : void
addFiles()  : void

Properties

Methods

__construct()

public __construct(MailerInterface $mailer, UrlGeneratorInterface $router) : mixed
Parameters
$mailer : MailerInterface
$router : UrlGeneratorInterface

sendMail()

Méthode d'envoyer classique

public sendMail(string $to, string $subject, string $path, array<string|int, mixed> $context[, string|null $cc = null ]) : void
Parameters
$to : string
$subject : string
$path : string
$context : array<string|int, mixed>
$cc : string|null = null
Tags
throws
TransportExceptionInterface

sendPasswordResetEmail()

public sendPasswordResetEmail(mixed $user, mixed $token) : void
Parameters
$user : mixed
$token : mixed
Tags
throws
TransportExceptionInterface

addFiles()

private addFiles(mixed $files, TemplatedEmail $message) : void
Parameters
$files : mixed
$message : TemplatedEmail
On this page

Search results