garden
garden

Reputation: 309

Email Configration Laravel

Hello guys I'm new to laravel. I'm trying to send a email but I can't understand how to configure it. I was looking at their email configuration and they were setting it up for mailgun etc. I don't want to set it up for any service. and if I have to is there any free service that can help me. Can somebody please explain to me how can I do that and I'm using Laravel 5.2

Upvotes: 0

Views: 71

Answers (1)

Alexey Mezenin
Alexey Mezenin

Reputation: 163808

You can use any free service, like Gmail or Sendgrid, for example.

Just fill settings in .env file to make it work:

MAIL_DRIVER=smtp
MAIL_HOST=smtp.gmail.com
MAIL_PORT=587
MAIL_USERNAME=yourEmail
MAIL_PASSWORD=yourPassword
MAIL_ENCRYPTION=tls

Upvotes: 1

Related Questions