send mail throught cron job

Hi everyone

I have problem for send mail. now I have user YiiMailer extension for send mail. but body message is:

Content-type: text/html

Any suggestion.

Hi, please post some of your code in the post and we will help you :)

$email = new YiiMailMessage();

$email->view = '//path/to/view/file';



$email->setSubject('this is a test');

$email->setBody(array('model' => $model), 'text/html');