Re: Encoding message subject

Giganews Newsgroups
Subject: Re: Encoding message subject
Posted by:  Remy Lebeau (TeamB) (
Date: Mon, 23 Aug 2004

"Pier Alberto GUIDOTTI" <> wrote in

> I'm using INDY 10.0.19 and VB.NET to develop a send
> mail procedure. I'm having some trouble when message
> subject contains characters like à,è,ò (which are used very
> often in italian). They are sent as '?'.

Indy does not support direct Unicode strings.  They need to be encoded

> I was not able to make the subject encoded in the proper
> way. Here is the code I use to build the message:

You didn't show the code that was encoding the subject.

> I tried to use the EncodeHeader function to get an encoded version of the
> subject, but it seems no to work.

Please show your actual code.



In response to

Encoding message subject posted by Pier Alberto GUIDOTTI on Mon, 23 Aug 2004