Hi there.
We are using the chilkat mail ActiveX component to render email for customers. We are seeing an issue with Turkish characters. The transfer encoding on their email is set to 8bit and charset is set to utf-8 but the characters are garbled when rendered. We saw that chilkat was assigning 'quoted-printable' to the transfer type despite the mime showing 8bit So to that end, I decided to create a blank Email Chilkat object and add the turkish characters to the body. I would set to the transfer encoding to 8bit but even when I do this., it is defaulting to quoted printable.
No matter what I do to change the transfer encoding to 8bit, chilkat defaults to quoted printable. Can anyone tell me where I am going wrong?
Code:
Private Sub Form_Load()
Dim Message As New ChilkatEmail
Dim RenderedContent As String
Dim MimeOutput As String
RenderedContent = "Test çir çöz süçök gür igüöç"
Call Message.AddHeaderField("content-transfer-encoding", "8bit")
Message.body = RenderedContent
Message.Charset = "utf-8"
MimeOutput = Message.GetMime
Debug.Print MimeOutput
End Sub
Output in console is:
MIME-Version: 1.0 Date: Fri, 06 Oct 2017 11:27:29 +0100 Message-ID: D15388282CA759B1915588ED1CA31DC62B52BEF0@SPDEV32WIN10 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal)
Test =C3=A7ir =C3=A7=C3=B6z s=C3=BC=C3=A7=C3=B6k g=C3=BCr ig=C3=BC=C3=B6=C3= =A7