diff options
| author | Thibault Delavallée <tde@openerp.com> | 2012-11-14 16:04:42 +0100 |
|---|---|---|
| committer | Thibault Delavallée <tde@openerp.com> | 2012-11-14 16:04:42 +0100 |
| commit | f0569f7133227fc07e9798e451b757205b5429e7 (patch) | |
| tree | 6afe1d8120705b11f3990203d3a2e89205301d3e /addons/fetchmail/fetchmail.py | |
| parent | 13f9de3d7c660e041e3d876d7f8939e220ccbdd6 (diff) | |
| parent | 23743683ea0e0e0be74007f3e411b7847bcec179 (diff) | |
[MERGE] Tools: mail.py: (E)Mail management
Refactored a bit openerp/tools about (e)mails and html.
- moved some (e)mail related functions from misc to mail
- moved html_sanitizer into mail
- added html_email_clean, to clean incoming emails (remove quotes, signature)
- added a plaintext2html function, to convert plaintext into html (\n and \r are replaced by <br/>, more than two <br/> are replaced by end and beginning of paragraphs)
- append_content_to_html now uses plaintext2html, according to some new flags
- added tests for html_email_clean, plaintext2html, updated test for append_content_to_html, html_sanitize
bzr revid: tde@openerp.com-20121114150442-4rpfdy9spm1ig0qw
Diffstat (limited to 'addons/fetchmail/fetchmail.py')
0 files changed, 0 insertions, 0 deletions
