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

Embeded images don't displayed #4

Closed
4n70w4 opened this issue Jan 22, 2020 · 3 comments
Closed

Embeded images don't displayed #4

4n70w4 opened this issue Jan 22, 2020 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@4n70w4
Copy link
Contributor

4n70w4 commented Jan 22, 2020

In email templates I use {{$message->embed(public_path('i/slojj-2.png'))}} instead direct links to images.

<img src="cid:[email protected]" alt="" border="0" width="120px">

image

@gabrieliuga gabrieliuga self-assigned this Jan 22, 2020
@gabrieliuga gabrieliuga added the bug Something isn't working label Jan 22, 2020
@gabrieliuga
Copy link
Owner

Would it be possible to provide a full email template as example? Thanks

@4n70w4
Copy link
Contributor Author

4n70w4 commented Jan 22, 2020

<img src="{{$message->embed(public_path('i/sertifikat.png'))}}" alt=""  border="0" width="120px" />

https://laravel.com/docs/6.x/mail#inline-attachments

The same problem in jstoone/nova-mailman#22

@gabrieliuga
Copy link
Owner

This was fixed in the related package: https://github.com/gabrieliuga/laravel-mail-log/releases/tag/v1.0.5
update and don't forget to run artisan migrate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants