title: Image not displayed in asp.net email signature
body: <p>I am creating an asp.net app that sends out an email. I need to attach an corporate logo in the signature. My image is displayed as </p>
  
  <p><img src="https://i.stack.imgur.com/Ev469.jpg" alt="enter image description here">.  </p>
  
  <p>My code is:  </p>
  
  <pre><code>LinkedResource logo = new LinkedResource(
                            "c:\\Data\\Misc\\Images\\CorpLogo.jpg", "image/jpeg");
  logo.ContentId = "corpLogo";
  logo.TransferEncoding = TransferEncoding.Base64;
  
  AlternateView av1 = AlternateView.CreateAlternateViewFromString("&lt;html&gt;&lt;body&gt;" + msgBody + "&lt;br&gt;&lt;img src=cid:corpLogo/&gt;&lt;br&gt;&lt;/body&gt;&lt;/html&gt;", null, MediaTypeNames.Text.Html);
  av1.LinkedResources.Add(logo);
  message.AlternateViews.Add(av1);
  
  message.Body = msgBody;  
  </code></pre>
  
  <p>When I hover over "logo" I can see the "contentlink" value is null.<br>
  Why would the image not be displayed?  </p>