PHPMailer sends with TLS even when encryption is not enabled
<p>I am trying sending email using PHPMailer without TLS, but PHPMailer still tries to send email with TLS even if I do not enable it:</p>

<pre><code>include_once("PHPMailer-master\PHPMailerAutoload.php");

$To = 'some@site.com';
$Subject = 'Topic';
$Message = 'msg test';

$Host = 'site.com.br';
$Username = 'contact@site.com.br';
$Password = 'pass';
$Port = "587";

$mail = new PHPMailer();
$body = $Message;
$mail-&gt;IsSMTP(); // telling the class to use SMTP
$mail-&gt;Host = $Host; // SMTP server
$mail-&gt;SMTPDebug = 1; // enables SMTP debug information (for testing)
// 1 = errors and messages
// 2 = messages only
$mail-&gt;SMTPAuth = true; // enable SMTP authentication
//$mail-&gt;SMTPSecure = 'ssl'; //or tsl -&gt; switched off
$mail-&gt;Port = $Port; // set the SMTP port for the service server
$mail-&gt;Username = $Username; // account username
$mail-&gt;Password = $Password; // account password

$mail-&gt;SetFrom($Username);
$mail-&gt;Subject = $Subject;
$mail-&gt;MsgHTML($Message);
$mail-&gt;AddAddress($To);

if(!$mail-&gt;Send()) {
    $mensagemRetorno = 'Error: '. print($mail-&gt;ErrorInfo);
    echo $mensagemRetorno;
} else {
    $mensagemRetorno = 'E-mail sent!';
    echo $mensagemRetorno;
}
</code></pre>

<p>After send email, I got this message:</p>

<pre><code>2016-09-01 21:08:55 CLIENT -&gt; SERVER: EHLO www.johnmendes.com.br
2016-09-01 21:08:55 CLIENT -&gt; SERVER: STARTTLS
2016-09-01 21:08:55 SMTP ERROR: STARTTLS command failed: 454 TLS not available due to temporary reason
2016-09-01 21:08:55 SMTP Error: Could not connect to SMTP host.
2016-09-01 21:08:55 CLIENT -&gt; SERVER: QUIT
2016-09-01 21:08:55 SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
Erro ao enviar e-mail: 1
</code></pre>

<p>The server doesn't support ssl or tls.</p>

<p>Any idea?</p>