[Mono-list] Re: Encoding email message ??
Robert Jordan
robertj at gmx.net
Tue Dec 27 12:28:50 EST 2005
Hi,
Mail message headers use to have a Content-Type which also contains
the encoding of the message. So you have to parse the headers
first, then use the specified encoding to decode the message.
Robert
> I’m having similar problem. I have written my own mail server and
> encoding is killing me. If messages are in Unicode everything is ok, but
> in case of any other encoding characters just disappear. :-(
>
> If you will find some useful information how to work around this
> problem, please let me know.
>
> In my opinion problem is in the way how I use
> System.Net.Sockets.NetworkStream
>
> Salvatore Scarciglia wrote:
>
>> Hello !
>> Using the System.Net.Sockets.TcpClient i'm reading my POP3 inbox mail;
>> I want
>> to convert (encode ??) the message in HTML and render it in a gtkhtml
>> widget
>> created at runtime.
>> It's all ok except the encoding phase. Ho can I do ? Is there a class
>> in the framework that can help me?
>>
>> Thanx
>> Salvatore
>> _______________________________________________
>> Mono-list maillist - Mono-list at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/mono-list
>>
>>
>>
> _______________________________________________
> Mono-list maillist - Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>
More information about the Mono-list
mailing list