Hi!
With some help from Gonzalo and Miguel i managed to sort some things out about
encodings and charsets. So now most of that is implemented. Thnx! :)
Summary of what is left :
-------------------------------------------------------------------------------------------------------------
* Base64 encode subject >7bit
* E-mail address parsing
* UUEncoding
* Test cases and docs
Details:
-------------------------------------------------------------------------------------------------------------
The stuff that is left to do now is to encode the the Subject with Base64 like
MS does if the encoding is not 7bit/char in length.
Like this:
=?iso-8859-1?B?VGVzdFNlbmRfMTEgW+Tk5ORd?=
This is not optimal because QP would probably be better for those who read
mail with telnet and POP3 :) but this is what .NET runtime does so we will do
it to, at least for now.
The body part is just thrown in there without any extra transformation like
quoted printable, uuencode, base64 and such. At least that is what the .NET
runtime does what i have seen. But more research on that is needed :)
After that is finished there is the issues with the mail addresses. After
reading the docs i thought that To,Cc,From allowed an email address but that
is not the case so i have to parse those before sending.
And then its UUEncoding.. since that and Base64 are the two used for
attachments in .NET i have to add UUEncoding to. And UUEncoding is the
default encoding on attachments.
And of course.. Test cases .. and More Test cases.. and Documentation work.
mail suggestions, bugs, tips and any feedback...
//Per (local time is now 06:25 am .. me no function sleep well without)
_______________________________________________
Mono-list maillist - [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list