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.
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->email->initialize($config);
$this->email->from('bjmpncr@thefourpobu.com', 'SJCDRRMO');
$this->email->to('ruedastefano@gmail.com');
$this->email->subject('Password Reset');
$this->email->message('We have reset your request. Your new password: Do not reply to this email.');
if($this->email->send()) {
echo "success";
} else {
echo $this->email->print_debugger();
}
}
Error message:
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