When reading the datas property of an attachment, a base64-encoded stream is expected. The mail.message.schedule_with_attach() method OTOH expects a binary file for attachments, so it should be decoded if extracted from a binary field. bzr revid: odo@openerp.com-20120308155650-blnwf7x2bkmsfue2