Reputation: 443
When I send an email with my app from laravel, the receiver gets email from:
Example <[email protected]>
How can I customize this?
I was able to customize the default Subject field as the answer posted in https://stackoverflow.com/a/52415107/5016573
I am using mailgun as mail server.
Upvotes: 1
Views: 573
Reputation: 9464
Your .env
file contains two attributes related to what you are asking:
[email protected]
MAIL_FROM_NAME="John Doe"
These attributes are then used at config/mail.php
.
Upvotes: 2