メールを送信しようとするたびにエラーが発生します。
hello:
The following SMTP error was encountered:
Failed to send AUTH LOGIN command. Error:
from:
The following SMTP error was encountered:
to:
The following SMTP error was encountered:
data:
The following SMTP error was encountered:
The following SMTP error was encountered:
Unable to send email using PHP SMTP. Your server might not be configured to send mail using this method.
User-Agent: CodeIgniter
Date: Sun, 1 Jul 2012 20:47:47 +0000
From: "Rapphie"
Return-Path:
To: csorila17@gmail.com
Subject: =?iso-8859-1?Q?Email_Test?=
Reply-To: "alinorapjoseph@gmail.com"
X-Sender: alinorapjoseph@gmail.com
X-Mailer: CodeIgniter
X-Priority: 3 (Normal)
Message-ID: <4ff0b7736810b@gmail.com>
Mime-Version: 1.0
//.。
まあ、私は何も悪いことは見ていませんが、実際には、おそらく何か大きなものが欠けています..これが私のコントローラーにあるものです..
$config = Array(
'protocol' => 'smtp',
'smtp_host' => 'smtp.googlemail.com',
'smtp_port' => 465,
'smtp_user' => 'alinorapjoseph@gmail.com',
'smtp_pass' => '****',
'mailtype' => 'html',
'charset' => 'iso-8859-1'
);
$this->load->library('email', $config);
$this->email->from('alinorapjoseph@gmail.com','Rapphie');
$this->email->to($email,'Charmie');
$this->email->subject('Email Test');
$this->email->message('Testing the email class.');
$this->email->send();
echo $this->email->print_debugger();
「ssl://smtp.gmail.com」は次のような別のエラーが発生するため、使用しません。
fsockopen(): unable to connect to ssl://smtp.gmail.com:465 (Unable to find the socket transport "ssl"