Integrate Google Apps Mail with CodeIgniter - Error |
Hello,
I am developing a web app. The config details of the same are as follows: Domain - BigRock SMTP : Google Apps configured in BigRock Domain App server - EC2 , Redhat Linux Website - Developed in PHP using MVC architecture based on CodeIgniter. CodeIgniter has been already installed on the app server and is working for fine for everything else. I am running a simple file to test email : public function sendmail() { $config = Array( 'protocol' => 'smtp', 'smtp_host' => 'ssl://smtp.gmail.com', 'smtp_port' => 465, 'smtp_user' => '[email protected]', 'smtp_pass' => '<<our correct pwd>>', 'mailtype' => 'html', 'charset' => 'iso-8859-1' ); $this->load->library('email', $config); $this->email->set_newline("\r\n"); $this->email->from('[email protected]', 'sender name'); $this->email->to('[email protected]'); $this->email->cc('[email protected]'); $this->email->subject('Email Testing'); $this->email->message('Email Working'); if ($this->email->send()) echo "Mail Sent!"; else echo "There is error in sending mail!"; echo $this->email->print_debugger(); } But I am getting and error as provided in attachment. Can you tell me where we are going wrong? Thanks |
Messages In This Thread |
Integrate Google Apps Mail with CodeIgniter - Error - by Aneri - 05-27-2016, 03:50 AM
RE: Integrate Google Apps Mail with CodeIgniter - Error - by PaulD - 05-27-2016, 09:15 AM
RE: Integrate Google Apps Mail with CodeIgniter - Error - by Aneri - 05-27-2016, 11:21 PM
RE: Integrate Google Apps Mail with CodeIgniter - Error - by arma7x - 05-27-2016, 11:36 AM
RE: Integrate Google Apps Mail with CodeIgniter - Error - by arma7x - 05-28-2016, 01:22 AM
RE: Integrate Google Apps Mail with CodeIgniter - Error - by Aneri - 05-28-2016, 02:14 AM
RE: Integrate Google Apps Mail with CodeIgniter - Error - by arma7x - 05-28-2016, 05:44 AM
RE: Integrate Google Apps Mail with CodeIgniter - Error - by skunkbad - 05-28-2016, 05:16 PM
RE: Integrate Google Apps Mail with CodeIgniter - Error - by Aneri - 05-29-2016, 12:28 AM
|