vendredi 3 décembre 2021

How to do newline email body in laravel?

I want to send some information on mail body. When I try its works but Google shows trimmed content(...).

My code is like this:

$name = $e->name;
$code=$request->code;
 $mes2="loretmtext,";
        $mes3="loremtext";
        $mes4="Code:".$code;
        $mes5="e:".$name;
$mes6="text"


//and i send mail function
$msg= $mes2."<br />".$mes3."<br />".$mes4."<br />".$mes5."<br />".$mes6."<br />";

How can i solve?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire