Jak stworzyć prosty system pocztowy w Laravel bez widoku lub powiadomienia
$name = "User Name";
$fromEmail = "[email protected]";
$toEmail = "[email protected]";
$subject = "Simple Mail in Laravel";
$mailBody = "<h3><b>From:</b> $fromEmail </h3><div>Details...</div>";
\Mail::html( $mailBody, function( $message ) {
$message->subject( $subject )
->to( $toEmail );
});
Akash