- Issue created by @awasson
- 🇮🇹Italy maurizio.ganovelli Arezzo
Good morning,
I have configured a minimal Drupal instance with these modules:
drupal/core 10.4.7
drupal/mailer_transport 1.6.0
drupal/symfony_mailer 1.6.0
drupal/webform 6.2.9
drupal/webform_attachment 6.2.9
drupal/webform_attachment_gated_download 1.5.0Following these steps:
- create a webform with an "Attachment File (Gated Download)" element (specifing only name and leaving all default settings)
- add an email handler to webform, leaving all defaults but checking only last checkbox "Include files as attachments"
- add a media field or a simple file field to "Page" type
- set up the format of new field in "Manage display" page as "Webform Gated Download Link" selecting the previous webform
- create a new node of type page and select a file for the media/file fieldNow i can receive a mail with file selected on node as attachment, upon clicking generated link on new node and completing the webform.
It seems to work fine in my tests, can you try to reproduce these steps again and let me know if no attachments are present on the mail sent?
Regards.