My controller is
public function basic_email() {
$data = array('name'=>"Virat Gandhi",'roll'=>"123");
Mail::send(['text'=>'mail'], $data, function($message) {
$message->to('xyz@gmail.com', 'Basil Baby')->subject
('Laravel Basic Testing Mail');
$message->from('abc@yahoo.com','Virat Gandhi');
});
echo "Basic Email Sent. Check your inbox.";
}
My blade is
Hi,
your roll number is
please click on the link to <a href="#">verify your account</a>
Mail is being received. but the mail body is displaying html content as such. How to make verify you account a html link in mail body
from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/3c7ic5a
via IFTTT
Aucun commentaire:
Enregistrer un commentaire