Please include the relevant code / config.
<?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]
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community