I am using Laravel version "5.8"
I have installed composer require simplesoftwareio/simple-qrcode - to generate qr code
to generate a Qr code on view i am using this code
{!! QrCode::size(80)->generate('test data' ); !!}
but when i send the view over a mail , i dont get the Qr code over mail
this is my controller code
$email = $userInfo['email'];
$name = $userInfo['fname'];
$subject = 'Test mail';
$ccmail = 'test@gmail.com';
$body = 's';
Mail::to($email)->send(new Invitationmail($name,$subject,$ccmail,$body,$invitation_id));
View code
</div>
<td>{!! QrCode::size(80)->generate('asas' ); !!}</td>
{!! QrCode::size(200)->generate('W3Adda Laravel Tutorial'); !!}
<div>
Can some one help me with these ? Thank you
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire