0
我收到此錯誤幫助!我試圖發送電子郵件,但在你的if語句再次使用前$this->email->send()
其不工作無法發送沒有「發件人」標題的郵件
$this->email->from('[email protected]', 'Your Name');
$this->email->to($data['email']);
$this->email->subject('This the test');
$this->email->message('this is the test message');
$this->email->send();
if(! $this->email->send()){
echo $this->email->print_debugger();
}
else
{
echo 'send';
}
我得到這個誤差
Cannot send mail with no "From" header.