我正在使用以下代碼發送電子郵件。但是當我按回覆電子郵件時,它會在我的電子郵件中顯示爲「[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
如果有任何異常? –