Re: Encoding message subject

Giganews Newsgroups
Subject: Re: Encoding message subject
Posted by:  Remy Lebeau (TeamB) (gambit47.no.spam@no.spam.yahoo.com)
Date: Mon, 23 Aug 2004

"Pier Alberto GUIDOTTI" <pguidotti@#remove_this#analysisbo.it> wrote in
message news:C3B1553CD1A9E240pguidotti@%23remove_this%23analysisbo.it...

> 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
first.

> 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.

Gambit

Replies

In response to

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