Created
June 7, 2016 13:48
-
-
Save novasky-zz/d6b425fd938d1be65004208f7ff1485e to your computer and use it in GitHub Desktop.
Laravel: Embed an image directly into your email template
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// emails/has-image.blade.php | |
Here's that image we talked about sending: | |
<img src="{{ $message->embed(storage_path('embed.jpg')) }}"> | |
Thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment