我正在使用以下代码发送电子邮件。但是当我按回复电子邮件时,它会在我的电子邮件中显示为“[email protected]”,并且它会将它发送到“[email protected]” 不知道我是否做了错误的事情或?Codeigniter邮件无法正常工作
$this->email->from($this->input->post('email'), $this->input->post('thename'));
$this->email->reply_to($this->input->post('email'), $this->input->post('thename'));
$this->email->to('[email protected]');
$this->email->subject('New Feedback');
$this->email->message($this->input->post('message'));
$this->email->send();
我觉得REPLY_TO是多余这里.. – NightMICU
尝试用$这个 - >的电子邮件 - >从($这个 - >输入 - >后( '电子邮件'));和$ this-> email-> reply_to($ this-> input-> post('email')) – Saleem
如果有任何异常? –