Hi,
I am using the Facile forms 1.4.7 when i am sending the email to lotus email the chinese is not accepting
see my below code to send out email
PHP CODEglobal $mosConfig_mailfrom, $mosConfig_fromname, $my;
$this->execPieceByName('ff_InitLib');
$from = ff_getSubmit('Email');
$fromname = ff_getSubmit('Name');
$url = ff_getSubmit('URL');
$subject = 'Form mail via Avery Dennison China';
$recipient = 'gopi@mooph.com';
$bcc = 'gopinathan.arjunan@advintech.com.sg';
foreach ($this->maildata as $data) {
if ($data[_FF_DATA_TYPE] != 'Hidden Input') {
$body .= $data[_FF_DATA_TITLE].": ".$data[_FF_DATA_VALUE].nl();
$body .= "\n";
}
}
$headers = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/plain; charset=utf-8' . "\r\n";
$headers .= 'Content-Transfer-Encoding: 8bit' . "\r\n";
$headers .= 'From: ' . $fromname . '<' . $from . '>' . "\r\n";
$headers .= 'BCC: ' . $bcc . "\r\n";
if ($url == "") {
mail($recipient, $subject, $body, $headers);
}Email content Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
From: "一沙" <nisha.sri@xxx.com>
select_title: 请选择
text_name: 一沙
text_company: 艾利
text_address1: 香港
text_address2:
text_towncity: 香港
text_stateregioncounty:
text_zippostcode: 1
select_country: Hong Kong
select_inquiringabout: RFID Printers
textarea_questionsorcomments: 想�咨询相关业务 盼回�
radio_formofcontact: 电邮
text_email: nisha.sri@xxxx.com
text_contactno: 1111
check_newsletter: Pls Advice
Gopi