Using MODX Revolution and Formit, I try to attach a file to a contact form. The mail is sent but without the attachment. For some strange reason, I can also no longer find any information on the attachments hook. Has that feature been removed from Formit recently?
[[!FormIt?
   &hooks=`spam,email,attachments,redirect`
   &emailTpl=`sometemplate`
   &emailTo=`[email protected]`
   &emailBCC=`[email protected]`
   &emailSubject=`some subject`
   &redirectTo=`123`
   &validate=`name:required, filedata:required`
]]
<form action="[[~[[*id]]]]" method="post" class="form" enctype="multipart/form-data">
    <input type="text" name="name" id="name" value="[[!+fi.name]]">
    <input id="filedata" name="filedata" type="file" value="[[+fi.filedata]]">
    <button type="submit">SEND</button>
</form>
Again, mail is sent (I tried many different email adresses) but the attachment is always missing. What's wrong?
                        
Did you try https://modx.com/extras/package/ajaxupload2 extra?
From description: