[转]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_USER\Software\Microsoft\Office\16\Outlook\Options\Mail\DWORD: 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_USER\Software\Microsoft\Office\16\Common\DWORD: 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:\Users\acv\Pictures\Logo.jpg";
email.Attachments.AddFileAttachment("Logo.jpg", file);
email.Attachments[0].IsInline = true;
email.Attachments(0).ContentId = "Logo.jpg";
email.SendAndSaveCopy();

posted on 2019-07-16 10:22  freeliver54  阅读(147)  评论(0编辑  收藏

导航