Welcome Guest, Not a member yet? Register   Sign In
Mail function problem


I have some odd problem i have something like this in function:

$this -> load -> library ('email');
$this -> email -> from ('[email protected]', 'Newicz');
$this -> email -> to ('[email protected]');
$this -> email -> subject ('Testing message');
$this -> email -> message ('some kind of text');
$this -> email -> send();
echo $this -> email -> print_debugger();

and debugger print this:

Quote:Your message has been successfully sent using the following protocol: mail

From: "Newicz"
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: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
some kind of text

But i have no mail on my inbox... i checked spam folder too nothing...

Please help me!


Did you set the configuration in sending mails?

to configure it manually, (using gmail as server)

$config = array(
    'smtp_host' => 'ssl://smtp.googlemail.com',
    'smtp_port' => 465,
    'smtp_user' => '[email protected]',
    'smtp_pass' => 'password_here'
    $this->load->library('email', $config);

Also, many ISPs block subscribers from sending email locally. If that's the case, you should use something like the previous post to send through Google's or another mail server that you have access to.

Theme © iAndrew 2016 - Forum software by © MyBB