DEV Community

How to send email in Laravel 8 downwards using Gmail

Kingsconsult on October 09, 2020

Hello guys, today we are going to be talking about sending an email with our laravel 8 app, this is also applicable to laravel 6 and 7 apps. In thi...
Collapse
 
mafalda2007 profile image
Mafalda

Hi, it's possible to get mails from gmail?

Collapse
 
kingsconsult profile image
Kingsconsult

Sorry, I don't really understand your question, I used Gmail and I was getting my mails from the app to my inbox.
If this does not answer your question, can you rephrase your question?
Thank you.

Collapse
 
mafalda2007 profile image
Mafalda

Well, I need to know if i can recive mails from GMAIL to my HelpDesk (done in Laravel 8). I can send them from my app, but i don´t know how to get them. Tks

Thread Thread
 
kingsconsult profile image
Kingsconsult

Do you mean, if you can be viewing our gmail inbox mail on your Laravel app?

Thread Thread
 
mafalda2007 profile image
Mafalda

No, my GMAIL inbox.

Collapse
 
lengyelbalint profile image
lengyelbalint

Another great article! :)

Is it possible to add verification link like ResetPassword link to the mail after registration?

I allowed the Features::emailVerification(); line in config/fortify.php, but it did not solve my issue. :/

Can you help? :)

Collapse
 
kingsconsult profile image
Kingsconsult

While will you want to send the link, the link expires 60 minutes after generating, the person should just request forgot password instead.
But you can send virtually anything through the email

Collapse
 
jeffnucleust profile image
Jeff Ngnoulaye • Edited

Thanks a lot for the article!

It really helps me.

But how about css stylesheets applied on the mail template?
I've designed my own with Bootstrap, and the style css is called from the CDN but on Gmail, there's no style.

Please help me

Collapse
 
terrancesmith98 profile image
Terrance Smith

Excellent article. This was very thorough and immensely helpful. Much appreciated!

Collapse
 
ivansotocaro profile image
ivansotocaro

I need to send a link to email to different users to reset password, will they have any other article?
I tried with this article but my code stops and does not send the mail.

Collapse
 
farouz15 profile image
Farouz Jr

its a great article , i have a question
how can i appear the image in the mail box beside the sender email