Use sender information from config

This commit is contained in:
Toby Zerner 2015-02-26 15:23:09 +10:30
parent a07f896397
commit cab95662db

View File

@ -41,7 +41,6 @@ class EmailConfirmationMailer
$this->mailer->send(['text' => 'flarum::emails.confirm'], $data, function ($message) use ($user, $forumTitle) {
$message->to($user->email);
$message->subject('['.$forumTitle.'] Email Address Confirmation');
$message->from('noreply@localhost', $forumTitle);
});
}