July 30, 2010, 10:15:37 am *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Always search the forum before posting !
 
   Home   Help Search Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: FF - Lotus Email client - PHP Email Problem For chinese Language  (Read 495 times)
gopinathan
Newbie

Offline Offline

Posts: 1


« on: March 04, 2010, 03:02:01 am »

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 CODE

global $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
« Last Edit: March 04, 2010, 03:04:54 am by gopinathan » Logged
boldee
Administrator
Living Legend
*****
Offline Offline

Posts: 1352



« Reply #1 on: March 05, 2010, 09:33:08 am »

You say not accepting, do you mean not accepting the email full stop or there is a language problem?
Logged

Nick

Please read the forum rules first!
Please do not use PM for generic questions!
Please visit...
Protean MMO
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by SMF © 2001-2006 Lewis Media
| Terms of Use | Privacy | Sitemap |