title: asp.net mvc aws sdk - doesn't render html email
body: <p>I'm using asw sdk for sending email messages. I'm having a problem with rendering
  email. Email sends fine, but in email web client (e.g. Gmail) email is in plain text.
  Below is my code:</p>
  
  <pre><code>string fileInfo = HttpContext.Current.Server.MapPath("~/Content/template.html");
  string html = File.ReadAllText(fileInfo);
  
  MailService.SendEmail(from, html, "Password reset", emails);
  </code></pre>
  
  <p>template.html file is validated strict html file.</p>
  
  <p>Send email method:</p>
  
  <pre><code>public static void SendEmail(string emailFrom, string emailBody, string emailSubject, List&lt;string&gt; toAddresses)
      {
          AmazonSimpleEmailServiceConfig amazonConfiguration = new AmazonSimpleEmailServiceConfig();
          AmazonSimpleEmailServiceClient client = new AmazonSimpleEmailServiceClient("keyId","secretKey",amazonConfiguration);                 
  
          Destination destination = new Destination();
          destination.ToAddresses = toAddresses;
          Body body = new Body() { Html = new Content(emailBody) };
  
          Content subject = new Content(emailSubject);
          Message message = new Message(subject, body);
  
          SendEmailRequest sendEmailRequest = new SendEmailRequest(emailFrom, destination, message);
  
          client.SendEmail(sendEmailRequest);
      }
  </code></pre>
  
  <p>Email gets delivered, but it is in plain text. What am I doing wrong?</p>