Closed (fixed)
Project:
Webform
Version:
7.x-4.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
11 Jun 2013 at 17:04 UTC
Updated:
24 Jun 2019 at 07:53 UTC
Jump to comment: Most recent
Comments
Comment #1
quicksketchWebform does not have built-in functionality to attach CSVs to e-mails that are sent. If you'd like to do this, you'll need to use a custom module (or maybe a contrib solution already exists, I don't know). Webform does set you up nicely to do this however. You can use the webform_results_export() function to generate a CSV file on the fly, save it to disk, and then use hook_mail_alter() to attach the resulting file to an e-mail. In order to send attachments of any kind, you need to have installed the MIME Mail module, which adds support for attachments to e-mails.
Comment #2
scooti commentedthanks a lot quicksketch. I'm starting to learn drupal module development :)
Nice day
Comment #3
quicksketchThanks for the followup! Closing up.
Comment #4
M12K commented