Rewrote all email messages.

This commit is contained in:
James Cole
2016-11-22 21:21:11 +01:00
parent 2ba5733ebc
commit f029f7607b
27 changed files with 179 additions and 285 deletions

View File

@@ -78,7 +78,7 @@ class MailError extends Job implements ShouldQueue
$args['ip'] = $this->ipAddress;
Mail::send(
['emails.error-html', 'emails.error'], $args,
['emails.error-html', 'emails.error-text'], $args,
function (Message $message) use ($email) {
if ($email != 'mail@example.com') {
$message->to($email, $email)->subject('Caught an error in Firely III.');