zoukankan      html  css  js  c++  java
  • [转]Outlook 2016 will not display Web linked images

    本文转自:https://community.spiceworks.com/topic/1952626-outlook-2016-will-not-display-web-linked-images

    Problem:

    I have one client with Outlook 2016 that will not show Web linked images in received emails.  Even if you choose download image it will not show.  This is on a new fresh computer with Windows 7 pro, Office 2016 and Outlook 2016 with gmail account.  The images will show in Webmail and will also show if forward to a different account running the same versions of Windows and Office.  Compared settings of the two computer and they look the same, in registry, Office and Internet Explorer.  I have verified the linked images are still current and working, they have not been moved.

    Things I have tried:
    Outlook: File/Options/Trust Center Settings/ Uncheck Don't download pictures auto html/rss
    IE: Untick Do not save encrypted files to disk
    Registry: HKEY_CURRENT_USERSoftwareMicrosoftOffice16OutlookOptionsMailDWORD: SendPicturesWithDocument Value:1  This setting was not there and left it this way and instructed and compared to other client. 
    Outlook: Add Sender to Safe Senders List
    Windows: Checked Temporary Internet Files folder and Location
    Registry: HKEY_CURRENT_USERSoftwareMicrosoftOffice16CommonDWORD: BlockHTTPimages Value: 1 This setting was not there and left it this way and instructed and compared to other client.

    Solution:

    Sorry this took so long for me to get back to.  So I tried at least a dozen different things I found online that seem to work for everyone else.  The fix for me was to move the Temporary Internet Files folder.  I simply went to Internet Explorer > Tools > Internet Options > General Tab > Browsing History > Settings Button and choose Move Folder.  Restarted the computer and there I go - worked -.  Thank you for the suggestions.

    Other method:

    https://stackoverflow.com/questions/6706891/embedding-image-in-html-email

    The other solution is attaching the image as attachment and then referencing it html code using cid.

    HTML Code:

    <html>
    <head>
    </head>
    <body>
    <img width=100 height=100 id=""1"" src=""cid:Logo.jpg"">
    </body>
    </html>
    C# Code:

    EmailMessage email = new EmailMessage(service);
    email.Subject = "Email with Image";
    email.Body = new MessageBody(BodyType.HTML, html);
    email.ToRecipients.Add("abc@xyz.com");
    string file = @"C:UsersacvPicturesLogo.jpg";
    email.Attachments.AddFileAttachment("Logo.jpg", file);
    email.Attachments[0].IsInline = true;
    email.Attachments(0).ContentId = "Logo.jpg";
    email.SendAndSaveCopy();

  • 相关阅读:
    jmeter跨平台执行时的文件路径问题
    jenkins配置
    jmeter--负载测试
    jmeter-脚本制作
    jmeter学习-性能指标、jmeter初识
    功能测试--其他
    功能测试--Fiddler
    功能测试--APP专项
    功能测试--基础(二)
    功能测试-基础(一)
  • 原文地址:https://www.cnblogs.com/freeliver54/p/11193247.html
Copyright © 2011-2022 走看看