[FIX] mail: avoid catching (transient) MemoryErrors when sending outgoing mail
authorOlivier Dony <odo@openerp.com>
Wed, 30 Apr 2014 10:25:52 +0000 (12:25 +0200)
committerOlivier Dony <odo@openerp.com>
Wed, 30 Apr 2014 10:25:52 +0000 (12:25 +0200)
commitc43fdfe32b52e2c770cb2f74c367361562cf04ec
tree480120abb1dc4ef206386b9292fd571499dbb322
parent2d32d9e89c055008da2ecedbd9211de9e8958355
[FIX] mail: avoid catching (transient) MemoryErrors when sending outgoing mail

This would permanently mark the mail as failed while
there is a good chance it will be sent properly next
time it is retried (provided the memory situation
improves or the server/worker has restarted).

bzr revid: odo@openerp.com-20140430102552-qkwv20b20nve64th
addons/mail/mail_mail.py