我搜索所有可能的解决方案来解决这些问题并尝试但仍然无法正常工作。我联系我的服务器,这是webpandahost,但他们说它正在运行。
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();
}
}
错误讯息:
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
答案 0 :(得分:-4)
尝试在标题中添加“回复”。
或试试这个
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
<form method="post" enctype="multipart/form-data">
<input type='file' multiple="multiple" name="uploads[]" id="uploads" />
<div class="preview user-uploads" id="preview"></div>
</form>