[imp] How to set 'Sent Items' to be the default Sent Mail Special Folder

Jan Schneider jan at horde.org
Mon Aug 18 15:20:38 UTC 2014


Zitat von L. D. James <ljames at apollo3.com>:

> Can someone help me with how to set "Sent Items" to be the special  
> folder where copies of sent mail will be saved?
>
> Looking at the prefs.php it appears that it would be a matter of  
> editing the backends.php which I initial did.  This didn't change it.
>
> Edited backends.php:
> --------------------------------------------------------
>     'special_mboxes' => array(
>          IMP_Mailbox::MBOX_DRAFTS => 'Drafts',
>          IMP_Mailbox::MBOX_SENT => 'Sent Items',
>          IMP_Mailbox::MBOX_SPAM => 'Spam',
>          IMP_Mailbox::MBOX_TEMPLATES => 'Templates',
>          IMP_Mailbox::MBOX_TRASH => 'Trash',
>          IMP_Mailbox::MBOX_USERSPECIAL => array(
>              'Example' => _("Example Special Mailbox")
>          )
>     ),
>     'autocreate_special' => true,
> --------------------------------------------------------
>
> When that didn't work I modified the pref.php to:

Don't edit prefs.php. Read the comments.

> --------------------------------------------------------
> // sent mail mailbox
> $_prefs['sent_mail_folder'] = array(
>     // NOTE: Localization of this name for display purposes is done
>     // automatically. To change the default value based on the backend, see
>     // the 'special_mboxes' option in config/backends.php.
>     'value' => 'Sent Items'
> );
> --------------------------------------------------------
>
> The sent mail is still saved to "sent" instead of "Sent Items".
>
> Thanks in advance for any input.
>
> -- L. James
>
> -- 
> L. D. james
> ljames at apollo3.com
> www.apollo3.com/~ljames

Changing identity preferences (like sent_mail_folder) only works if  
user don't have identities created yet, or create a new identity.

-- 
Jan Schneider
The Horde Project
http://www.horde.org/
https://www.facebook.com/hordeproject



More information about the imp mailing list