29.07.2016 Views

laravel-5

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Mail 295<br />

Inline Attachments<br />

Embedding An Image In An E-Mail View<br />

Embedding inline images into your e-mails is typically cumbersome; however, Laravel provides a<br />

convenient way to attach images to your e-mails and retrieving the appropriate CID. To embed an<br />

inline image, use the embed method on the $message variable within your e-mail view. Remember,<br />

Laravel automatically makes the $message variable available to all of your e-mail views:<br />

.<br />

1 <br />

2 Here is an image:<br />

3<br />

4

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!