I have added a file field in a contact form. The client is receiving the email and there is the link of file. She now needs the file in attachment. Is there any module or code that could send the contact form field now in the attachment? I have searched but couldn't find something yet. Many thanks!

  • 3
    If you can use another module, you can use webform which far more superior than the built-in contact form – Ismail Cherri Jul 10 '19 at 16:53
  • Did you ever get this to work? – user72672 Aug 20 '19 at 7:51
  • @Jdrupal yeah i did – Ali Nouman Aug 21 '19 at 2:41
  • @AliNouman Cool, if my answer helped you, please accept it, thanks. – user72672 Jan 9 at 11:23

You should install the webform module, to accomplish this.

Then follow this guide, which explains how to send files as email attachments using webform.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.