Expand code for reports.

This commit is contained in:
James Cole
2014-12-01 05:57:03 +01:00
parent 0a2cbaa047
commit d7b0106e7d
6 changed files with 219 additions and 77 deletions

View File

@@ -1,5 +1,6 @@
<?php
namespace FireflyIII\Shared\Mail;
use Swift_RfcComplianceException;
/**
* Class Registration
@@ -24,11 +25,13 @@ class Registration implements RegistrationInterface
$data = ['password' => $password];
\Mail::send(
['emails.user.register-html', 'emails.user.register-text'], $data, function ($message) use ($email) {
$message->to($email, $email)->subject('Welcome to Firefly!');
}
);
try {
\Mail::send(
['emails.user.register-html', 'emails.user.register-text'], $data, function ($message) use ($email) {
$message->to($email, $email)->subject('Welcome to Firefly!');
}
);
} catch(Swift_RfcComplianceException $e) {}
}
/**