Hello 
One way could be to use a template (like the Template folder in Thunderbird) a,nd to have a way on 
a new mail (maybe in courrier preferences to select whiche template to use to write the mail. 

I see more than one benefit to use this system 
1) you can have a lot of templates/sigatures
2) you can add a image inside (with thunderbird editor for exemple)
3) i don tthink so it would be complicated in the code to make that (i don t know for now objectiveC) 

the only limitation that i see is the signature in the response but i don t think so that many peoples use it 

Regards 
Alain Abbas


Le Jeudi 18 Juillet 2013 14:28 CEST, Ludovic Marcotte <[email protected]> a écrit:
 
 
On 2013-07-18 6:00 AM, Christian Mack wrote:
This is not possible, because you would have to create a multipart em ail to embed the image.
This isn't exactly right.

When using HTML mails from SOGo, you can DnD an image in the signature editor to include a picture (at least, using Firefox).

If you do that from a Web browser, it'll include a reference to the image (ie., <img src="" href="http://....">"http://....">). If you do from outside a web browser (Finder, for example), it'll embed the image directly in the HTML content (ie.,<img alt="" src="" href="data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQA">data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQA ...>)

The second option is quite nice, and very self-contained. The problem with that is if you send such mail to Outlook 2010 users, Outlook will simply break on mails containing <img alt="" src="" content. It will simply not show attachments that you could have included in the mail you sent.

O ne workaround we could have in SOGo for the Outlook bug is upon sending, SOGo could "transform" the based64 encoded image from the <img> tag into a MIME part and include it in the email, and add a CID reference.

Thanks,
-- Ludovic Marcotte [email protected] :: +1.514.755.3630 :: http://inverse.ca Inverse inc. :: Leaders behind SOGo (http://sogo.nu) and PacketFence (http://packetfence.org)

 

Reply via email to