Commit b17faf31 authored by Khumoyunmirzo Sodiqov's avatar Khumoyunmirzo Sodiqov

Release 28.10.2019

parent 26d388e0
......@@ -63,11 +63,11 @@ class HomeController extends Controller
$to_name = $name . ' ' . $lastname;
$to_email = $email;
$data = array('mes' => $message . ' | ' . $phone);
$data = array('mes' => $message . ' | ' . $phone . ' | '.$to_email);
Mail::send('emails_contact', $data, function ($message) use ($to_name, $to_email) {
$message->to('info@fazoshop.us', $to_name)
->subject('Fazo Cargo');
$message->from($to_email, $to_name);
$message->from('noreply@fazoshop.us', $to_name);
});
return redirect(url('/'));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment