Dear Christopher,

this can be done with the same method that also works for some other
mail clients, e.g. Thunderbird, Maildroid...:

Create a mail signature (SOGO-Settings-IMAP accounts-Edit-Signature) and
switch to HTML source code view. Enter your signature, something like
(an anonymized version of a company signature I had in my mailbox):


    <p style="margin:0cm;margin-bottom:.0001pt"><b><span
    style="font-family:&quot;Arial&quot;,sans-serif;color:#00437A">My name goes 
here</span></b></p>
    <p style="margin:0cm;margin-bottom:.0001pt"><span
    
style="font-size:9.0pt;font-family:&quot;Arial&quot;,sans-serif;color:#595959;">Position</span></p>
    <b><span 
style="font-size:9.0pt;font-family:&quot;Arial&quot;,sans-serif;color:#00437A">Company
 Inc.</span></b><br />
    <img 
src="data:image/png;filename=logo_mailsignature.png;base64,XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
    alt="example-company-logo" class=""></span></a></span><br>
    <span 
style="font-size:9.0pt;font-family:&quot;Arial&quot;,sans-serif;color:#595959;">Company
 registration HR 4711<br>
    VAT-ID: DE47110815</span>


The image data has to be embedded here, behind the "base64,". Get the
base64 for example on the command-line, with
base64 < imagefile.png
and put it instead of the XXXXXXX (may be several lines - better
optimize the image you use to have proper size and dimensions).

Best regards

Anselm

Am 01.10.19 um 17:54 schrieb Christopher Wooley
(theonlytalkingg...@gmail.com):
> I am trying to create a signature that will contain a company logo and
> will have the best chance of being displayed, but I need it to show up
> as a "cid" and attachment. I don't want to have to manually attach the
> file every time. Is there a way to get SOGO to automatically attach a
> file?
> -- 
> users@sogo.nu
> https://inverse.ca/sogo/lists


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

Reply via email to