Using Webform and Mimemail to send HTML emails and uploaded files attached to emails.
When submitting the form, the file is not attached to the email. The box is ticked.
If you edit the submitted submission and click 'resend email', it attaches the PDF file to the email.
There are no errors on dblog.
How do I attach the files to the emails when the user submits the form with uploaded files?