$v){ $email_body .= "$k : $v \n"; } // Additional headers $headers .= "To: " . $target . "\r\n"; $headers .= "Content-Type: text/html; charset=UTF-8 \r\n"; //$headers .= "Bcc: CCCB-Registration@fao.org \r\n"; // $headers .= "Bcc: ".$FAO_email_BCC." \r\n"; $headers .= "From: ".$from." \r\n"; // $headers .= "Reply-To: iyp@fao.org \r\n"; $headers .= 'MIME-Version: 1.0 \r\n'; $headers .= "X_Mailer: PHP/" . phpversion(); // $headers .= "Content-Type: multipart/alternative; boundary=\"$mime_boundary\"\r\n"; // $headers .= "Content-Type: text/plain; charset=UTF-8\n"; // $body .= "Content-Type: text/html; charset=UTF-8\r\n"; // $body .= "Content-Transfer-Encoding: 8bit\r\n"; //$body = $lang["email_body"][$l[$conf['sys_language_uid']]]; //$subject = $lang["email_subject"][$l[$conf['sys_language_uid']]]; $status_mail = mail( $target ,$email_subject, $email_body,$headers); } ?>