Laravel - Mail - Inline Attachments
Embedding inline images into your emails is typically cumbersome; however, Laravel provides a convenient way to attach images to your emails. To embed an inline image, use the embed
method on the $message
variable within your email template. Laravel automatically makes the $message
variable available to all of your email templates, so you don't need to worry about passing it in manually:
Here is an image:
The $message
variable is not available in plain-text message templates since plain-text messages do not utilize inline attachments.