AccountDeactivatedMailer
class AccountDeactivatedMailer extends AbstractMailer
Class for generating a message informing the user that their password has been updated.
Properties
| protected string | $layout | The layout to be used with email. |
from AbstractMailer |
| protected MailerService | $mailer | The mailer service object sending the mail. |
from AbstractMailer |
| protected string | $style | The style to be used with email. |
from AbstractMailer |
| protected User | $user | The user to send the email. |
from AbstractMailer |
Methods
bool
buildAndSend(string|null $layout = null, array $attachments = [], string|null $layoutPath = null, string|null $templatePath = null, string|null $styles = null, string|null $stylesPath = null)
Common send logic shared by all mailers.
from
AbstractMailer
array
getData()
Used to retrieve data to be used in E-mail.
string
getSubject()
Returns subject for E-mail.
string
getTemplate()
Returns the template to be used.
Details
in
AbstractMailer at line 41
__construct(User $user)
Constructor for AbstractMailer
in
AbstractMailer at line 58
bool
buildAndSend(string|null $layout = null, array $attachments = [], string|null $layoutPath = null, string|null $templatePath = null, string|null $styles = null, string|null $stylesPath = null)
Common send logic shared by all mailers.
at line 15
protected array
getData()
Used to retrieve data to be used in E-mail.
at line 24
protected string
getSubject()
Returns subject for E-mail.
at line 33
protected string
getTemplate()
Returns the template to be used.
in
AbstractMailer at line 107
bool
send()
Send the mail
in
AbstractMailer at line 117
static bool
sendTo(User $user)
Statically sends E-mail