[SOGo] Image in the Signature

2013-07-18 Thread ABBAS Alain
HelloI m trying to find a way to add an endebbed image in the siganture (the logo) , Somebodyhas a way to do that (even in command line ? )Regards


Re: [SOGo] Image in the Signature

2013-07-18 Thread Christian Mack
Hello ABBAS Alain

Am 2013-07-18 10:55, schrieb ABBAS Alain:
 
 I m trying to find a way to add an endebbed image in the siganture (the
 logo) , Somebody 
 has a way to do that (even in command line ? ) 
 

This is not possible, because you would have to create a multipart email
to embed the image.
Normally emails are not multipart.
Signatures are only appended to the content part of your email, so they
cannot change that.

Kind regards,
Christian Mack

-- 
Christian Mack
Gruppe Informationsdienste
Rechenzentrum Universität Konstanz
-- 
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] Image in the Signature

2013-07-18 Thread Steve Ankeny
A lot of companies want a logo inserted into a signature file with a 
phone number, address, etc.


The only way I've found to accomplish this is with the 'Stationery' 
extension in Thunderbird.  Works wonderfully, but there's no way (as far 
as I know) to attach an HTML signature in the web interface.


All e-mail is text when it crosses the wire!  That's the first lesson 
of security, so text is best.  However, many companies are familiar with 
the abilities of Outlook to compose fancy embedded images.


My problems have been with embedded images in multi-part e-mails not 
displaying in Thunderbird.


The problem occurs when 'Microsoft Word' is chosen as the e-mail editor 
for Outlook.  As far as I can tell from the Thunderbird forums, using 
'Word' as the e-mail editor does not meet W3C HTML standards.


So, it's a problem that appears unresolvable if users continue to use 
non-standard products.


On 07/18/2013 06:00 AM, Christian Mack wrote:

Hello ABBAS Alain

Am 2013-07-18 10:55, schrieb ABBAS Alain:

I m trying to find a way to add an endebbed image in the siganture (the
logo) , Somebody
has a way to do that (even in command line ? )


This is not possible, because you would have to create a multipart email
to embed the image.
Normally emails are not multipart.
Signatures are only appended to the content part of your email, so they
cannot change that.

Kind regards,
Christian Mack



--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] Image in the Signature

2013-07-18 Thread Ludovic Marcotte

On 2013-07-18 6:00 AM, Christian Mack wrote:

This is not possible, because you would have to create a multipart email
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=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=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=data:image.. 
content. It will simply not show attachments that you could have 
included in the mail you sent.


One 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
lmarco...@inverse.ca  ::  +1.514.755.3630  ::  http://inverse.ca
Inverse inc. :: Leaders behind SOGo (http://sogo.nu) and PacketFence 
(http://packetfence.org)

--
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] Image in the Signature

2013-07-18 Thread Szládovics Péter

2013-07-18 15:35 keltezéssel, ABBAS Alain írta:

Hello
some webmails do that by adding the message as mutlipart (like 
Thunderbird do). Inline data (image:data)

are not supported by many mail readers (doesn t work too with Tb)

THis is really a miss in this beautiful product( Sogo) as even horde 
has this feature since a long time.


Maybe if some companies are interested we could sponsor the 
modifications ?


--
html head meta http-equiv=content-type content=text/html; /head


Hi Alain,

Your signature is not valid and not really HTML.

The first point, the '--' sign. Please use 3 characters, two dash and 
one space: '-- ' ;)
The second: the signature part above seems HTML, but it isn't. In mail 
source there is the following:


lt;htmlgt; lt;headgt; lt;meta http-equiv=quot;content-typequot; 
content=quot


Third - The HTML code ah many errors: head still opened, the value of 
content variable quote is still opened...

And many more...

So, I don't wondering, if some email clients not supported that. :)

BTW inline image: if in the sogo webmail you write an HTML mail, and dnd 
a picture in the mail, thunderbird will show it correctly.

--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] Image in the Signature

2013-07-18 Thread ABBAS Alain
OOPS
sorry i was tryings somethings and forgot to remove:)



Le Jeudi 18 Juillet 2013 15:46 CEST, Szládovics Péter p...@szladovics.hu a 
écrit:

 It's my faulty day... :(

 2013-07-18 15:42 keltezéssel, Szládovics Péter írta:
  2013-07-18 15:35 keltezéssel, ABBAS Alain írta:
  --
  html head meta http-equiv=content-type content=text/html;
  /head
 
  Hi Alain,
 
  Your signature is not valid and not really HTML.
 
  The first point, the '--' sign. Please use 3 characters, two dash and
  one space: '-- ' ;)
  The second: the signature part above seems HTML, but it isn't. In mail
  source there is the following:
 
  lt;htmlgt; lt;headgt; lt;meta http-equiv=quot;content-typequot;
  content=quot
 
  Third - The HTML code ah many errors: head still opened, the value
  of content variable quote is still opened...

 ah==has.
 head == meta
 And many more :)

  And many more...
 
  So, I don't wondering, if some email clients not supported that. :)
 
  BTW inline image: if in the sogo webmail you write an HTML mail, and
  dnd a picture in the mail, thunderbird will show it correctly.

 --
 users@sogo.nu
 https://inverse.ca/sogo/lists



-- 
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] Image in the Signature

2013-07-18 Thread MJ Ray
On 18/07/13 14:35, ABBAS Alain wrote:
 THis is really a miss in this beautiful product( Sogo) as even horde has this 
 feature since a long time.

I think SOGo is correct here.  It seems like a bug in horde because it's
quite annoying to have company logos actually encoded in every email,
wasting mail quota and data transfer quota.  Stuff like that expands 30%
or so when it is attached to emails.  Do those companies not realise
other people don't like their logos that much?  Perhaps we could help to
explain it to them somehow?

Regards,
-- 
MJ Ray (slef), member of www.software.coop, a for-more-than-profit co-op
http://koha-community.org supporter, web and library systems developer.
In My Opinion Only: see http://mjr.towers.org.uk/email.html
Available for hire (including development) at http://www.software.coop/
-- 
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] Image in the Signature

2013-07-18 Thread ABBAS Alain
The customer is the kind Ray and many companies wants that even if i m ok with you about the trafficand customer make me live :)RegardsLe Jeudi 18 Juillet 2013 17:14 CEST, MJ Ray m...@phonecoop.coop a crit:On 18/07/13 14:35, ABBAS Alain wrote: THis is really a miss in this beautiful product( Sogo) as even horde has this feature since a long time.I think SOGo is correct here. It seems like a bug in horde because itsquite annoying to have company logos actually encoded in every email,wasting mail quota and data transfer quota. Stuff like that expands 30%or so when it is attached to emails. Do those companies not realiseother people dont like their logos that much? Perhaps we could help toexplain it to them somehow?Regards,--MJ Ray (slef), member of www.software.coop, a for-more-than-profit co-ophtt
 p://koha-community.org supporter, web and library systems developer.In My Opinion Only: see http://mjr.towers.org.uk/email.htmlAvailable for hire (including development) at http://www.software.coop/--users@sogo.nuhttps://inverse.ca/sogo/lists


Re: [SOGo] Image in the Signature

2013-07-18 Thread ABBAS Alain
HelloOne way could be to use a template (like the Template folder in Thunderbird) a,nd to have a way ona 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 system1) you can have a lot of templates/sigatures2) 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 itRegardsAlain AbbasLe Jeudi 18 Juillet 2013 14:28 CEST, Ludovic Marcotte lmarco...@inverse.ca 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 isnt 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, itll include a reference to the image (ie., img src="" href="http://">http://). If you do from outside a web browser (Finder, for example), itll 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 lmarco...@inverse.ca :: +1.514.755.3630 :: http://inverse.ca Inverse inc. :: Leaders behind SOGo (http://sogo.nu) and PacketFence (http://packetfence.org)


Re: [SOGo] Image in the Signature

2013-07-18 Thread Stuart Longland
On 18/07/13 23:35, ABBAS Alain wrote:
 some webmails do that by adding the message as mutlipart (like
 Thunderbird do). Inline data (image:data)
 are not supported by many mail readers (doesn t work too with Tb)

Not correct, Thunderbird supports inline image data, as that's how our
company _normally_ does its signatures -- the attached signature HTML
file, when used in Thunderbird, yields a signature with an inline image
in the email.

I normally however, for the sake of mailing lists that normally forbid
HTML, use a plain ASCII signature.
-- 
##   -,--. ## Stuart Longland, Contractor
##.  :  ##   :   ##   38b Douglas Street
 ## #  ## -'`   .#'   Milton, QLD, 4064
 '#'  *'   '-.  *'http://www.vrt.com.au
 S Y S T E M ST: +61 7 3535 9619   F: +61 7 3535 9699

-- 
users@sogo.nu
https://inverse.ca/sogo/lists text/html; name="vrt_sig.html": Unrecognized