📅  最后修改于: 2022-03-11 14:54:22.578000             🧑  作者: Mango
$name = "User Name";
$fromEmail = "akash@devsenv.com";
$toEmail = "manirujjamanakash@gmail.com";
$subject = "Simple Mail in Laravel";
$mailBody = "From: $fromEmail
Details...";
\Mail::html( $mailBody, function( $message ) {
$message->subject( $subject )
->to( $toEmail );
});