[horde] Report spam button and moving spam to Spam folder.

P.V.Anthony anthony at mindmedia.com.sg
Fri Sep 29 17:45:10 UTC 2017

On 29/09/2017 23:57, Jan Schneider wrote:

>> Noted. If I want to activate "Move to Spam mailbox", what should I use?
> You quoted the possible options in your original post.

Please bear with me. I really do not know the syntax. I tried some but I 

Here is the one from prefs.conf. I just do not know what to add.

$_prefs['delete_spam_after_report'] = array(
     'value' => 0,
     'type' => 'enum',
     'enum' => array(),
     'desc' => _("What to do with messages after they have been reported 
as spam?"),
     'help' => 'prefs-delete_spam_after_report',
     'on_init' => function($ui) {
         $enum = array(
             0 => _("Nothing"),
             1 => _("Delete message")
             $enum[2] = _("Move to Spam mailbox");
         $ui->prefs['delete_spam_after_report']['enum'] = $enum;

What should I do here?

// Move to Spam mailbox
$_prefs['delete_spam_after_report']['enum'] = ### <-- what should I add 
here to "Move to Spam mailbox".


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3947 bytes
Desc: S/MIME Cryptographic Signature
URL: <https://lists.horde.org/archives/horde/attachments/20170930/f6957102/attachment-0001.bin>

More information about the horde mailing list