Help

0

Displaying an attachement in a mail.message programmatically

Hello, 

Code question on V8.0 refers to method message_post() of mail addon.

How can I set an attachement to be displayed at the bottom of a mail.message after posting a message programmatically ? 

I provided the method message_post() with the attachements list of attachment tuples in the form ``(name,content)``, the upload process works fine, the attachements are listed in the attachements menu of the thread_id (actually the partner in my case) but the attachement is not shown as an icon in the corresponding message in the timeline below the partner. 

Avatar
Discard