CodeIgniter Forums
CI Email - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: Best Practices (https://forum.codeigniter.com/forumdisplay.php?fid=12)
+--- Thread: CI Email (/showthread.php?tid=63554)



CI Email - ignitedcms - 11-13-2015

Hi guys,

Codeigniter phpmail works out of the box on mamp and wamp but it doesn't seem to work on linux using xamp. Is there another config I have to do to enable this?


RE: CI Email - ignitedcms - 11-14-2015

Anyone?


RE: CI Email - ignitedcms - 11-14-2015

This is my error msg when sending using phpmail under linux, xubuntu , using xampp.

Code:
Unable to send email using PHP mail(). Your server might not be configured to send mail using this method.

User-Agent: CodeIgniter
Date: Sat, 14 Nov 2015 12:41:48 +0000
From: "Name" <[email protected]>
Return-Path: <[email protected]>
Reply-To: "[email protected]" <[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_56472c0c0d722"
Test from IgnitedCMS
This is a multi-part message in MIME format.
Your email application may not support this format.

--B_ALT_56472c0c0d722
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Congratulations,your email works


--B_ALT_56472c0c0d722
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Congratulations,your email works

--B_ALT_56472c0c0d722--

No problems in windows or mamp


RE: CI Email - Martin7483 - 11-14-2015

Check your php.ini You need to configure your settings


RE: CI Email - mike7418 - 01-13-2016

Are you sure SendMail is running on the Linux box?