Allows admins to limit the overall size of a message by capping the cumulative size of all the attachments. Created by Timo Kousa.
PHP
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
localization
CHANGELOG
README
config.inc.php.dist
messagesize.php

README

Roundcube Webmail MessageSize
=============================
This plugin limits the overall size of a message by capping the cumulative size of all the attachments.

Install
=======
* Place this plugin folder into plugins directory of RoundCube
* Add messagesize to $rcmail_config['plugins'] in your RoundCube config
NB: When downloading the plugin from GitHub you will need to create a directory called messagesize and place the files in there, ignoring the root directory in the downloaded archive

Config
======
The default config file is plugins/messagesize/config.inc.php.dist
Rename this to plugins/messagesize/config.inc.php

'max_message_size'
This is the maximum overall size of all the attachments added to a message
The value can be:
	A number (in bytes): 2097152 (for 2MB)
	A string: "10MB" (the units K, KB, M, MB, G and GB are supported, they are not case sensitive)