How to add attachments to emails with sprout forms I am trying to add file attachments on the notification emails sent out by sprout forms plugin. Looking in the docs it looks like I need to add hidden config setting within the plugin.

I have created a config.php file in the plugin directory and put the following code in it:

&lt;?php

return array(

'sproutForms' =&gt; 'enableFileAttachments',

);


However, when I receive a notification email it still doesn't have the attachment. Can anyone suggest what I'm doing wrong?
It looks like your on the right track but there may be a couple issues that we need to address:


The hidden config setting should be set in the craft/config/general.php file
The enableFileAttachments config setting should also be within an array and set to true:

return array(
  'sproutForms' =&gt; array(
    'enableFileAttachments' =&gt; true,
  )
);



Note: As of this posting, we handle this functionality as a hidden config setting because we are still refining it's behavior. At some point, this will likely be easier to do directly from the Control Panel.