Part of lp.services.mail.mailwrapper View In Hierarchy
Note that MailWrapper doesn't guarantee that all lines will be less than :width:, sometimes it's better not to break long lines in emails. See textformatting.txt for more information.
|Unknown Field: width||how long should the lines be|
|Unknown Field: indent||specifies how much indentation the lines should have|
|Unknown Field: indent_first_line||indicates whether the first line should be indented or not.|
|Parameters||force_wrap||When False (the default), only paragraphs containing a single line will be wrapped. Otherwise paragraphs in text will be re-wrapped. (type: bool)|
|wrap_func||A function to call at the beginning of each paragraph to be wrapped. If the function returns False, the paragraph is not wrapped. (type: callable or None)|