When a user submits a webform an email is sent to the user. In the email section of the webform 'include files as attachments' is checked. The 'default e-mail values' are setup in the webform settings. I have MimeMail installed and have been sending emails with no problems. So, now I want to add an attachment to the email - which will always be the same attachment. How do I do that?
Most helpful answers
Comments
This Drupal 7 issue suggests that using Rules would be the way to go, or to create a custom module.
There is a dead link at the bottom of that issue to a step by step guide using Rules but here is the page from the Wayback Machine:
https://web.archive.org/web/20200214234910/http://justinphelan.com/post/...
Thanks, the answer looked useful except that there doesn't seem to be a 'Webform Rules' module in Backdrop. Backdrop 'Rules' therefore doesn't seem to know about submitting webforms.
PS. I rather carelessly hit the 'Unsubscribe' link in the email re. this question. How do I re-subscribe?
Thank you; the answer was beneficial, except that Backdrop does not appear to have a 'Webform Rules' module. Support at:https://web.archive.org/web/20200214234910/http://justinphelan.com/post/Drift Boss
Webform Rules has been ported but not yet released.
Go to https://github.com/backdrop-contrib/webform_rules

Click on the code button
Right click on Download Zip and copy url
In backdrop, Install modules > Manual installation - paste url
If it works, add an issue to say so and request a release. If there are bugs, please report them.
to re-subscribe, look at the top of the post for this group of buttons:

Click to Follow this conversation
Thanks, that's very helpful. I installed 'Webform Rules' but adding a further condition as per the guide from the wayback link didn't work I've raised an issue with this module.
Thanks - I also had an email from Alejandro Cremaschi about a PR for Webform Rules. I'm not a developer (well, I was once many years ago) & not able to apply that PR - so if you could point me to the updated Webform Rules I will test.
Hi. The trick is to look at the pull request and then go to the branch of the developer who provided it.

This takes you to:
https://github.com/argiepiano/webform_rules/tree/1.x-1.x-issue-1
Where you can download the ZIP of the updated project like in the previous instruction.
I installed the new version of Webform Rules and got exactly the same problem - I will add to the comment on the issue.
clarkac: there is no "new version" of Webform Rules :)
You have to patch the current version with my PR. There will only be a new version once the maintainer merges my fix and makes a new release. I left alternative directions in the issue you opened.
Oops I just saw yorkshirepudding message. So, you did try to download my fork? Then make sure that you FULLY REMOVE the "old" version of the module and put the downloaded version in the modules folder.
This is proof that the fix does work: :)



There is a dead link at the bottom of that issue to a step by step guide using Rules but here is the page from the Wayback Machine:
https://web.archive.org/web/20200214234910/http://justinphelan.com/post/...