Question: I have an array, where the values are fetched from db lets say,

```
var ndp_static_hw = new Array("AB34AB3472AB","AB2265445588");

```

I need to colonize the values (ex: AB:34:AB:34:72:AB) and have it in seperate array say, `ndp_static_hw_colonized`.

how would we do this?

Answer: 
Just try this

```
$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();

```
You'll need to check with your server provider if the STMP Relay or External SMTP is allowed in your hosting account.