html structure is printed as it is in email code

I am Trying to send email with html structure but the html structure is printed as it is in email .I have used following two lines in email code

$headers .= "MIME-Version: 1.0" . "rn";
 $headers .= "Content-type:text/html;charset=UTF-8" . "rn"; 

but there is no improvement

 $email_subject =  $cnm ." |abc.com";
            $email_message ="<HTML><BODY><TABLE>";
            $email_message .= "<TR><TD> Job Descrption :".$jb_des ."</TD></TR>rnn";
            $email_message .="<TR><TD>Employer Name :".$frm_nm." </TD></TR>" ."rnn";
            $email_message .="<TR><TD>Company Name :".$cnm." </TD></TR>" ."rnn";
            $email_message .="<TR><TD>Message :".$msg." </TD></TR>" ."rnn";
            $email_message .="<TR><TD>Title of Job Opening :".$job_ti." </TD></TR>" ."rnn";
            $email_message .="</TABLE></BODY></HTML>";
            $headers = "From:<$frm_nm@".DOMAIN_WEBMAIL.">"."rnn";
            $headers .= "MIME-Version: 1.0" . "rn";
            $headers .= "Content-type:text/html;charset=UTF-8" . "rn";  
            @mail($to_em,$email_subject, $email_message, $headers); 


Source: php

Leave a Reply