Im trying to send an array in an email. I use the function
$this->email->message(print_r($array2, true));
When i use this, the array come through in the email, but its displayed in a single line. Is it possible to use something like "pre and /pre" tags to format it? I tried using the typography helper in CI,
$this->load->helper('typography');
$array2 = auto_typography($array);
but it doesn't seem to work. Any ideas on how to go about this?
Thanks,
Chris.