How do I configure the sender name in the .env or mail.php files in Laravel? I set the email configuration in both of these files as below.
.env:
MAIL_DRIVER=smtp
MAIL_HOST=smtp.gmail.com
MAIL_PORT=587
MAIL_USERNAME=jayabahadurgmail.com
MAIL_PASSWORD=9491A$$R
MAIL_ENCRYPTION=tls
MAIL_FROM_ADDRESS = noreply@email.com
MAIL_FROM_NAME = NO-REPLY
config/mail.php file:
'from' => [
'address' => 'sender@gmail.com',
'name' => 'NONAME'
],
The issue is that when I receive an email, it shows my email address like "jayabahadurgmail.com", but I want to show "NO-REPLY" instead of my email.