Source

cruge / extensions / crugemailer / CrugeMailerBase.php

Diff from to

extensions/crugemailer/CrugeMailerBase.php

 	protected function sendEmail($to,$subject,$body) {
 		$from = $this->mailfrom;
 		$_subject = $this->subjectprefix.$subject;
-		$headers="From: {$from}\r\nReply-To: {$from}";
+		$headers  = "From: {$from}\r\nReply-To: {$from}"."\r\n";
+		$headers .= "MIME-Version: 1.0"."\r\n";
+		$headers .= "Content-type: text/html; charset=utf-8"."\r\n";
 		$ret = @mail($to,$_subject,$body,$headers);
 		$tmp = "to:".$to."\nsubject:".$_subject."\nbody:".$body."\n";
 		Yii::log("email:\n".$tmp."\n","info");