configuring codeigniter smtp on godaddy shared server
<p>I have tried the code below and keep getting this error</p>

<blockquote>
  <p>Unable to send email using PHP SMTP. Your server might not be configured to send mail using this method.</p>
</blockquote>

<pre><code>$config['protocol'] = 'smtp';
$config['smtp_host'] = 'mail.keytimeng.com'; //change this
$config['smtp_port'] = '25';
$config['smtp_user'] = 'info@keytimeng.com'; //change this
$config['smtp_pass'] = 'xxxx'; //change this
$config['mailtype'] = 'html';
$config['charset'] = 'iso-8859-1';
$config['wordwrap'] = TRUE;
$config['newline'] = "\r\n"; 
$this-&gt;email-&gt;initialize($config);
</code></pre>