I am improving the partner mass mailing feature to be able to send  
personalized messages (for ex. with the name of each partner) and to send 
attached files.

To choose the attached files I use binary fields in the wizard like this:


<form>
&nbsp; &nbsp; <field>
&nbsp; &nbsp; <field>
&nbsp; &nbsp; ...
</form>'''

email_send_fields = &#123;
&nbsp; &nbsp; 'file1'&#58; &#123;'string'&#58; 'File 1', 'type'&#58; 
'binary'&#125;,
&nbsp; &nbsp; 'file2'&#58; &#123;'string'&#58; 'File 2', 'type'&#58; 
'binary'&#125;,
&nbsp; &nbsp;...
&#125;

But I only get the file content with the GTK 4.2 client binary widget losing 
the file name. How I can get both, the file content and file name?

------------------------
Jordi Esteve
Zikzakmedia SL




-------------------- m2f --------------------

--
http://www.openerp.com/forum/viewtopic.php?p=23454#23454

-------------------- m2f --------------------


_______________________________________________
Tinyerp-users mailing list
http://tiny.be/mailman/listinfo/tinyerp-users

Reply via email to