title: Sending mails in different languages using ASP and CDOSYS
body: <p>I want to send an email using arabic text as subject line.</p>
  
  <p>The code piece converts the special characters into arabic text properly for message body but fails to do so for message subject.</p>
  
  <p>I would like to know what I am missing ?</p>
  
  <pre>
        Set objCDOSYS = Server.CreateObject("CDO.Message")
        Set objCDOConf = CreateObject("CDO.Configuration")
        Set objCDOFields = objCDOConf.Fields
  
        objCDOFields("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2
        objCDOFields("http://schemas.microsoft.com/cdo/configuration/smtpserver") = "127.0.0.1"
        objCDOFields.Update
  
        Set objCDOSYS.Configuration = objCDOConf
        objCDOSYS.MimeFormatted=True 
        objCDOSYS.BodyPart.Charset = "Windows-1256"
  
        objCDOSYS.From = Trim(Request.Form("frmSender"))
        objCDOSYS.To = Trim(Request.Form("frmRecipient"))
  
        objCDOSYS.Subject =Request.Form("frmSubject")
        objCDOSYS.HTMLBody = Trim(Request.Form("frmMessage")) 
  
        objCDOSYS.HTMLBodyPart.charset = "Windows-1256"
        objCDOSYS.Fields.update
  
        objCDOSYS.Send
        Set objCDOFields = Nothing
        Set objCDOConf = Nothing
        Set objCDOSYS = Nothing
  </pre>