title: How to use razor engine for email templating with image src
body: <p>I've found this <a href="http://blog.falafel.com/smarter-email-templates-in-asp-net-with-razorengine/" rel="nofollow">link</a> on how to using Razor Engine for email templates in asp.net and it worked great. But I've tried to have a logo in the email template with an image.</p>
  
  <p>Something like this:</p>
  
  <p><code>EmailTemplate.cshtml</code> (this by the way is a strongly-type view)</p>
  
  <pre><code>&lt;html&gt;
  &lt;body&gt;
    &lt;img src="logo.jpg" /&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>and when I try to submit it on email, it seems that the image path was not read, it only rendered an X in the content.</p>
  
  <p>I'm thinking to pass the image path as part of the Model but it seems odd that way. Is there any way to achieve this?</p>
  
  <p>Any help would be much appreciated. Thanks</p>