Welcome Guest, Not a member yet? Register   Sign In
Sending Mail
#13

[eluser]Unknown[/eluser]
I had problems with this initially and got around it by loading the parameters into an array, then initialising the library using the array.
Just Try This
Code:
$config = Array(
    'protocol' => 'smtp',
    'smtp_host' => 'ssl://smtp.googlemail.com',
    'smtp_port' => 465,
    'smtp_user' => 'xxx',
    'smtp_pass' => 'xxx',
    'mailtype'  => 'html',
    'charset'   => 'iso-8859-1'
);
$this->load->library('email', $config);
$this->email->set_newline("\r\n");

// Set to, from, message, etc.
        
$result = $this->email->send();

I Found The Answer Here

Solution


Messages In This Thread
Sending Mail - by El Forum - 10-24-2009, 06:10 PM
Sending Mail - by El Forum - 10-24-2009, 10:53 PM
Sending Mail - by El Forum - 10-24-2009, 11:06 PM
Sending Mail - by El Forum - 10-24-2009, 11:09 PM
Sending Mail - by El Forum - 10-24-2009, 11:18 PM
Sending Mail - by El Forum - 10-24-2009, 11:22 PM
Sending Mail - by El Forum - 10-24-2009, 11:26 PM
Sending Mail - by El Forum - 10-24-2009, 11:31 PM
Sending Mail - by El Forum - 10-24-2009, 11:48 PM
Sending Mail - by El Forum - 10-25-2009, 12:04 AM
Sending Mail - by El Forum - 10-25-2009, 01:36 AM
Sending Mail - by El Forum - 10-25-2009, 09:46 AM
Sending Mail - by El Forum - 11-21-2009, 08:33 AM



Theme © iAndrew 2016 - Forum software by © MyBB