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:
But if you edit the submitted submission and click 'resend email' it works, it attaches the PDF file to the email.
There are no errors on dblog.
How to attach the files to the emails when the user submits the form with uploaded file?