title: Send text/html content body with PhpMailer to yandex
body: <p>I am using following script and try to send html-text. The script works perfectly with gmail, hotmail,ect...except yandex.</p>
  
  <p>When I send an email to an yandex account the images (logo) are not shown beacuse yandex intreprets the body as a plain-text.</p>
  
  <pre><code> $mail = new PHPMailer;
  
   $mail-&gt;setFrom('garaux@garaux.com', 'First Last');
   $mail-&gt;addReplyTo('garaux@garaux.com', 'First Last');
   $mail-&gt;addAddress('danielgaraux@yandex.com', 'John Doe');
   $mail-&gt;Subject = 'PHPMailer mail() test';
   $mail-&gt;msgHTML(file_get_contents('content.html'), dirname(__FILE__));
   $mail-&gt;AltBody = 'Request';
  
   if (!$mail-&gt;send()) {
  echo "Mailer Error: " . $mail-&gt;ErrorInfo;
  } else {
  echo "Message sent!";
  }
  </code></pre>
  
  <p>YANDEX MESSAGE:</p>
  
  <pre><code>Received: from mxfront1h.mail.yandex.net ([127.0.0.1])
  by mxfront1h.mail.yandex.net with LMTP id s8gKzNkA
  for &lt;danielgaraux@yandex.com&gt;; Fri, 11 Dec 2015 20:34:05 +0300
  Received: from emerson.ch-meta.net (emerson.ch-meta.net [80.74.145.140])
  by mxfront1h.mail.yandex.net (nwsmtp/Yandex) with ESMTPS id QYzzKlQjLM-    Y4D4vaWO;
  Fri, 11 Dec 2015 20:34:04 +0300
  (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
  (Client certificate not present)
  Return-Path: info@armani.com
  X-Yandex-Front: mxfront1h.mail.yandex.net
  X-Yandex-TimeMark: 1449855244
  X-Yandex-Spam: 1
  Received: by emerson.ch-meta.net (Postfix, from userid 10072)
  id C9E595EA26EB; Fri, 11 Dec 2015 18:34:03 +0100 (CET)
  To: John Doe &lt;danielgaraux@yandex.com&gt;
  Subject: Aggiornamenti
  X-PHP-Originating-Script: 10072:class.phpmailer.php
  Date: Fri, 11 Dec 2015 18:34:03 +0100
  From: First Last &lt;info@armani.com&gt;
  Reply-To: First Last &lt;replyto@armani.com&gt;
  Message-ID: &lt;a5595b0b0404f7a50c971d624dd381bc@online-shop.cuccioletto.com&gt;
  X-Mailer: PHPMailer 5.2.14 (https://github.com/PHPMailer/PHPMailer)
  MIME-Version: 1.0
  Content-Type: multipart/alternative;
  boundary="b1_a5595b0b0404f7a50c971d624dd381bc"
  Content-Transfer-Encoding: 8bit
  X-Yandex-Forward: 577bb78e4bda6bc495c0ae8a29ce9d99
  
  This is a multi-part message in MIME format.
  
  --b1_a5595b0b0404f7a50c971d624dd381bc
  Content-Type: text/plain; charset=us-ascii
  
  This is a plain-text message body
  </code></pre>