How to send email in a table format in php

in CodeIgniter
sending email from client side but the data is sent in a single line sequence how to make it more structured?
Comments
-
$msg variable is used here to store the content of the mail, you can store table structure in $msg and pass it in mail() function.
Howdy, Stranger!