don't save sent if user didn't select it
Michael Redinger
Michael.Redinger@uibk.ac.at
Sat, 29 Dec 2001 20:24:20 +0100 (CET)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
the current default in IMP is that (if the appropriate parameters are set)
that the users' mails are automatically saved in the sent mail folder.
I don't think this is a good idea - it's one of the major reasons why
people always exceed their quota.
If people want to save sent mail they should check that option (either in
compose or in their settings).
Therefore I added an option to conf.php (for me this seems to be the right
place as $conf['user']['select_sentmail_folder'] is already there) and
modified one line in compose.php:
Any chance this gets included?
Michael
conf.php:
// If this is set, then leave the checkbox for saving sent mail
// unchecked
$conf['user']['default_save_sentmail_off'] = true;
// $ssm_check = $identity->saveSentmail(Horde::getFormData('identity')) ? ' checked="checked"' : '';
$ssm_check = ( $identity->saveSentmail(Horde::getFormData('identity')) && !isset($conf['user']['default_save_sentmail_off']) ) ? ' checked="checked"' : '';
-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5.8
iQA/AwUBPC4YaQ/XqdllwsEdEQI89wCcDxDeaF1hrPsMuEgj7CwXr36zkdAAn3SZ
TFHVMXn2cEvUAe0AEKyWjHQz
=9tiJ
-----END PGP SIGNATURE-----