Hi,
I have readed many posts about this problem but still I have some problems my initial config looks like this :
$configmail = array(
‘protocol’ => ‘smtp’,
‘smtp_host’ => ‘ssl://smtp.gmail.com’,
‘smtp_user’ => ‘my.login.name’,
‘smtp_pass’ => ‘password’,
‘smtp_port’ => 465,
‘wordwrap’ => TRUE,
‘mailtype’ => ‘text’,
‘charset’ => ‘utf-8’
);
$this->load->library(‘email’, $configmail);
and the part of code that sends the mail :
$this->email->from(‘[email protected]’, ‘name’);
$this->email->to($reg_email);
$this->email->subject(‘topic’);
$this->email->message(‘testowa’);
$this->email->send();
echo $this->email->print_debugger();
and still I get this kind of output :
220 mx.google.com ESMTP s10sm13968098mue.27
hello: 250-mx.google.com at your service, [xxx.xx.xx.xx]
250-SIZE 35651584
250-8BITMIME
250-AUTH LOGIN PLAIN XOAUTH
250-ENHANCEDSTATUSCODES
250 PIPELINING
from: 250 2.1.0 OK s10sm13968098mue.27
to: 250 2.1.5 OK s10sm13968098mue.27
data: 354 Go ahead s10sm13968098mue.27
451 4.4.2 Timeout - closing connection. s10sm13968098mue.27
The following SMTP error was encountered: 451 4.4.2 Timeout - closing connection. s10sm13968098mue.27
Unable to send email using PHP SMTP. Your server might not be configured to send mail using this method.
User-Agent: CodeIgniter
Date: Sun, 28 Mar 2010 22:39:28 -0400
From: “name”
Return-Path:
To: .(JavaScript must be enabled to view this email address)
Subject: =?utf-8?Q?topic?=
Reply-To: “[email protected]”
X-Sender: .(JavaScript must be enabled to view this email address)
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: 8bittestowa
I have this on Linux Debian server if u want some kind of output just say. Can any one help me with this problem ?