* ContentType.cs : for SubjectEncoding, null is returned instead of
ASCII (.net compat way). For this cosmetic change, BodyEncoding is
changed to fill ASCII automatically.
* MailMessage.cs : fixing cosmetic .net compatibility. Automatically
fill ASCII when guessed encoding is nothing.
* MailMessageTest.cs : fixed test to just compare codepage. I can't
stand with this trivial difference (w/ BOM or not) as regression,
and fixing this "regression" causes practical bug (garbage BOM
insertion).
svn path=/trunk/mcs/; revision=90771
* MailMessage.cs : Some entire refactory on BodyEncoding and
IsBodyHtml. BodyEncoding and SubjectEncoding are guessed when
Body and Subject are set for each.
* SmtpClient.cs :
Subject header is encoded according to RFC 2047.
Body is encoded according to RFC 2821.
Output Date header.
ToQuotedPrintable() should take encoding into consideration.
For SevenBit/Unknown TransferEncoding, just decode with ASCII.
In set_UseDefaultCredentials(), raise NIE only when value is true.
In set_Timeout(), raise an error when Send() is in progress.
* MailMessageTest.cs : added test for encoding guess.
svn path=/trunk/mcs/; revision=87585
* MailMessage.cs: Add suport to the MailMessage constructor to
take a comma-separated list of addresses (Bug #80548).
svn path=/trunk/mcs/; revision=71401
* MailMessage.cs: add [MonoTODO] for FormatException in ctor,
throw ArugmentNullException's from the ctors,
add internal BodyContentType property,
change BodyEncoding to use BodyContentType,
change IsBodyHtml to use BodyContentType,
* SmtpClient.cs: set timeout initially to 100000,
don't throw ArgumentOutOfRangeException when Timeout = 0,
add [MonoTODO] for set_host, and throw Exceptions for it,
add [MonoTODO] for UseDefaultCredentials,
get messageContentType from the message,
use "127.0.0.1" for Host and 25 for Port
if host or port is not specified until reading
them from the configuration files is done
svn path=/trunk/mcs/; revision=55549