How to configure SMTP mail setting

Detection score: 5.0

  <p>$host = $_SERVER['HTTP_HOST'];
          preg_match("/[^./]+.[^./]+$/", $host, $matches);

<pre><code>    $qry = "SELECT * FROM tbl_users WHERE email = '".$_GET['email']."'"; 
    $result = mysqli_query($mysqli,$qry);
    $row = mysqli_fetch_assoc($result);


        $to = $_GET['email'];
        // subject
        $subject = ''.APP_NAME.' password';

<p>My developer gave me this code earlier for password reset, Now I've change my service provider which doesn't support port 25, Hence can anyone help me how to configure port in this ?</p>
Posted 11 days ago | reported 11 days ago
Posted by Yogesh Jangid (1)

Caught by 3 reasons: