PHPmailer not working when connecting with sock5












0















Friend I'm facing this issue when connecting with sock5 to PHPmailer. I've complete code but facing this issue



When I'm connecting with sockets the script showing this error.



<?php
error_reporting(E_ALL);
require("./src/class.phpmailer.php");
require("config.php");

declare(ticks = 1);
error_reporting(1);

$child=0;
$i=0;
$q=0;
$p=0;
$smtp = "smtps";
$email = "emails";
$sockets = "socks";
$version = 5;
//$mmm =
$letter = file_get_contents('letter.html');

function send($socket, $socket_port, $host,$port,$encryption,$username,$password,$from,$fromname,$to,$subject,$html)
{
$mail = new PHPMailer();
$mail->IsSMTP();
$mail->SMTPDebug = 2;
$mail->SMTPAuth = true;
$mail->SMTPSecure = $encryption;
$mail->Socks_host = $socket;
$mail->Socks_port = $socket_port;
$mail->Host = $host;
$mail->Port= $port;
$mail->Username = $username;
$mail->Password = $password;
$mail->From = $from;
$mail->FromName = $fromname;
$mail->ClearAddresses();
$mail->AddAddress($to);
$mail->Subject = '=?UTF-8?B?'.base64_encode($subject).'?=';
# $mail->IsHTML(true);
$mail->Body = 'Hello World';
$mail->MsgHTML($html);
$mail->AltBody = "$txt";
# $mail->AddCustomHeader('Reply-to:','sender@example.com');
$mail->HeaderLine('Return-Path','sender@example.com');

return $mail->Send();
}


function Random($x)
{
$chars = "abcdefghijkmnopqrstuvwxyz0123456789";
srand((double)microtime()*1000000);
$i=0;
$pass = '' ;
while ($i <= $x)
{
$num = rand() % 36;
$tmp = substr($chars, $num, 1);
$pass = $pass . $tmp;
$i++;
}
return $pass;
}
function generateRandomString($length = 6) {
return substr(str_shuffle(str_repeat($x='0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ', ceil($length/strlen($x)) )),1,$length);
}
/*$content1 = file($sockets);
for ($s = 0; $s < count($content1); $s++)
{
$sox[$s] = explode(':', $content1[$s]);
}
*/

$fisier = file_get_contents($sockets); // Read the file with the proxy list
$linii = explode("n", $fisier); // Get each proxy

for($s = 0; $s < count($linii) - 1; $s++)
{
$sox[$s] = explode(":", $linii[$s]);
}

$content2=file($smtp);
for ($j=0;$j<count($content2);$j++)
{
$smtps[$j] = explode(' ', $content2[$j]);
}

$content=file($email);
for($i=0;$i<count($content);$i++)
{
if($q==(count($content2)))
{
$q=0;
}
if($p==(count($linii) - 1))
{
$p=0;
}
$emails[$i] = str_replace("n","", $content[$i]);
$pids[$child] = pcntl_fork();

if($pids[$child] == -1)
{
die("Could not fork!");
}
elseif($pids[$child] == 0)
{
$socks_host_ip = $sox[$p][0];
$sox[$p][1] = str_replace("n","",$sox[$p][1]);
$socks_host_port = $sox[$p][1];
$pmea=$emails[$i];
$smtps[$q][4]=str_replace("n","",$smtps[$q][4]);
$ip=$smtps[$q][0];
$port=$smtps[$q][1];
$encryption=$smtps[$q][2];
$user=$smtps[$q][3];
$pass=$smtps[$q][4];
$emsplit = explode("@",$emails);
$enc_email=base64_encode($emails[$i]);
$link2=str_replace("@","-",$emails[$i]);
$link2=str_replace("_","-",$link2);
$letter=ereg_replace('/[]/',"",$letter);
$letter=str_replace('pulamea', $pmea,$letter);
$letter=ereg_replace("&email&",$emails[$i],$letter);
$letter=ereg_replace("&emailenc&",$domeniu."/?id=".$enc_email,$letter);
$letter=ereg_replace("&date&",date("d/m/Y"),$letter);
$letter=str_replace("^","<span style='font-size:0px'>".Random(55)."</span>",$letter);

if($test_smtp==1)
{
$subject=$ip." ".$port." ".$encryption." ".$user." ".$pass." ".$subject;
}

$to=$emails[$i];

# if(send($socks_host_ip, $socks_host_port, $ip,$port,$encryption,$user,$pass,$dhost,$sender_name, $emails[$i],$subject."".rand(99999,999999999),$letter))
if(send($socks_host_ip, $socks_host_port, $ip,$port,$encryption,$user,$pass,$user,$sender_name, $emails[$i],$subject."".rand(99999,999999999),$letter))
{
$myFile = "SENT";
$fh = fopen($myFile, 'a+');
# $data1 = $to." ".$ip.":".$user."n";
$data1 = $to." ".$ip." ".$port." ".$encryption." ".$user." ".$pass."n";
fwrite($fh, $data1);
fclose($fh);
echo ($i+1)." -> ".$to." -> ".$ip.":".$user." -> 33[1;32mSENT33[37mn";
}
else
{
$myFile = "FAILED";
$fh = fopen($myFile, 'a+');
$data1 = $to." ".$ip.":".$user." ".$socks_host_port."n";
fwrite($fh, $data1);
fclose($fh);
echo ($i+1)." -> ".$to." -> ".$ip.":".$user." -> 33[1;31mFAILED33[37mn";
}
posix_kill(getmypid(), 9);
}
else
{
$child++;
if($child == $max )
{
pcntl_wait($status);
$child--;
}
}
$q++;
$p++;
}
?>


EOF caught while checking if connectedSMTP -> ERROR: AUTH not accepted from server:



Thanks in advance Please help to resolve this issue.










share|improve this question



























    0















    Friend I'm facing this issue when connecting with sock5 to PHPmailer. I've complete code but facing this issue



    When I'm connecting with sockets the script showing this error.



    <?php
    error_reporting(E_ALL);
    require("./src/class.phpmailer.php");
    require("config.php");

    declare(ticks = 1);
    error_reporting(1);

    $child=0;
    $i=0;
    $q=0;
    $p=0;
    $smtp = "smtps";
    $email = "emails";
    $sockets = "socks";
    $version = 5;
    //$mmm =
    $letter = file_get_contents('letter.html');

    function send($socket, $socket_port, $host,$port,$encryption,$username,$password,$from,$fromname,$to,$subject,$html)
    {
    $mail = new PHPMailer();
    $mail->IsSMTP();
    $mail->SMTPDebug = 2;
    $mail->SMTPAuth = true;
    $mail->SMTPSecure = $encryption;
    $mail->Socks_host = $socket;
    $mail->Socks_port = $socket_port;
    $mail->Host = $host;
    $mail->Port= $port;
    $mail->Username = $username;
    $mail->Password = $password;
    $mail->From = $from;
    $mail->FromName = $fromname;
    $mail->ClearAddresses();
    $mail->AddAddress($to);
    $mail->Subject = '=?UTF-8?B?'.base64_encode($subject).'?=';
    # $mail->IsHTML(true);
    $mail->Body = 'Hello World';
    $mail->MsgHTML($html);
    $mail->AltBody = "$txt";
    # $mail->AddCustomHeader('Reply-to:','sender@example.com');
    $mail->HeaderLine('Return-Path','sender@example.com');

    return $mail->Send();
    }


    function Random($x)
    {
    $chars = "abcdefghijkmnopqrstuvwxyz0123456789";
    srand((double)microtime()*1000000);
    $i=0;
    $pass = '' ;
    while ($i <= $x)
    {
    $num = rand() % 36;
    $tmp = substr($chars, $num, 1);
    $pass = $pass . $tmp;
    $i++;
    }
    return $pass;
    }
    function generateRandomString($length = 6) {
    return substr(str_shuffle(str_repeat($x='0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ', ceil($length/strlen($x)) )),1,$length);
    }
    /*$content1 = file($sockets);
    for ($s = 0; $s < count($content1); $s++)
    {
    $sox[$s] = explode(':', $content1[$s]);
    }
    */

    $fisier = file_get_contents($sockets); // Read the file with the proxy list
    $linii = explode("n", $fisier); // Get each proxy

    for($s = 0; $s < count($linii) - 1; $s++)
    {
    $sox[$s] = explode(":", $linii[$s]);
    }

    $content2=file($smtp);
    for ($j=0;$j<count($content2);$j++)
    {
    $smtps[$j] = explode(' ', $content2[$j]);
    }

    $content=file($email);
    for($i=0;$i<count($content);$i++)
    {
    if($q==(count($content2)))
    {
    $q=0;
    }
    if($p==(count($linii) - 1))
    {
    $p=0;
    }
    $emails[$i] = str_replace("n","", $content[$i]);
    $pids[$child] = pcntl_fork();

    if($pids[$child] == -1)
    {
    die("Could not fork!");
    }
    elseif($pids[$child] == 0)
    {
    $socks_host_ip = $sox[$p][0];
    $sox[$p][1] = str_replace("n","",$sox[$p][1]);
    $socks_host_port = $sox[$p][1];
    $pmea=$emails[$i];
    $smtps[$q][4]=str_replace("n","",$smtps[$q][4]);
    $ip=$smtps[$q][0];
    $port=$smtps[$q][1];
    $encryption=$smtps[$q][2];
    $user=$smtps[$q][3];
    $pass=$smtps[$q][4];
    $emsplit = explode("@",$emails);
    $enc_email=base64_encode($emails[$i]);
    $link2=str_replace("@","-",$emails[$i]);
    $link2=str_replace("_","-",$link2);
    $letter=ereg_replace('/[]/',"",$letter);
    $letter=str_replace('pulamea', $pmea,$letter);
    $letter=ereg_replace("&email&",$emails[$i],$letter);
    $letter=ereg_replace("&emailenc&",$domeniu."/?id=".$enc_email,$letter);
    $letter=ereg_replace("&date&",date("d/m/Y"),$letter);
    $letter=str_replace("^","<span style='font-size:0px'>".Random(55)."</span>",$letter);

    if($test_smtp==1)
    {
    $subject=$ip." ".$port." ".$encryption." ".$user." ".$pass." ".$subject;
    }

    $to=$emails[$i];

    # if(send($socks_host_ip, $socks_host_port, $ip,$port,$encryption,$user,$pass,$dhost,$sender_name, $emails[$i],$subject."".rand(99999,999999999),$letter))
    if(send($socks_host_ip, $socks_host_port, $ip,$port,$encryption,$user,$pass,$user,$sender_name, $emails[$i],$subject."".rand(99999,999999999),$letter))
    {
    $myFile = "SENT";
    $fh = fopen($myFile, 'a+');
    # $data1 = $to." ".$ip.":".$user."n";
    $data1 = $to." ".$ip." ".$port." ".$encryption." ".$user." ".$pass."n";
    fwrite($fh, $data1);
    fclose($fh);
    echo ($i+1)." -> ".$to." -> ".$ip.":".$user." -> 33[1;32mSENT33[37mn";
    }
    else
    {
    $myFile = "FAILED";
    $fh = fopen($myFile, 'a+');
    $data1 = $to." ".$ip.":".$user." ".$socks_host_port."n";
    fwrite($fh, $data1);
    fclose($fh);
    echo ($i+1)." -> ".$to." -> ".$ip.":".$user." -> 33[1;31mFAILED33[37mn";
    }
    posix_kill(getmypid(), 9);
    }
    else
    {
    $child++;
    if($child == $max )
    {
    pcntl_wait($status);
    $child--;
    }
    }
    $q++;
    $p++;
    }
    ?>


    EOF caught while checking if connectedSMTP -> ERROR: AUTH not accepted from server:



    Thanks in advance Please help to resolve this issue.










    share|improve this question

























      0












      0








      0








      Friend I'm facing this issue when connecting with sock5 to PHPmailer. I've complete code but facing this issue



      When I'm connecting with sockets the script showing this error.



      <?php
      error_reporting(E_ALL);
      require("./src/class.phpmailer.php");
      require("config.php");

      declare(ticks = 1);
      error_reporting(1);

      $child=0;
      $i=0;
      $q=0;
      $p=0;
      $smtp = "smtps";
      $email = "emails";
      $sockets = "socks";
      $version = 5;
      //$mmm =
      $letter = file_get_contents('letter.html');

      function send($socket, $socket_port, $host,$port,$encryption,$username,$password,$from,$fromname,$to,$subject,$html)
      {
      $mail = new PHPMailer();
      $mail->IsSMTP();
      $mail->SMTPDebug = 2;
      $mail->SMTPAuth = true;
      $mail->SMTPSecure = $encryption;
      $mail->Socks_host = $socket;
      $mail->Socks_port = $socket_port;
      $mail->Host = $host;
      $mail->Port= $port;
      $mail->Username = $username;
      $mail->Password = $password;
      $mail->From = $from;
      $mail->FromName = $fromname;
      $mail->ClearAddresses();
      $mail->AddAddress($to);
      $mail->Subject = '=?UTF-8?B?'.base64_encode($subject).'?=';
      # $mail->IsHTML(true);
      $mail->Body = 'Hello World';
      $mail->MsgHTML($html);
      $mail->AltBody = "$txt";
      # $mail->AddCustomHeader('Reply-to:','sender@example.com');
      $mail->HeaderLine('Return-Path','sender@example.com');

      return $mail->Send();
      }


      function Random($x)
      {
      $chars = "abcdefghijkmnopqrstuvwxyz0123456789";
      srand((double)microtime()*1000000);
      $i=0;
      $pass = '' ;
      while ($i <= $x)
      {
      $num = rand() % 36;
      $tmp = substr($chars, $num, 1);
      $pass = $pass . $tmp;
      $i++;
      }
      return $pass;
      }
      function generateRandomString($length = 6) {
      return substr(str_shuffle(str_repeat($x='0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ', ceil($length/strlen($x)) )),1,$length);
      }
      /*$content1 = file($sockets);
      for ($s = 0; $s < count($content1); $s++)
      {
      $sox[$s] = explode(':', $content1[$s]);
      }
      */

      $fisier = file_get_contents($sockets); // Read the file with the proxy list
      $linii = explode("n", $fisier); // Get each proxy

      for($s = 0; $s < count($linii) - 1; $s++)
      {
      $sox[$s] = explode(":", $linii[$s]);
      }

      $content2=file($smtp);
      for ($j=0;$j<count($content2);$j++)
      {
      $smtps[$j] = explode(' ', $content2[$j]);
      }

      $content=file($email);
      for($i=0;$i<count($content);$i++)
      {
      if($q==(count($content2)))
      {
      $q=0;
      }
      if($p==(count($linii) - 1))
      {
      $p=0;
      }
      $emails[$i] = str_replace("n","", $content[$i]);
      $pids[$child] = pcntl_fork();

      if($pids[$child] == -1)
      {
      die("Could not fork!");
      }
      elseif($pids[$child] == 0)
      {
      $socks_host_ip = $sox[$p][0];
      $sox[$p][1] = str_replace("n","",$sox[$p][1]);
      $socks_host_port = $sox[$p][1];
      $pmea=$emails[$i];
      $smtps[$q][4]=str_replace("n","",$smtps[$q][4]);
      $ip=$smtps[$q][0];
      $port=$smtps[$q][1];
      $encryption=$smtps[$q][2];
      $user=$smtps[$q][3];
      $pass=$smtps[$q][4];
      $emsplit = explode("@",$emails);
      $enc_email=base64_encode($emails[$i]);
      $link2=str_replace("@","-",$emails[$i]);
      $link2=str_replace("_","-",$link2);
      $letter=ereg_replace('/[]/',"",$letter);
      $letter=str_replace('pulamea', $pmea,$letter);
      $letter=ereg_replace("&email&",$emails[$i],$letter);
      $letter=ereg_replace("&emailenc&",$domeniu."/?id=".$enc_email,$letter);
      $letter=ereg_replace("&date&",date("d/m/Y"),$letter);
      $letter=str_replace("^","<span style='font-size:0px'>".Random(55)."</span>",$letter);

      if($test_smtp==1)
      {
      $subject=$ip." ".$port." ".$encryption." ".$user." ".$pass." ".$subject;
      }

      $to=$emails[$i];

      # if(send($socks_host_ip, $socks_host_port, $ip,$port,$encryption,$user,$pass,$dhost,$sender_name, $emails[$i],$subject."".rand(99999,999999999),$letter))
      if(send($socks_host_ip, $socks_host_port, $ip,$port,$encryption,$user,$pass,$user,$sender_name, $emails[$i],$subject."".rand(99999,999999999),$letter))
      {
      $myFile = "SENT";
      $fh = fopen($myFile, 'a+');
      # $data1 = $to." ".$ip.":".$user."n";
      $data1 = $to." ".$ip." ".$port." ".$encryption." ".$user." ".$pass."n";
      fwrite($fh, $data1);
      fclose($fh);
      echo ($i+1)." -> ".$to." -> ".$ip.":".$user." -> 33[1;32mSENT33[37mn";
      }
      else
      {
      $myFile = "FAILED";
      $fh = fopen($myFile, 'a+');
      $data1 = $to." ".$ip.":".$user." ".$socks_host_port."n";
      fwrite($fh, $data1);
      fclose($fh);
      echo ($i+1)." -> ".$to." -> ".$ip.":".$user." -> 33[1;31mFAILED33[37mn";
      }
      posix_kill(getmypid(), 9);
      }
      else
      {
      $child++;
      if($child == $max )
      {
      pcntl_wait($status);
      $child--;
      }
      }
      $q++;
      $p++;
      }
      ?>


      EOF caught while checking if connectedSMTP -> ERROR: AUTH not accepted from server:



      Thanks in advance Please help to resolve this issue.










      share|improve this question














      Friend I'm facing this issue when connecting with sock5 to PHPmailer. I've complete code but facing this issue



      When I'm connecting with sockets the script showing this error.



      <?php
      error_reporting(E_ALL);
      require("./src/class.phpmailer.php");
      require("config.php");

      declare(ticks = 1);
      error_reporting(1);

      $child=0;
      $i=0;
      $q=0;
      $p=0;
      $smtp = "smtps";
      $email = "emails";
      $sockets = "socks";
      $version = 5;
      //$mmm =
      $letter = file_get_contents('letter.html');

      function send($socket, $socket_port, $host,$port,$encryption,$username,$password,$from,$fromname,$to,$subject,$html)
      {
      $mail = new PHPMailer();
      $mail->IsSMTP();
      $mail->SMTPDebug = 2;
      $mail->SMTPAuth = true;
      $mail->SMTPSecure = $encryption;
      $mail->Socks_host = $socket;
      $mail->Socks_port = $socket_port;
      $mail->Host = $host;
      $mail->Port= $port;
      $mail->Username = $username;
      $mail->Password = $password;
      $mail->From = $from;
      $mail->FromName = $fromname;
      $mail->ClearAddresses();
      $mail->AddAddress($to);
      $mail->Subject = '=?UTF-8?B?'.base64_encode($subject).'?=';
      # $mail->IsHTML(true);
      $mail->Body = 'Hello World';
      $mail->MsgHTML($html);
      $mail->AltBody = "$txt";
      # $mail->AddCustomHeader('Reply-to:','sender@example.com');
      $mail->HeaderLine('Return-Path','sender@example.com');

      return $mail->Send();
      }


      function Random($x)
      {
      $chars = "abcdefghijkmnopqrstuvwxyz0123456789";
      srand((double)microtime()*1000000);
      $i=0;
      $pass = '' ;
      while ($i <= $x)
      {
      $num = rand() % 36;
      $tmp = substr($chars, $num, 1);
      $pass = $pass . $tmp;
      $i++;
      }
      return $pass;
      }
      function generateRandomString($length = 6) {
      return substr(str_shuffle(str_repeat($x='0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ', ceil($length/strlen($x)) )),1,$length);
      }
      /*$content1 = file($sockets);
      for ($s = 0; $s < count($content1); $s++)
      {
      $sox[$s] = explode(':', $content1[$s]);
      }
      */

      $fisier = file_get_contents($sockets); // Read the file with the proxy list
      $linii = explode("n", $fisier); // Get each proxy

      for($s = 0; $s < count($linii) - 1; $s++)
      {
      $sox[$s] = explode(":", $linii[$s]);
      }

      $content2=file($smtp);
      for ($j=0;$j<count($content2);$j++)
      {
      $smtps[$j] = explode(' ', $content2[$j]);
      }

      $content=file($email);
      for($i=0;$i<count($content);$i++)
      {
      if($q==(count($content2)))
      {
      $q=0;
      }
      if($p==(count($linii) - 1))
      {
      $p=0;
      }
      $emails[$i] = str_replace("n","", $content[$i]);
      $pids[$child] = pcntl_fork();

      if($pids[$child] == -1)
      {
      die("Could not fork!");
      }
      elseif($pids[$child] == 0)
      {
      $socks_host_ip = $sox[$p][0];
      $sox[$p][1] = str_replace("n","",$sox[$p][1]);
      $socks_host_port = $sox[$p][1];
      $pmea=$emails[$i];
      $smtps[$q][4]=str_replace("n","",$smtps[$q][4]);
      $ip=$smtps[$q][0];
      $port=$smtps[$q][1];
      $encryption=$smtps[$q][2];
      $user=$smtps[$q][3];
      $pass=$smtps[$q][4];
      $emsplit = explode("@",$emails);
      $enc_email=base64_encode($emails[$i]);
      $link2=str_replace("@","-",$emails[$i]);
      $link2=str_replace("_","-",$link2);
      $letter=ereg_replace('/[]/',"",$letter);
      $letter=str_replace('pulamea', $pmea,$letter);
      $letter=ereg_replace("&email&",$emails[$i],$letter);
      $letter=ereg_replace("&emailenc&",$domeniu."/?id=".$enc_email,$letter);
      $letter=ereg_replace("&date&",date("d/m/Y"),$letter);
      $letter=str_replace("^","<span style='font-size:0px'>".Random(55)."</span>",$letter);

      if($test_smtp==1)
      {
      $subject=$ip." ".$port." ".$encryption." ".$user." ".$pass." ".$subject;
      }

      $to=$emails[$i];

      # if(send($socks_host_ip, $socks_host_port, $ip,$port,$encryption,$user,$pass,$dhost,$sender_name, $emails[$i],$subject."".rand(99999,999999999),$letter))
      if(send($socks_host_ip, $socks_host_port, $ip,$port,$encryption,$user,$pass,$user,$sender_name, $emails[$i],$subject."".rand(99999,999999999),$letter))
      {
      $myFile = "SENT";
      $fh = fopen($myFile, 'a+');
      # $data1 = $to." ".$ip.":".$user."n";
      $data1 = $to." ".$ip." ".$port." ".$encryption." ".$user." ".$pass."n";
      fwrite($fh, $data1);
      fclose($fh);
      echo ($i+1)." -> ".$to." -> ".$ip.":".$user." -> 33[1;32mSENT33[37mn";
      }
      else
      {
      $myFile = "FAILED";
      $fh = fopen($myFile, 'a+');
      $data1 = $to." ".$ip.":".$user." ".$socks_host_port."n";
      fwrite($fh, $data1);
      fclose($fh);
      echo ($i+1)." -> ".$to." -> ".$ip.":".$user." -> 33[1;31mFAILED33[37mn";
      }
      posix_kill(getmypid(), 9);
      }
      else
      {
      $child++;
      if($child == $max )
      {
      pcntl_wait($status);
      $child--;
      }
      }
      $q++;
      $p++;
      }
      ?>


      EOF caught while checking if connectedSMTP -> ERROR: AUTH not accepted from server:



      Thanks in advance Please help to resolve this issue.







      php linux sockets email smtp






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Nov 26 '18 at 11:26









      Mohammad Furqan FazlaniMohammad Furqan Fazlani

      236




      236
























          0






          active

          oldest

          votes












          Your Answer






          StackExchange.ifUsing("editor", function () {
          StackExchange.using("externalEditor", function () {
          StackExchange.using("snippets", function () {
          StackExchange.snippets.init();
          });
          });
          }, "code-snippets");

          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "1"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53480108%2fphpmailer-not-working-when-connecting-with-sock5%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53480108%2fphpmailer-not-working-when-connecting-with-sock5%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Costa Masnaga

          Fotorealismo

          Create new schema in PostgreSQL using DBeaver