How to change From Name in Laravel Mail Notification

In config/mail.php set from property as: ‘from’ => [‘address’ => ‘someemail@example.com’, ‘name’ => ‘Firstname Lastname’] Here, address should be the one that you want to display in from email and name should be the one what you want to display in from name. P.S. This will be a default email setting for each email you … Read more

Laravel 5.3 Notification Vs Mailable

Although it is not in the documentation, as of Laravel 5.3.7, the Notifications mail channel can work with Mailable objects in addition to the notification MailMessage objects. Therefore, you can create all your emails as Mailable objects, and if you decide to send them via Notifications, you would just have your toMail() method return the … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)