Hi, thanks for this great module!

I'm not sure if this should be a bug report or feature request so appologies if I have put it in the wrong category...

The file limit in my PHP settings only allows for 2mb uploads, if I send any attachments with Mass Contact within this limit all works perfectly. But if I add an attachment that exceeds the 2mb limit the mail is sent but the recipient does not receive the attachment, only the text in the body.

Is it possible to be able to to warn the sender that the attachment they are sending will not be sent due to file size and perhaps also display the file size limit beneath the attachment field? (The maximum upload size is 2 MB. Only files with the following extensions may be uploaded: jpg jpeg etc etc)

As it stands senders will not be aware that the mails they are sending do not contain attachments if they have exceeded the file size limit.

Many thanks!

Comments

oadaeh’s picture

Version: 6.x-1.1 » 6.x-1.x-dev

I tried doing something like this in one of my other modules, but I wasn't always able to consistently get that value, so I commented it out. I can look into seeing if I can find a better way of doing that and implement it here.

Peng.Pif’s picture

Hi oadaeh, that would be great if you could implement something. It would signifigicaaantly improve UX for site users wishing to send out attachments. Many thanks!

tutumlum’s picture

Why doesn't this module use "file field". Since this module is also creating a node with node type "mass_contact", it is quite easy to manage attachments by using core file_field module..

oadaeh’s picture

Issue summary: View changes
Status: Active » Closed (won't fix)