server might not be configured to send mail using this method
<p>I search all possible solutions to these problems and try but still not working.I contact my server which is webpandahost but they said it is working.</p>

<pre><code>function send_email()
{
    $config['protocol']     = 'smtp';
    $config['smtp_host']    = 'server.multimedia-street.com';
    $config['smtp_port']    = '465';
    $config['smtp_timeout'] = '7';
    $config['smtp_user']    = 'bjmpncr@thefourpobu.com';
    $config['smtp_pass']    = 'admin123';
    $config['charset']      = 'utf-8';
    $config['newline']      = "\r\n";
    $config['mailtype']     = 'text';

    $this-&gt;email-&gt;initialize($config);

    $this-&gt;email-&gt;from('bjmpncr@thefourpobu.com', 'SJCDRRMO');
    $this-&gt;email-&gt;to('ruedastefano@gmail.com');
    $this-&gt;email-&gt;subject('Password Reset');
    $this-&gt;email-&gt;message('We have reset your request. Your new password:  Do not reply to this email.');

    if($this-&gt;email-&gt;send()) {
        echo "success";
    } else {
        echo $this-&gt;email-&gt;print_debugger();
    }
}
</code></pre>

<p>Error message:</p>

<pre><code>The IP address sending this message does not have a
550-5.7.1 PTR record setup. As a policy, Gmail does not accept messages from
550-5.7.1 IPs with missing PTR records. Please visit
550-5.7.1  https://support.google.com/mail/answer/81126#authentication for more
550 5.7.1 information. dn3si12455081pac.266 - gsmtp
</code></pre>