Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

about the charset in <cfmailparam>

New Here ,
Mar 21, 2013 Mar 21, 2013

Hi Guys,

i have to add some <cfmailparam> in my mail like below:

<cfmail

    to="#variables.mailto#"

    from="#FORM.email#"

    subject="#FORM.subject#"

    type="text/plain">



......

<cfmailparam name = "X-IS-CUSTFIRSTNAME" value = "#FORM.first_name#">

</cfmail>

the content of FORM.first_name is in russian so i get this parameter in IBM Notes as "???"

russian.jpg

i have tried to add the charset in the <cfmail> but it takes no effect.

is there a way to deal with this problem. i tried other character like chinese and janpanese both showing as "???"

but the same content which be displayed in the mail content is correct.

any information is appreciate.

Regards,

Julian

750
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Mar 22, 2013 Mar 22, 2013

You should change encoding of your file to UTF-8. You can do this process when you Save As file in Notepad.

I have tested russian, chinese and japanese language using charset="UTF8" . I got the mail in same format.

Below i have paste the code which i am using.

<cfmail server="#emailserver#"

    username="#emailusername#"

    password="#emailpassword#"

    port="#emailport#"

    useSSL="true"

    to="xxxx@xxxx.com"

    from="#emailfrom#"

    subject="test mail" type="html"  charset="UTF8">

    привет

    你好

こんにちは

    </cfmail>

I hope it will help for you.

thanks

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 22, 2013 Mar 22, 2013

Hi,

for this part i don't have any problem too, but for the value in the <cfmailparam>.

thanks for reply.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 24, 2013 Mar 24, 2013

hi,

any ideas about this <cfmailparam> tag, how could i deal with the language coding problem in this tag?

regards,

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Mar 25, 2013 Mar 25, 2013
LATEST

Hi,

I have no idea about language coding problem.

But you can prefer below links which explain <cfmailparam> tag.

http://www.paulsilver.co.uk/code/coldfusion_mail_priority_high.php

http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=Tags_m-o_02.html

thanks

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources