그래서 코드 :(CodeIgniter를)
$this->load->library('email');
$this->email->from('[email protected]', 'mysite');
$this->email->to($email);
$this->email->subject('Email Test');
$this->email->message('Testing the email class.');
$this->email->send();
나는 내 이메일 확인란을 때 나는 이메일을 보낼 때 오류가없는 이유를 알 수는 없지만, 전자 메일이 없으므로 전자 메일이 목적지에 도달하지 않는 것처럼 보입니다. CodeIgniter를 사용하고 있는데, 아마도이 문제를 해결하기 위해 다른 설정을 추가해야 할 필요가있을 것입니다. 도와주세요!!
추신 : 나는 또한 기본 메일() 함수, 어쨌든 이메일이 문제가있는 내가
Your message has been successfully sent using the following protocol: mail
From: "mysite"
Return-Path:
Reply-To: "[email protected]"
X-Sender: [email protected]
X-Mailer: CodeIgniter
X-Priority: 3 (Normal)
Message-ID: <[email protected]>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
=?utf-8?Q?Email_Test?=
Testing the email class.
Gmail을
에서 그것을 확인했다, 제공하지 않습니다를 사용했다?
스팸을 너무 확인하십시오! – Prasanth
PHP가 전자 메일을 넘긴 후 어떤 일이 발생하는지 보려면 메일 서버의 로그를 확인하십시오. PHP는 실제로 원격 사서함/메일 서버에 전자 메일을 전달하지 않으며 로컬 (ish) SMTP 서버로 넘기면 배달을 담당하는 서버입니다. –
메일 서버가 있습니까? –