I am using symfony 6.1. I have a form that accepts a file upload which works as far as I can see.
The form is not backed by an entity and in this particular case I don't really see the necessity to save the uploaded file somewhere. It would be enough to send it as an attachment of a mail. I read about attaching files using symfony's mailer component but the examples only cover attaching files by paths.
Is it even possible to skip the step to save the file somewhere?