Simplenews is automatically attaching files from (file)fields when sending a HTML newsletter.
Is there any way to disable this?

I digged simplenews.source.inc and simplenews.mail.inc, and I see the logic how it adds these files to be attached, but looks static no way to go around.

For my project we wanted to point to these files with links in the HTML newsletter, without attaching them.

So here is a simple patch which allows to globally disable attaching files from node fields.

This could be done much better via adding field settings to filefields so you could one-by-one disable those fields where you want to attach files from. Later on maybe it will be created. For now here you have a global switch which can be controlled via the settings.php
$conf['simplenews_field_attachments'] = FALSE;

CommentFileSizeAuthor
simplenews_disable_attachments.patch716 bytesgaborpeter
Support from Acquia helps fund testing for Drupal Acquia logo