Provided by: ciderwebmail_1.05+20150729-6_all bug

FUNCTIONS

   add_foldertree_uris($c, {folders => $folder_tree, path => 'folder/path', uris => [{action =>
       'view', uri => 'view_folder'}, ...]})
       Adds some URIs to a folder tree.

   add_foldertree_icons($c, {folders => $folder_tree})
       Adds some icons to a folder tree.

   uri_mask_folder_path($path)
       Mask all slashes in folder path for use in URIs.

   add_foldertree_to_stash($c)
       Gets a folder tree and folders hash from the model, adds 'view' uris and puts them on the
       stash.

   send_foldertree_update($c)
       Common function to reply to a request with a new folder tree. Used in AJAX commands.

   filter_unusable_addresses(@addresses)
       Filters a list of addresses (string or Email::Address::XS) to get rid of stuff like
       'undisclosed-recipients:'

   message_group_name
       formats a date/subject/address for message-grouping for examples it removes (re:|fwd:)
       from subjects

   encrypt({ string => $string })
       encrypt a string

   decrypt({ string => $string })
       decrypt a string

   get_key()
       gets the server-side encryption key if no key exists one will be created