EmailTemplate
in
Table of Contents
- Attachments() : array<string|int, mixed>
- Add attachments
- MailSubject() : void
Methods
Attachments()
Add attachments
public
Attachments(Email $mail[, string|null &$body = null ][, string|null &$alt_body = null ]) : array<string|int, mixed>
Add a list of attachments and modify the body and add the deep link
Parameters
- $mail : Email
-
A system email object
- $body : string|null = null
-
The mail body
- $alt_body : string|null = null
-
The alternative mail body
Return values
array<string|int, mixed> —A list of attachments to add
MailSubject()
public
MailSubject(Email $mail, MailSender $interface) : void
Parameters
- $mail : Email
- $interface : MailSender