An application that I am building, has a function that sends emails.
Since it is going to be used in non english speaking countries (Greece, Thailand, Turkey, Israel), with non latin characters, I want to be able to define what language encoding the email is going out with.
BUT: Whatever I write to the ContentType of the TidMessage that I am using, when it arrives in the destination, I see only the following header:
Content-Type: multipart/alternative; boundary="=_NextPart_2rfkindysadvnqw3nerasdf"
Note: I am sending multipart messages (html & simple text) with 2 body parts.
When I send emails from other email clients, if I set them up to use "Greek ISO" encoding for example, the email that arrives at the destination has the header:
Content-Type: text/plain; charset="ISO-8859-7"
Which makes the receiving client understand right away that it is written in Greek, so it appears it so.
So, the question is: How do I make it so that I can add that charset="ISO-8859-7" part in the content part of my emails?
Thank you all, and sorry for the long of the message.
Konstantinos