How to not save files uploaded via form

Hello,

I created a frontend contact form with file upload for my page. Everything is working fine, but I would like to figure out, if there is a way to don’t save files (or delete them right after the form is submitted) uploaded via this form in page folder of page, where is this form located. Only purpose for this file is to be sent as attachment in email.

Thanks for your responses.

1 Like