Welcome Guest, Not a member yet? Register   Sign In
Email function doesn't work since 3 septembre 2015
#3

Thanks but still bugging...

I don't have a application/config/email.php in my files (maybe a very old CI version).

But I test this :
PHP Code:
$config['mailtype'] = 'html';
$config['charset'] = 'utf-8';
$config['newline'] = "\r\n";

$this->email->initialize($config);

$this->load->library('email');

$this->email->from('[email protected]','From Title');
$this->email->to('[email protected]'); 
$this->email->subject('Hello Admin!'); 
$this->email->message('Message hello!'); 
$this->email->send();

echo 
$this->email->print_debugger(); 

No email received... Sad

The debug trace after :
Quote:Votre message a bien été expédié via le protocole suivant : mail
User-Agent: CodeIgniter
Date: Sat, 21 Nov 2015 22:33:24 +0100
From: "From Title"
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: multipart/alternative; boundary="B_ALT_5650e324d1f39"


=?utf-8?Q?Hello_Admin!?=
This is a multi-part message in MIME format.
Your email application may not support this format.

--B_ALT_5650e324d1f39
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit

Message hello!


--B_ALT_5650e324d1f39
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

Message hello!

--B_ALT_5650e324d1f39--

Thanks for help.

Paco
Reply


Messages In This Thread
RE: Emill function doesn't work since 3 septembre 2015 - by pcayrol - 11-21-2015, 02:35 PM



Theme © iAndrew 2016 - Forum software by © MyBB