Start by publishing using the standard smtp ports and verify that this works using the configuration below:
function index () {
$ config = Array ('protocol' => 'smtp', 'smtp_host' => 'smtp.googlemail.com', 'smtp_port' => 25, 'smtp_user' => 'email', 'smtp_pass' =>' pass ');
$ this-> load-> library ('email', $ config);
$ this-> email-> from ('email', 'George'); $ This-> email-> to ('email'); $ this-> email-> subject ("hey this letter"); $ this-> email-> message ("this is email content");
$ this-> email-> send (); }
Once you have tried this and it all works, read this:
http://codeigniter.com/forums/viewthread/84689/
Alunr source share