title: Force phpmailer to send mail with empty body
body: <p>I need to send an pdf file as attachment to a FAX gateway using phpMailer. If this email has a body, the fax will have a second page with this text.</p>
  
  <p>By saying:</p>
  
  <pre><code>$mail-&gt;Body = "";
  </code></pre>
  
  <p>php Mailer returns <code>Message body empty</code></p>
  
  <p>How can I force phpMailer to send emails without a body message?</p>
  
  <p>Here the complete code</p>
  
  <pre><code>$mail = new PHPMailer();
  $emailto = $_POST['sendto'].'@gateway.provider.xy';
  $pdf_filename = 'PDF_list_'.date('dmY').'.pdf';
  /*
  STMP Auth...
  */
  $mail-&gt;From = $fmail;
  $mail-&gt;FromName = $row_firma['company'];
  $mail-&gt;AddAddress($emailto);
  $mail-&gt;AddAttachment($pdf_filename);
  $mail-&gt;Subject = "Subject";
  $mail-&gt;Body = "";
  $mail-&gt;AltBody = "";
  $mail-&gt;Send();
  </code></pre>