F
Filament14mo ago
johny7

GMail Mailer for laravel/filament

Moin together, I have now searched the web for various keywords, but can't find a solution for sending mail in laravel/filament with GMail. There is a solution for workspace organizations (https://github.com/synio-wesley/laravel-gmail-service-account-mail-driver), but none for sending mails with my private email address from GoogleMail. Old instructions refer to smtp with ssl or tls, but that is deactivated by Google since may 2022. It can't be that I'm the first one who needs this. How do you handle this?
Solution:
Found it now by myself via https://medium.com/@laraveltuts/how-to-send-mail-using-gmail-in-laravel-9-76d110779a4a You have to create an App Password via https://myaccount.google.com/apppasswords and can use it in .envlike: ```env MAIL_DRIVER=smtp...
Medium
How to send mail using Gmail in Laravel 9?
In this tutorial we are going to learn how to send mail using Gmail in Laravel 9.
Jump to solution
1 Reply
Solution
johny7
johny714mo ago
Found it now by myself via https://medium.com/@laraveltuts/how-to-send-mail-using-gmail-in-laravel-9-76d110779a4a You have to create an App Password via https://myaccount.google.com/apppasswords and can use it in .envlike:
MAIL_DRIVER=smtp
MAIL_HOST=smtp.gmail.com
MAIL_PORT=465
MAIL_PASSWORD="the created app password"
MAIL_ENCRYPTION=ssl
MAIL_DRIVER=smtp
MAIL_HOST=smtp.gmail.com
MAIL_PORT=465
MAIL_PASSWORD="the created app password"
MAIL_ENCRYPTION=ssl
Medium
How to send mail using Gmail in Laravel 9?
In this tutorial we are going to learn how to send mail using Gmail in Laravel 9.
Want results from more Discord servers?
Add your server