我尝试使用qrcode发送电子邮件,我将其转换为图像,并且可以在localhost上运行,但是当我将其发送给电子邮件时,qr代码没有出现!
<!DOCTYPE html>
<html>
<body dir="rtl">
<p>{!! $data['message'] !!}</p>
<img src="data:image/png;base64, {!! base64_encode(QrCode::format('png')->size(100)->generate('helloworld')) !!} ">
</body>
</html>
答案 0 :(得分:0)
我按类型解决了它
throw