Warning: stream_socket_enable_crypto(): this stream does not support SSL/crypto in C:\xampp\htdocs\12work\class.smtp.php on line 197
<p>i am using xampp i am try to send the email through local host 
but i got warning 
warning: stream_socket_enable_crypto(): this stream does not support SSL/crypto in C:\xampp\htdocs\12work\class.smtp.php on line 197
and my code is 
$mail = new PHPMailer();</p>

<pre><code>    $mail-&gt;IsSMTP(); // set mailer to use SMTP

    $mail-&gt;Host = "smtp.gmail.com"; // specify main and backup server

    $mail-&gt;SMTPAuth = true;
    $mail-&gt;Port = 25;

    $mail-&gt;SMTPSecure = "tls";

    $mail-&gt;SMTPAuth = true; // turn on SMTP authentication

    $mail-&gt;Username = "sheikh.abm@gmail.com"; // SMTP username

    $mail-&gt;Password = "mypassword"; // SMTP password

    $mail-&gt;From = "sheikh.abm@gmail.com"; //do NOT fake header.

    $mail-&gt;FromName = "MailMan";

    $mail-&gt;AddAddress("sheikh.abm@gmail.com"); // Email on which you want to send mail

    $mail-&gt;IsHTML(true);

    $mail-&gt;Subject = "Just a Test";

    $mail-&gt;Body = "Hello. I am testing &lt;b&gt;PHP Mailer.&lt;/b&gt;";

    if(!$mail-&gt;Send())

    {

    echo $mail-&gt;ErrorInfo;

    }else{

    echo "email was sent";

    }
</code></pre>
