Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

How to make a simple mail system in Laravel without view or notification

$name 	   = "User Name";
$fromEmail = "akash@devsenv.com";
$toEmail   = "manirujjamanakash@gmail.com";
$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 );
});
Source by devsenv.com #
 
PREVIOUS NEXT
Tagged: #How #simple #mail #system #Laravel #view #notification
ADD COMMENT
Topic
Name
1+9 =