Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

qrcode problem in smtp email #297

Open
kia1349 opened this issue Mar 3, 2024 · 2 comments
Open

qrcode problem in smtp email #297

kia1349 opened this issue Mar 3, 2024 · 2 comments

Comments

@kia1349
Copy link

kia1349 commented Mar 3, 2024

hi to all
i use qrcode in blade for email and my email not send
i test :

  <img src="{!!$message->embedData('MyData'], 'QrCode.png', 'image/png')!!}">
  
  <img src="{!!$message->embedData(QrCode::format('png')->generate('Embed me into an e-mail!'), 'QrCode.png', 'image/png')!!}">
  
  <img src="{!!$message->embedData(QrCode::size(200)->format('png')->generate('MyData')->toHtml(),'QrCode.png','image/png')!!}">
  
  <img src="data:image/png;base64, {!! base64_encode(QrCode::format('png')->size(100)->generate('My Data')) !!} ">

all of them does not work

@kia1349
Copy link
Author

kia1349 commented Mar 30, 2024

Can anyone help?
Is there a solution?

@IggsGrey
Copy link

IggsGrey commented Aug 7, 2024

try converting those images to base64

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants