$translators
$translators : array
Mailer Helper Class
$translators : array
sendMail( $from, $to, $subject, $body, string $content_type = 'text/html', bool $log = true) : bool
send a mail
$from | ||
$to | ||
$subject | ||
$body | ||
string | $content_type | |
bool | $log |
sendTemplateMail(string $from, string $to, string $subject, string $mail_template, array $mail_variables = []) : bool
send email using template
string | $from | |
string | $to | |
string | $subject | |
string | $mail_template | |
array | $mail_variables |
sendSmtpMail(string $from, string $to, string $subject, string $body, string $content_type = 'text/html') : bool
sends a mail using SMTP
string | $from | |
string | $to | |
string | $subject | |
string | $body | |
string | $content_type |
sendSesMail(string $from, string $to, string $subject, string $body, string $content_type = 'text/html') : bool
send a mail using SES
string | $from | |
string | $to | |
string | $subject | |
string | $body | |
string | $content_type |
logMail(string $from, string $to, string $subject, int $result, string|null $mail_template = null) : \App\Site\Models\MailLog|bool
logs mail sent
string | $from | |
string | $to | |
string | $subject | |
int | $result | |
string|null | $mail_template |