[eluser]Kentish[/eluser]
Hello, am a beginner with codeigniter and php.
I have been following video tutorials and have completed till registration and email confirmation.
However, in the email, i want to send a proper text with formatting such as link and breaks.
Any guide on that please?
Else, can anyone help with the following code?
Code:
$body ="<table>";
$body .="<tr><td>Thank you for registration.</td></tr>";
$body .="<tr><td>To activate your account, please visit the following URL: </td></tr>";
$body .="<tr><td><a href='http://localhost/ci/index.php/user/register_confirm/'>Here</a></td></tr>";
$body .="<tr><td>Thank You.</td></tr>";
$body .="</table>";
$mailBody = $body;
$data = array(
"BODY" => $mailBody,
);
$this->email->message(); // i need to put the array in here, how do i do that?