I am sending mail with laravel. Mail is in gmail but from and to address is same in gmail why ? i am confused. env
MAIL_MAILER=smtp
MAIL_HOST=smtp.gmail.com
MAIL_PORT=587
MAIL_USERNAME=abc2020
MAIL_PASSWORD=Abc@123
MAIL_ENCRYPTION=tls
\Mail::send('invoice', array(
'name' => $user_details->name,
'email' => $user_details->email,
'subject' =>'Order is placed',
), function($message) use ($req){
$message->from($req->email,'Order');
$message->to('abc2020@gmail.com')->subject('Order is Placed');
});
Invoic is send in email but from address is same as to address
from:abc2020@gmail.com to:abc2020@gmail.com
What is changes in code so that from address is from $req->email..