With this hack, when sending to mailing lists (tab COMMUNICATE), sender optionally can attach a file (as you can do from My Account - Compose Message)
I post a hack we’ve done the guys from http://www.espintime.com . With it you can send attachments to the mailing lists or to others from tab COMMUNICATE as you do from MY ACCOUNT to other EE users.
a) we’ve used when possible the classes self-provided by EE.
b) The hack accepts only one file attached with 250kb. limit
c) IT IS very important that you use batch mode when sending mail with attachments to mailing lists, as the average size for whole messages spooled to MTA can easily be high.
d) IT IS necessary to create a file upload preference ( CP Home › Admin › File Upload Preferences ) named ‘communicate’ for the hack to work.
e) When user attaches a file to the form, this file is saved in this directory preference named ‘communicate’; if the file exists, it is overwritten. The hack does not deletes the file after the mails are sent, so remember to delete them periodically.
f) Files hacked: core.email.php, core.upload.php, cp.communicate.php, lang.communicate.php
g) Find the code hacked between the literals “begin AML Espintime hack” and “end AML Espintime hack”.
We hope you like it and hope EE team likes this hack to include this funcionality for future versions of EE. Probably it must be improved to achieve EE usual quality levels.
