1$name = "User Name";
2$fromEmail = "akash@devsenv.com";
3$toEmail = "manirujjamanakash@gmail.com";
4$subject = "Simple Mail in Laravel";
5$mailBody = "<h3><b>From:</b> $fromEmail </h3><div>Details...</div>";
6
7\Mail::html( $mailBody, function( $message ) {
8 $message->subject( $subject )
9 ->to( $toEmail );
10});