Support the ongoing development of Laravel.io →
posted 10 years ago
Mail
Last updated 2 years ago.
0

Please include the relevant code / config.

Last updated 2 years ago.
0
<?php return array
( 'driver' => 'smtp',
 'host' => 'smtp.gmail.com', 
'port' => 587, 
'from' => array('address' => '[email protected]', 'name' => 'admin'),
 'encryption' => 'tls', 
'username' => '[email protected]', 
'password' => 'pass',
 'sendmail' => '/usr/sbin/sendmail -bs',
 'pretend' => false,
);
/***********************************************************/
 Mail::send('emails.alert.send', compact('jobs'), function($message) use($alert) { $message->from('[email protected]'', 'admin');
            $message->replyTo('[email protected]', 'admin')
                    ->to('[email protected]')
                    ->subject("New Alert");


        });

I want to send email with [email protected]

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

aissahimid aissahimid Joined 21 Apr 2014

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.