Wamp サーバー (ローカルホスト) を使用しています
エラーメッセージ
PHP エラーが発生しました 重大度: 警告メッセージ: mail() [function.mail]: 「localhost」ポート 25 でメールサーバーに接続できませんでした。php.ini の「SMTP」および「smtp_port」設定を確認するか、ini_set() を使用してくださいファイル名: libraries/Email.php 行番号: 1553
コントローラ
if ($this->form_validation->run() == TRUE)
{
//Email Verification
$key = md5(uniqid());
$this->load->library('email',array('mailtype'=>'html'));
$this->email->from ('info@worldquotes.in','Admin');
$this->email->to($this->input->post('email'));
$this->email->Subject('Confirm YOur Account');
$message = "<p> thank you for Signing Up </p>";
$message .= "<p> <a href= '".base_url()."main/register_user/$key '> Click here </a> to Confirm Your Account </p>";
$this->email->message($message);
if ($this->email->send()) {
echo "Then Email has been Send";
}else echo "Could ot send the Email, Contact info@worldquotes.in";
}
else
{
$this->load->view('signup');
}
}
エラー メッセージが表示された理由と解決方法を教えてください。