【发布时间】:2012-07-05 17:03:46
【问题描述】:
尝试使用 sendmail 或 smtp 发送电子邮件时,我收到内部服务器错误。 我收到了电子邮件,但根据错误日志,cookie 出现问题:
mod_security:使用代码 500 拒绝访问。解析 cookie 时出错:规范化 cookie 值时出错:检测到无效字符 [0] [hostname "myDomain.be"] [uri "/favicon.ico"]
我不知道 favicon.ico 在那里做什么,因为我没有使用 favicon
$this->load->library('email');
$this->email->from($this->input->post('email'), $this->input->post('name'));
$this->email->to('xxx@xxx.com');
$this->email->subject('xxxcontact');
$this->email->message($this->input->post('message'));
$this->email->set_alt_message($this->input->post('message'));
($this->email->send())
我在配置文件中定义了我的配置。
【问题讨论】:
-
在我看来它与您发送电子邮件后发生的事情更相关,也许是重定向?
标签: php codeigniter email internal-server-error