none
cid:image.gif... etc in Notification Popup RRS feed

  • Question

  • Hi

    I built some HTML email templates with images in them for a client.  Then templates were saved to the clients stationery folder, so they could send personalised HTML messages instead of simply plain text emails.

    This works well and the client is happy, the only issue is when a user received an email, Outlook's notification popup in the right bottom corner of the screen shows the sender, the subject and then a random looking image link starting with cid:image.gif...

    Any way I can prevent this?

    Thanks

    Dave

    Tuesday, November 25, 2014 7:27 PM

All replies

  • Hello Dave,

    Embedded images are referred using the CID attribute. Do you have a corresponding hidden attachment in the mail item?

    Tuesday, November 25, 2014 7:37 PM
  • Outlook converts HTML to plain text to show its first few lines in the notification window.

    What is the value of the plain text MailItem.Body property for the problematic message?


    Dmitry Streblechenko (MVP)
    http://www.dimastr.com/redemption
    Redemption - what the Outlook
    Object Model should have been
    Version 5.5 is now available!

    Tuesday, November 25, 2014 7:44 PM
  • Hi Eugene

    Thanks for the quick reply.

    There are two images that are part of the email stationery template, so I think these are sent as hidden attachments?

    I guess it's one of these, is there a way I can check?

    Wednesday, November 26, 2014 9:42 AM
  • Hi Dmitry

    Thanks for the quick reply, how do I check the value of the MailItem.Body property?

    Thanks

    Dave

    Wednesday, November 26, 2014 9:45 AM
  • You can use MFCMAPI or OutlookSpy utilities for observing low-level properties.
    Wednesday, November 26, 2014 11:04 AM
  • You can use OutlookSpy for that - select the message in question, click the Item button on the OutlookSpy ribbon, select the Body property.


    Dmitry Streblechenko (MVP)
    http://www.dimastr.com/redemption
    Redemption - what the Outlook
    Object Model should have been
    Version 5.5 is now available!

    Wednesday, November 26, 2014 1:13 PM
  • Thanks for your replies.

    Here is what I have: https://drive.google.com/file/d/0B57zAUmIzbUjWDhrRl81Y0JVLWM/view?usp=sharing

    Wednesday, November 26, 2014 4:27 PM
  • How about PR_BODY in the IMessage window?


    Dmitry Streblechenko (MVP)
    http://www.dimastr.com/redemption
    Redemption - what the Outlook
    Object Model should have been
    Version 5.5 is now available!

    Wednesday, November 26, 2014 4:37 PM
  • It says

    https://drive.google.com/file/d/0B57zAUmIzbUjamlQOFhlRHhoaVU/view?usp=sharing

    Thursday, November 27, 2014 2:01 PM
  • Any ideas folks? :)
    Friday, November 28, 2014 11:37 AM
  • > Outlook's notification popup in the right bottom corner of the screen shows the sender, the subject and then a random looking image link starting with cid:image.gif...

    Could you please take a screenshot? Does your template contain the specified cid value?

    Saturday, November 29, 2014 4:08 PM
  • Hi Eugene

    Thanks for your reply.  I can't add an image or link on this message board for some reason, but if you could please copy and paste this into your browser you can see the screenshot:

    https://drive.google.com/file/d/0B57zAUmIzbUjTmlfVGRyazNDcDg/view?usp=sharing

    The cid value doesn't seem to relate to my image names, but how can I double check that it doesn't contain that value?

    Thanks

    Tuesday, December 2, 2014 7:33 AM
  • Could you please show the HTMLBody value for that email message?
    Tuesday, December 2, 2014 9:57 AM
  • Hi Eugene, is this what you need?

    <html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta name="Microsoft Theme 2.00" content="template_1_news.html 011"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
    o\:* {behavior:url(#default#VML);}
    w\:* {behavior:url(#default#VML);}
    .shape {behavior:url(#default#VML);}
    </style><![endif]--><style><!--
    /* Font Definitions */
    @font-face
    {font-family:Tahoma;
    panose-1:2 11 6 4 3 5 4 4 2 4;}
    /* Style Definitions */
    p.MsoNormal, li.MsoNormal, div.MsoNormal
    {margin:0cm;
    margin-bottom:.0001pt;
    font-size:12.0pt;
    font-family:"Times New Roman","serif";
    color:windowtext;}
    h1
    {
    "Heading 1 Char";
    margin:0cm;
    margin-bottom:.0001pt;
    font-size:12.0pt;
    font-family:"Times New Roman","serif";
    color:#00AEE0;
    font-weight:bold;}
    h3
    {
    "Heading 3 Char";
    margin-
    margin-right:0cm;
    margin-bottom:0cm;
    margin-
    margin-bottom:.0001pt;
    font-size:10.5pt;
    font-family:"Times New Roman","serif";
    color:#00AEE0;
    font-weight:bold;}
    a:link, span.MsoHyperlink
    {
    color:blue;
    text-decoration:underline;}
    a:visited, span.MsoHyperlinkFollowed
    {
    color:purple;
    text-decoration:underline;}
    p
    {
    margin-
    margin-right:0cm;
    margin-bottom:9.0pt;
    margin-
    font-size:9.0pt;
    font-family:"Times New Roman","serif";
    color:#4E4E4F;}
    p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
    {
    "Balloon Text Char";
    margin:0cm;
    margin-bottom:.0001pt;
    font-size:8.0pt;
    font-family:"Tahoma","sans-serif";
    color:windowtext;}
    span.EmailStyle17
    {
    color:#4E4E4F;}
    span.Heading1Char
    {"Heading 1 Char";
    "Heading 1";
    font-family:"Times New Roman","serif";
    color:#00AEE0;
    font-weight:bold;}
    span.Heading3Char
    {"Heading 3 Char";
    "Heading 3";
    font-family:"Times New Roman","serif";
    color:#00AEE0;
    font-weight:bold;}
    span.BalloonTextChar
    {"Balloon Text Char";
    "Balloon Text";
    font-family:"Tahoma","sans-serif";
    }
    .MsoChpDefault
    {
    font-family:"Calibri","sans-serif";
    }
    @page WordSection1
    {size:595.3pt 841.9pt;
    margin:72.0pt 72.0pt 72.0pt 72.0pt;}
    div.WordSection1
    {page:WordSection1;}
    --></style><!--[if gte mso 9]><xml>
    <o:shapedefaults v:ext="edit" spidmax="1026" />
    </xml><![endif]--><!--[if gte mso 9]><xml>
    <o:shapelayout v:ext="edit">
    <o:idmap v:ext="edit" data="1" />
    </o:shapelayout></xml><![endif]--></head><body bgcolor=white lang=EN-GB link=blue vlink=purple><div align=center><table border=0 cellspacing=0 cellpadding=0 width="100%" style='width:100.0%;background:#00AEE0'><tr><td style='background:white;padding:0cm 0cm 0cm 0cm'><div align=center><table border=0 cellspacing=0 cellpadding=0 width=600 style='width:450.0pt'><tr><td width=15 style='width:11.25pt;background:#00AEE0;padding:0cm 0cm 0cm 0cm'><p align=center style='text-align:center'><span style='font-family:"Arial","sans-serif";color:#48494A'>&nbsp;<o:p></o:p></span></p></td><td style='padding:0cm 0cm 0cm 0cm'><div align=center><table border=0 cellspacing=0 cellpadding=0 width=570 style='width:427.5pt;background:white'><tr style='height:61.5pt'><td width=570 style='width:427.5pt;padding:0cm 0cm 0cm 0cm;height:61.5pt'><div align=center><table border=0 cellspacing=0 cellpadding=0 width=570 style='width:427.5pt;background:#00AEE0'><tr style='height:61.5pt'><td width=526 style='width:394.5pt;padding:0cm 0cm 0cm 0cm;height:61.5pt'><div align=center><table border=0 cellspacing=0 cellpadding=0 width=526 style='width:394.5pt;background:#00AEE0'><tr style='height:19.5pt'><td width=526 style='width:394.5pt;padding:0cm 0cm 0cm 0cm;height:19.5pt'><p align=center style='text-align:center'><span style='font-family:"Arial","sans-serif";color:#48494A'>&nbsp;<o:p></o:p></span></p></td></tr><tr style='height:24.0pt'><td width=526 style='width:394.5pt;padding:0cm 0cm 0cm 0cm;height:24.0pt'><p style='font-size:24.0pt;font-family:"Arial","sans-serif";color:white'>IN THE NEWS</span></strong><span style='font-size:24.0pt;font-family:"Arial","sans-serif";color:white'><o:p></o:p></span></p></td></tr><tr style='height:18.75pt'><td width=526 style='width:394.5pt;padding:0cm 0cm 0cm 0cm;height:18.75pt'><p align=center style='text-align:center'><span style='font-family:"Arial","sans-serif";color:#48494A'>&nbsp;<o:p></o:p></span></p></td></tr></table></div></td><td width=44 style='width:33.0pt;padding:0cm 0cm 0cm 0cm;height:61.5pt'><p align=center style='text-align:center'><span style='font-family:"Arial","sans-serif";color:#48494A'><img width=44 height=82 id="_x0000_i1027" src="cid:image001.gif@01D00995.25CA81F0" alt=News></span><span style='font-family:"Arial","sans-serif";color:#48494A'><o:p></o:p></span></p></td></tr></table></div></td></tr><tr style='height:11.25pt'><td width=570 style='width:427.5pt;padding:0cm 0cm 0cm 0cm;height:11.25pt'><p align=center style='text-align:center;<span style='font-family:"Arial","sans-serif";color:#48494A'>&nbsp;<o:p></o:p></span></p></td></tr><tr style='height:11.25pt'><td width=570 style='width:427.5pt;padding:0cm 0cm 0cm 0cm;height:11.25pt'><div align=center><table border=0 cellspacing=0 cellpadding=0 width=570 style='width:427.5pt;background:#00AEE0'><tr style='height:90.0pt'><td width=15 style='width:11.25pt;background:white;padding:0cm 0cm 0cm 0cm;height:90.0pt'><p align=center style='text-align:center'><span style='font-family:"Arial","sans-serif";color:#48494A'>&nbsp;<o:p></o:p></span></p></td><td width=540 style='width:405.0pt;background:white;padding:0cm 0cm 0cm 0cm;height:90.0pt'><p align=center style='text-align:center'><span style='font-family:"Arial","sans-serif";color:#48494A'><img width=540 height=120 id="_x0000_i1026" src="cid:image002.jpg@01D00995.25CA81F0" alt="News Main Image"></span><span style='font-family:"Arial","sans-serif";color:#48494A'><o:p></o:p></span></p></td><td width=15 style='width:11.25pt;background:white;padding:0cm 0cm 0cm 0cm;height:90.0pt'><p align=center style='text-align:center'><span style='font-family:"Arial","sans-serif";color:#48494A'>&nbsp;<o:p></o:p></span></p></td></tr></table></div></td></tr><tr style='height:8.25pt'><td width=570 style='width:427.5pt;padding:0cm 0cm 0cm 0cm;height:8.25pt'><p align=center style='text-align:center;<span style='font-family:"Arial","sans-serif";color:#48494A'>&nbsp;<o:p></o:p></span></p></td></tr><tr><td width=570 style='width:427.5pt;padding:0cm 0cm 0cm 0cm'><div align=center><table border=0 cellspacing=0 cellpadding=0 width=570 style='width:427.5pt;background:#00AEE0'><tr><td width=15 style='width:11.25pt;background:white;padding:0cm 0cm 0cm 0cm'><p align=center style='text-align:center'><span style='font-family:"Arial","sans-serif";color:#48494A'>&nbsp;<o:p></o:p></span></p></td><td width=325 valign=top style='width:243.75pt;background:white;padding:0cm 0cm 0cm 0cm'><h1><span style='font-family:"Arial","sans-serif"'>Marie Stopes International mentions<o:p></o:p></span></h1><p><span style='font-family:"Arial","sans-serif"'><u><span style='color:#00AEE0'>The Nation</span></u> covers the latest in the current UN debate about the next round of development goals. Concerns have been raised that women's reproductive rights may be diminished as the number of targets is doubled. It notes initiatives to bolster family planning are coming from a range of actors including private donations, such as the $50 million from Bloomberg Philanthropies split between Marie Stopes International and the Planned Parenthood Federation of America.<o:p></o:p></span></p><p><span style='font-family:"Arial","sans-serif"'>Access to family planning services can prevent the 4,360 unsafe abortions that occur in Uganda annually. Addressing parliamentarians from ten African countries, our director Dr Deepmala Mahla said access to family planning services will only be possible if clinical officers are trained to provide those services currently dispensed only by doctors, the Daily Monitor reports.<o:p></o:p></span></p><h3><span style='font-family:"Arial","sans-serif"'>Articles of interest<o:p></o:p></span></h3><p><span style='font-family:"Arial","sans-serif"'>Media scare stories over drinking during pregnancy are causing women to ask for abortions, The Independent and Mail on Sunday report. The British Pregnancy Advisory Service said that evidence suggested the risk of physical or neurological damage to babies from isolated episodes of binge drinking were &quot;minimal&quot;. Ann Furedi was interviewed on the BBC Today (54:17) programme on the subject.<o:p></o:p></span></p><h3><span style='font-family:"Arial","sans-serif"'>Have a great day.<o:p></o:p></span></h3><h3><span style='font-family:"Arial","sans-serif"'>The Communications Team<o:p></o:p></span></h3></td><td width=15 style='width:11.25pt;background:white;padding:0cm 0cm 0cm 0cm'><p align=center style='text-align:center'><span style='font-family:"Arial","sans-serif";color:#48494A'>&nbsp;<o:p></o:p></span></p></td><td width=200 valign=top style='width:150.0pt;background:white;padding:0cm 0cm 0cm 0cm'><div align=center><table border=0 cellspacing=0 cellpadding=0 width=111 style='width:83.25pt;background:#00AEE0'><tr><td width=200 style='width:150.0pt;background:#EAF7FC;padding:0cm 0cm 0cm 0cm'><div align=center><table border=0 cellspacing=0 cellpadding=0 width=197 style='width:147.75pt;background:#EAF7FC'><tr style='height:6.75pt'><td width=10 style='width:7.5pt;padding:0cm 0cm 0cm 0cm;height:6.75pt'><p align=center style='text-align:center;<span style='font-family:"Arial","sans-serif";color:#48494A'>&nbsp;<o:p></o:p></span></p></td><td width=180 style='width:135.0pt;padding:0cm 0cm 0cm 0cm;height:6.75pt'><p align=center style='text-align:center;<span style='font-family:"Arial","sans-serif";color:#48494A'>&nbsp;<o:p></o:p></span></p></td><td width=10 style='width:7.5pt;padding:0cm 0cm 0cm 0cm;height:6.75pt'><p align=center style='text-align:center;<span style='font-family:"Arial","sans-serif";color:#48494A'>&nbsp;<o:p></o:p></span></p></td></tr><tr><td width=10 style='width:7.5pt;padding:0cm 0cm 0cm 0cm'><p align=center style='text-align:center'><span style='font-family:"Arial","sans-serif";color:#48494A'>&nbsp;<o:p></o:p></span></p></td><td width=180 style='width:135.0pt;padding:0cm 0cm 0cm 0cm'><p style='font-size:9.0pt;font-family:"Arial","sans-serif";color:#48494A'>For further detail on these articles, or for support with media issues, please contact the media and public affairs team on:<br></span><strong><span style='font-size:9.0pt;font-family:"Arial","sans-serif";color:#00AEE0'>e:</span></strong><span style='font-size:9.0pt;font-family:"Arial","sans-serif";color:#48494A'> <a href="mailto:press@mariestopes.org"><span style='color:#4E4E4F;text-decoration:none'>press@mariestopes.org</span></a><br></span><strong><span style='font-size:9.0pt;font-family:"Arial","sans-serif";color:#00AEE0'>t:</span></strong><span style='font-size:9.0pt;font-family:"Arial","sans-serif";color:#48494A'> +44 (0) 20 3219 80 05 / 06 / 10<br></span><strong><span style='font-size:9.0pt;font-family:"Arial","sans-serif";color:#00AEE0'>m:</span></strong><span style='font-size:9.0pt;font-family:"Arial","sans-serif";color:#48494A'> +44 (0) 7769 166 516<o:p></o:p></span></p></td><td width=10 style='width:7.5pt;padding:0cm 0cm 0cm 0cm'><p align=center style='text-align:center'><span style='font-family:"Arial","sans-serif";color:#48494A'>&nbsp;<o:p></o:p></span></p></td></tr><tr style='height:6.75pt'><td width=10 style='width:7.5pt;padding:0cm 0cm 0cm 0cm;height:6.75pt'><p align=center style='text-align:center;<span style='font-family:"Arial","sans-serif";color:#48494A'>&nbsp;<o:p></o:p></span></p></td><td width=180 style='width:135.0pt;padding:0cm 0cm 0cm 0cm;height:6.75pt'><p align=center style='text-align:center;<span style='font-family:"Arial","sans-serif";color:#48494A'>&nbsp;<o:p></o:p></span></p></td><td width=10 style='width:7.5pt;padding:0cm 0cm 0cm 0cm;height:6.75pt'><p align=center style='text-align:center;<span style='font-family:"Arial","sans-serif";color:#48494A'>&nbsp;<o:p></o:p></span></p></td></tr></table></div></td></tr></table></div></td><td width=15 style='width:11.25pt;background:white;padding:0cm 0cm 0cm 0cm'><p align=center style='text-align:center'><span style='font-family:"Arial","sans-serif";color:#48494A'>&nbsp;<o:p></o:p></span></p></td></tr></table></div></td></tr><tr style='height:21.0pt'><td width=570 style='width:427.5pt;padding:0cm 0cm 0cm 0cm;height:21.0pt'><p align=center style='text-align:center;line-height:21.0pt'><span style='font-family:"Arial","sans-serif";color:#48494A'>&nbsp;<o:p></o:p></span></p></td></tr><tr><td width=570 style='width:427.5pt;padding:0cm 0cm 0cm 0cm'><div align=center><table border=0 cellspacing=0 cellpadding=0 width=570 style='width:427.5pt'><tr style='height:11.25pt'><td width=15 style='width:11.25pt;background:white;padding:0cm 0cm 0cm 0cm;height:11.25pt'><p align=center style='text-align:center;<span style='font-family:"Arial","sans-serif";color:#48494A'>&nbsp;<o:p></o:p></span></p></td><td width=540 style='width:405.0pt;background:white;padding:0cm 0cm 0cm 0cm;height:11.25pt'><p align=center style='text-align:center;<span style='font-family:"Arial","sans-serif";color:#48494A'><img border=0 width=540 height=15 id="_x0000_i1025" src="cid:image003.gif@01D00995.25CA81F0" alt="Horizontal Rule"></span><span style='font-family:"Arial","sans-serif";color:#48494A'><o:p></o:p></span></p></td><td width=15 style='width:11.25pt;background:white;padding:0cm 0cm 0cm 0cm;height:11.25pt'><p align=center style='text-align:center;<span style='font-family:"Arial","sans-serif";color:#48494A'>&nbsp;<o:p></o:p></span></p></td></tr><tr style='height:11.25pt'><td width=15 style='width:11.25pt;background:white;padding:0cm 0cm 0cm 0cm;height:11.25pt'><p align=center style='text-align:center;<span style='font-family:"Arial","sans-serif";color:#48494A'>&nbsp;<o:p></o:p></span></p></td><td width=540 valign=top style='width:405.0pt;background:white;padding:0cm 0cm 0cm 0cm;height:11.25pt'><p style='line-height:11.25pt'><span style='font-size:9.0pt;font-family:"Arial","sans-serif";color:#48494A'>For internal communication only. <o:p></o:p></span></p></td><td width=15 style='width:11.25pt;background:white;padding:0cm 0cm 0cm 0cm;height:11.25pt'><p align=center style='text-align:center;<span style='font-family:"Arial","sans-serif";color:#48494A'>&nbsp;<o:p></o:p></span></p></td></tr><tr style='height:8.25pt'><td width=15 style='width:11.25pt;background:white;padding:0cm 0cm 0cm 0cm;height:8.25pt'><p align=center style='text-align:center;<span style='font-family:"Arial","sans-serif";color:#48494A'>&nbsp;<o:p></o:p></span></p></td><td width=540 style='width:405.0pt;background:white;padding:0cm 0cm 0cm 0cm;height:8.25pt'><p align=center style='text-align:center;<span style='font-family:"Arial","sans-serif";color:#48494A'>&nbsp;<o:p></o:p></span></p></td><td width=15 style='width:11.25pt;background:white;padding:0cm 0cm 0cm 0cm;height:8.25pt'><p align=center style='text-align:center;<span style='font-family:"Arial","sans-serif";color:#48494A'>&nbsp;<o:p></o:p></span></p></td></tr></table></div></td></tr></table></div></td><td width=15 style='width:11.25pt;background:#00AEE0;padding:0cm 0cm 0cm 0cm'><p align=center style='text-align:center'><span style='font-family:"Arial","sans-serif";color:#48494A'>&nbsp;<o:p></o:p></span></p></td></tr><tr><td width=15 style='width:11.25pt;background:#00AEE0;padding:0cm 0cm 0cm 0cm'><p align=center style='text-align:center;<span style='font-family:"Arial","sans-serif";color:#48494A'>&nbsp;<o:p></o:p></span></p></td><td width=570 style='width:427.5pt;background:#00AEE0;padding:0cm 0cm 0cm 0cm'><p align=center style='text-align:center;<span style='font-family:"Arial","sans-serif";color:#48494A'>&nbsp;<o:p></o:p></span></p></td><td width=15 style='width:11.25pt;background:#00AEE0;padding:0cm 0cm 0cm 0cm'><p align=center style='text-align:center;<span style='font-family:"Arial","sans-serif";color:#48494A'>&nbsp;<o:p></o:p></span></p></td></tr></table></div></td></tr></table></div><p style='font-size:9.0pt;color:#4E4E4F'><o:p>&nbsp;</o:p></span></p></div></body></html>

    Tuesday, December 2, 2014 2:18 PM
  • Is this what you wanted to see Eugene?
    Friday, December 5, 2014 11:35 AM
  • Yes. But I don't see the cid value in the body of your email.

    What Outlook version do you have installed on the PC? Build numbers?

    Friday, December 5, 2014 12:40 PM
  • Thanks for checking.  I can see this cid:image001.gif but not the entire string after the @

    It is Outlook 14.0.7128.5000 (32-bit)

    Friday, December 5, 2014 2:06 PM