mirror of
https://github.com/archtechx/laravel-tips.git
synced 2025-12-12 05:14:04 +00:00
15 lines
No EOL
575 B
Markdown
15 lines
No EOL
575 B
Markdown
---
|
|
title: 'Uploaded files can be attached to emails directly from the request'
|
|
tweet_id: '1538579118551248896'
|
|
thread_slug: weekly-thread-2022-24
|
|
author_username: ecrmnn
|
|
images:
|
|
- 'https://pbs.twimg.com/media/FVOf_L_UcAUYEaK.jpg'
|
|
created_at: 2022-06-19T17:47:01+00:00
|
|
slug: uploaded-files-can-be-attached-to-emails-directly-from-the-request
|
|
---
|
|
Sending emails with user uploaded files in Laravel?
|
|
|
|
Did you know you don't have to save the file first — you can simply attach the uploaded file with `attachData` 💌 📸
|
|
|
|
Here's a snippet from a Mailable class using it. |