mh-folder-from-address

mh-folder-from-address is an autoloaded compiled Lisp function in `mh-folder.el'.

(mh-folder-from-address)

Derive folder name from sender.

The name of the folder is derived as follows:

a) The folder name associated with the first address found in
the list `mh-default-folder-list' is used. Each element in
this list contains a "Check Recipient" item. If this item is
turned on, then the address is checked against the recipient
instead of the sender. This is useful for mailing lists.

b) An alias prefixed by `mh-default-folder-prefix'
corresponding to the address is used. The prefix is used to
prevent clutter in your mail directory.

Return nil if a folder name was not derived, or if the variable
`mh-default-folder-must-exist-flag' is t and the folder does not
exist.