diff options
| author | Ferchu <> | 2010-09-21 13:02:53 +0530 |
|---|---|---|
| committer | Jay (OpenERP) <jvo@tinyerp.com> | 2010-09-21 13:02:53 +0530 |
| commit | d31b61e8a2ff4ac36da7d3de5705007c78e058e4 (patch) | |
| tree | 12820b18e6ae004bf300351f9de32382a2066b6e /addons/fetchmail | |
| parent | d95c7049a54b00559a675df900d5e3d9c96f300d (diff) | |
[FIX] Fetchmail : Correction for pop server mail processing
lp bug: https://launchpad.net/bugs/643994 fixed
bzr revid: jvo@tinyerp.com-20100921073253-hmf0yps77j8s8o9n
Diffstat (limited to 'addons/fetchmail')
| -rw-r--r-- | addons/fetchmail/fetchmail.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/fetchmail/fetchmail.py b/addons/fetchmail/fetchmail.py index cd25a5f1883..7d527442391 100644 --- a/addons/fetchmail/fetchmail.py +++ b/addons/fetchmail/fetchmail.py @@ -154,7 +154,7 @@ class email_server(osv.osv): for num in range(1, numMsgs + 1): (header, msges, octets) = pop_server.retr(num) msg = '\n'.join(msges) - res_id = email_tool.process_email(cr, uid, server.object_id.model, data[0][1], attach=server.attach, context=context) + res_id = email_tool.process_email(cr, uid, server.object_id.model, msg, attach=server.attach, context=context) if res_id and server.action_id: action_pool = self.pool.get('ir.actions.server') action_pool.run(cr, uid, [server.action_id.id], {'active_id': res_id, 'active_ids':[res_id]}) |
