Add reply-to for mail

This commit is contained in:
snipe 2016-09-20 07:20:40 -07:00
parent bd5e6d8551
commit aecef2618f

View file

@ -686,6 +686,7 @@ class AssetsController extends Controller
if ((($asset->checkin_email()=='1')) && ($user) && (!config('app.lock_passwords'))) {
Mail::send('emails.checkin-asset', $data, function ($m) use ($user) {
$m->to($user->email, $user->first_name . ' ' . $user->last_name);
$m->replyTo(config('mail.reply_to.address'), config('mail.reply_to.name'));
$m->subject('Confirm Asset Checkin');
});
}