Your env file must be like below
MAIL_DRIVER=smtp
MAIL_HOST=localhost
MAIL_PORT=465
MAIL_USERNAME=
MAIL_PASSWORD=
MAIL_ENCRYPTION=ssl
In your config/mail.php
, the from value should be like below...
'from' => ['address' => 'pankaj@YourDomainName.com', 'name' => 'Sender Name'],
What's your domain Name in from ? or you can say, How to create Email account in GoDaddy ?
- Login in your GoDaddy Account
- Go to your Hosting Account.
- Click Manage
- Under Email category, Please click Accounts
- Create an account if there is no email account.
and that's it.
So let's say you have email address like Pankaj@yourdomainname.com
Now, put this email address in config/mail.php for from field. That's it.
This will 100% fix the issue
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…