Skip to main content
Inspiring
February 21, 2014
Answered

cfmail utf-8

  • February 21, 2014
  • 1 reply
  • 717 views

I use CFMail to send mail. Because the mail contains Spanish, I need the email support utf-8 character set.

I use following code to display Spanish characters, but the email shows funny characters.

I would like to know are there any way to display utf-8 characters for special language.

Your help and information is great appreciated,

Regards,

Iccsi,

<CFMAIL FROM="#myMail.Frommail#" TO="#MyMail.ToEMail#"
  bcc="#MyMail.BccEMail#" SUBJECT="My Subject" charset="utf-8"
TYPE="Plain Text">

  
   #MyEmail.EMailMessage#

</CFMAIL>

    This topic has been closed for replies.
    Correct answer iccsi

    I use the following code then it works,

    <cfmailpart type="text" charset="utf-8">

    thanks for helping and information,

    Iccsi,

    1 reply

    BKBK
    Community Expert
    Community Expert
    February 21, 2014

    Have you ensured the receiver can also read Spanish characters?

    iccsiAuthorCorrect answer
    Inspiring
    February 21, 2014

    I use the following code then it works,

    <cfmailpart type="text" charset="utf-8">

    thanks for helping and information,

    Iccsi,