Support the ongoing development of Laravel.io →
posted 9 years ago
Mail
Last updated 1 year ago.
0
Mail::send('PATH_TO_YOUR_VIEW_FOLDER', ['key' => 'value'], function($message)
{
    $message->to('[email protected]', 'John Smith')->subject('Welcome!');
});

http://laravel.com/docs/5.0/mail

Last updated 9 years ago.
0

Thanks ModestasV!

I tried that, didn't work. What exactly should add to in my function ?

Last updated 9 years ago.
0

Very well written.Waiting for updating Very good.

0

Sign in to participate in this thread!

Eventy

Your banner here too?

Aleex4 aleex4 Joined 1 Mar 2015

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.

© 2024 Laravel.io - All rights reserved.