im ottenendo mucchio di errori ogni volta che provo a trasmettere e-mail:Impossibile inviare il comando AUTH LOGIN in codeigniter
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: [email protected]
Subject: =?iso-8859-1?Q?Email_Test?=
Reply-To: "[email protected]"
X-Sender: [email protected]
X-Mailer: CodeIgniter
X-Priority: 3 (Normal)
Message-ID: <[email protected]>
Mime-Version: 1.0
// ..
così io non vedo nulla di male, ma in realtà, forse im manca qualcosa di grande .. ecco quello che ho nel mio controller ..
$config = Array(
'protocol' => 'smtp',
'smtp_host' => 'smtp.googlemail.com',
'smtp_port' => 465,
'smtp_user' => '[email protected]',
'smtp_pass' => '****',
'mailtype' => 'html',
'charset' => 'iso-8859-1'
);
$this->load->library('email', $config);
$this->email->from('[email protected]','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();
Non uso "ssl: //smtp.gmail.com" perché mi dà un altro errore come questo:
fsockopen(): unable to connect to ssl://smtp.gmail.com:465 (Unable to find the socket transport "ssl"
Non si vede nulla di male, sulla falsariga di "Tu non hai un servizio di posta SMTP configurato "? –
ora che ne hai parlato ... come posso configurarlo? Sto cercando la prima volta – Charmie
Hai mai scoperto questo problema? Puoi pubblicare la tua soluzione? – Catfish