diff options
| author | Mantavya Gajjar <mga@tinyerp.com> | 2007-04-13 10:46:12 +0000 |
|---|---|---|
| committer | Mantavya Gajjar <mga@tinyerp.com> | 2007-04-13 10:46:12 +0000 |
| commit | a012a084fca239df619d10c01abb8631ae59da89 (patch) | |
| tree | e6ba8cf20d52294a191aa77ce70dec8c06a29766 /addons/crm/scripts/tinyerp-mailgate/tinyerp-mailgate.py | |
| parent | be8fc4511cb1637afc051ac4a48ad2a60687e925 (diff) | |
fix: major bugs but still it not properly evaluate soem mails
for recursive multipart
bzr revid: mga@tinyerp.com-afd31127855d185da11529bf59236fe6d98812d1
Diffstat (limited to 'addons/crm/scripts/tinyerp-mailgate/tinyerp-mailgate.py')
| -rwxr-xr-x | addons/crm/scripts/tinyerp-mailgate/tinyerp-mailgate.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/addons/crm/scripts/tinyerp-mailgate/tinyerp-mailgate.py b/addons/crm/scripts/tinyerp-mailgate/tinyerp-mailgate.py index 4ca6de870b4..f93f387a48d 100755 --- a/addons/crm/scripts/tinyerp-mailgate/tinyerp-mailgate.py +++ b/addons/crm/scripts/tinyerp-mailgate/tinyerp-mailgate.py @@ -125,7 +125,6 @@ class email_parser(object): for part in msg.walk(): if part.get_content_maintype() == 'multipart': continue - print part.get_content_maintype() ,' - ', part.get_content_subtype(); if part.get_content_maintype()=='text' and part.get_content_subtype() == 'plain': message['body'] += part.get_payload(decode=True).decode(part.get_charsets()[0]) |
