mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-12-19 04:49:30 +00:00
Expand code for reports.
This commit is contained in:
@@ -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) {}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user