Sending an image with Mail, does it need to be stored first?
I have an enquiry form, a user would add their email address, telephone comment and a photo.
The file is stored as part of an array $request->file('photo');
If I dd the image in the controller, I can see the file is present.
When I send it (mailtrap) I see the temporary local filepath rather than the image.
In similar situations, images can be uploaded, then sent on, I don't have a problem with that, but it is unnecessary.
Do I need to store the image before I can send it?