Support the ongoing development of Laravel.io →
Configuration Mail Installation

Hello,

I want to send mails from my application. I want them to get sent from a specific host (SMTP, entering data for a email adress), and send it to a specified mail adress (changes every time).

I found several threads and explanations/questions how to do this, but nothings seems to really fit what I need or it doesn't match to my version. For example I found this: https://medium.com/@hasangilak/laravel-xampp-sending-local-email-smtp-e2010704d6d4#.4u5p15z74

But already the first thing to do is different in my version.

I'm using Laravel 5.3 and XAMPP with PHP 7.0.4.

So now the question is:

What do I have to edit in XAMPP configs to make it working, What and where do I have to edit something in Laravel to make it working? (Only enter the configuration in the .env file?) And how can I send the mails then via SMTP, is there a easy way to do this in Laravel, or should i download a plugin or how can I do this then?

Thanks for any help!

Last updated 3 years ago.
0

When using Mail, Laravel will use the config defined in /config/mail.php - you will need to make sure that matches whatever your mail server requires

https://laravel.com/docs/5.3/mail

0

Yeah, got that working, thanks.

0

Sign in to participate in this thread!

Eventy

Your banner here too?

nameless nameless Joined 26 Oct 2016

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.