Roundcube Community Forum

 

RC webmail does not display cid: embedded images while Outlook does

Started by andipfaff, January 11, 2013, 07:59:03 AM

Previous topic - Next topic

andipfaff

Hi,

I try to send a Newsletter in html format with included Logo (cid:logo.png). All versions of Outlook and Outlook Express are displaying the logo. In RC webmail I do not find the src="cid:logo.png". The image tag diwth class and style is still inside the email html code but the "src" tag is completely removed. Is this a bug or an error on my side? This i my code which I am sending with perl's SMTP library:
===========================
<div style="width: 750px; margin: auto;">
    <div style="margin-top: 10px; clear: all;">
    <img src="cid:logo.png" alt=""><img src="cid:header.png" alt="">
$mail_text
    </div>
</div>

===========================
And this is what I get in RC webmail:
<div style="width: 750px; margin: auto;">
    <div style="margin-top: 10px; clear: all;">
    <img alt="" /><img alt="" />
    </div>
</div>
===========================

Thanks for your help!
Best regards
Andi Pfaff


alec


andipfaff

I could send the Email to somewhere where you can verify it if you want. Version is the newest but I had it with older versions as well. This is the entire code:
==============================================
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html><head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-15"><title>Email</title>
<style type="text/css" media="all">
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, p, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td
    {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    color: #3A3A3A;
    background-color: #f5f5f5;
    }

html, body, div, ul, li, p, td
    {
    font-family: Arial, Helvetica, Geneva, Swiss, SunSans-Regular;
    font-size: 13px;
    }

table
    {
    border-collapse: collapse;
    border-spacing: 0;
    }

ol, ul
    {
    list-style-type: square;
    list-style-position: outside;
    margin-left: 16px;
    }

.b
    {
    font-weight: bold;
    }

.orange {color: #f69d1d;}
.footer {color: #3a3a3a; line-height: 1.3em;}
</style>
</head>

<body>
<div style="width: 750px; margin: 0 auto;">
<div style="margin-top: 10px;">
<img src="cid:logo.png" alt="" style="margin: 0px; padding: 0px; float: left;"><img src="cid:header.png" alt="" style="margin: 0px; padding: 0px; float: left;">
<div style=" clear: both;">Chers organisateurs,<br>
<br>
dès cette année, le laufkalender24.de prévoit la distribution régulière d'une newsletter à ses membres. La présentation des courses à pied ayant lieu prochainement sera l'un des thèmes important de la newsletter. Ceci est une opportunité pour vous de faire parler de votre manifestation de manière encore plus effective. A cet effet, nous aurions besoin d'une description brève et attrayante de votre manifestation (9. Défferdenger Chrëschtlaf).<br>
<br>
Au fait: nous publions aussi des photos de votre manifestation sur la page détaillée et dans le newsletter. Vous pouvez nous en envoyer quelques unes.<br>
<br>
<a target="_blank" href="http://www.laufkalender24.de/fr/descmod/151944/8x5335o844/9.-D%C3%A9fferdenger-Chr%C3%ABschtlaf.html">http://www.laufkalender24.de/fr/descmod/151944/8x5335o844/9.-D%C3%A9fferdenger-Chr%C3%ABschtlaf.html</a><br>
<br>
Vous pouvez aussi nous envoyer le texte par e-mail. La longueur maximum est de 400 lettres. <br>
<br>
Merci d'avance pour votre soutien et salutations sportives<br>
<div class="footer"><span class="b">Andi Pfaff</span> | <span class="orange">Webmaster</span><br>
_________________________________________________________<br>
laufkalender24.de | <span class="orange">toujours au courant</span><br>
Calendrier des manifestations | Clubs | Magasins | Conseils | Nouveautes</div>

</div>
</div>
</div>
</body>
</html>
==============================================
The photos which I'm referring to are attached in each mail.




dkorzhevin

I'm also have same problem with roundcube 0.8.4

I see attached .png image file and string "[cid:[email protected]]" at the bottom of letter.



cid:[email protected]]
--=_19aed997db9d45c5f1e0b89a8284e996
Content-Transfer-Encoding: base64
Content-Type: i�m�a�g�e/png;
name=image001.png
Content-Disposition: attachment;
filename=image001.png;
size=111397

dkorzhevin

Sorry, but this is not roundcube problem. I checked all letters in plaintext with all headers - mails with "cid:" links - was send to mailbox in plaintext. So, this is Outlook issue.

andipfaff

Thank you, but as I already have written "Outlok 2002/2003/2010 does correctly display it" so how can Outlook be the problem? The only software which does not display the embedded graphics is roundcube.