Welcome Guest, Not a member yet? Register   Sign In
Sending Emails
#11

[eluser]InsiteFX[/eluser]
Try:
Code:
'smtp_host' => 'ssl://smtp.googlemail.com',
#12

[eluser]Beginers[/eluser]
This is my current working code you try this one. I hope this will help you.

Code:
$config = Array(
                  'protocol' => 'smtp',
                  'smtp_host' => 'ssl://smtp.googlemail.com',
                  'validation'=>TRUE,
                  'smtp_timeout'=>30,
                  'smtp_port' => 465,
                  'smtp_user' => '[email protected]', // change it to yours
                  'smtp_pass' => 'yourpassword', // change it to yours
                  'mailtype' => 'html',
                  'charset' => 'iso-8859-1',
                  'wordwrap' => TRUE
                );
          $this->load->library('email', $config);
          $this->email->set_newline("\r\n");
          $this->email->from('[email protected]','Your Name'); // change it to yours
          $this->email->to('[email protected]'); // change it to yours
          $this->email->subject('Your subject');
          $this->email->message('your message');
          $this->email->send();

#13

[eluser]victor.dbb[/eluser]
i've turn off my firewall, and still not work, i've enabled the open ssl on my php.ini too,
please help me solve this problems, Big Grin




Theme © iAndrew 2016 - Forum software by © MyBB