Class MailService
Service to send single mail
-
BEdita\Core\Job\Service\MailService
implements
BEdita\Core\Job\JobService
Methods summary
public
array
|
#
run( array $payload, array $options = [] )
Send a single email.
Payload MUST contain a set of options compatible with \Cake\Mailer\Email::createFromArray().
Options can contain the following keys:
- transport : mail transport to use (default: 'default' ).
Parameters
- $payload
- Input data for this email job.
- $options
- Options for running this job.
Returns
array Result from \Cake\Mailer\Email::send().
Implementation of
|