NET_2_1 is also defined whenever we define MOBILE, so they have the same effect. Silverlight was 2.1 but it's been dead for a while now, and we do not even support it.
Modulo the GUID in the assembly and the GUID embedded in some
field initializers that use the assembly GUID for their name, the
assemblies are idential before and after the patch.
* 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
* Attachment.cs : use correct TransferEncoding when (Text)Encoding
is specified.
* MailMessage.cs : ContentTransferEncoding implementation went into
ContentType.
* ContentType.cs : added GuessTransferEncoding() to guess correct
encoding type for sys.net.mail.Attachment.
Here UTF8Encoding should not include BOM.
svn path=/trunk/mcs/; revision=90740
* AttachmentCollection.cs : remove TODO.
* Attachment.cs : guess NameEncoding when set_Name().
* MailMessage.cs : moved encoding guess impl to ContentType.
* SmtpClient.cs : moved RFC 2047 encoding impl to ContentType.
Support attachment Name encoding. Added some SSL changes (it's not
working yet).
svn path=/trunk/mcs/; revision=87907
* 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
* AttachmentBase.cs - proper MIME type handling added
* MailAddress.cs - Proper mail address handling ('<' and '>' addition) added
* MailMessage.cs - Better construction sequence
* SmtpClient.cs - Added proper handling of composite message (consisting of alternate views/attachments)
- Added handling of user credentials
- Added handling of TLS (under TARGET_JVM)
- Some other minor fixes
svn path=/trunk/mcs/; revision=69277
* 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
* AttachmentCollection.cs MailAddressCollection.cs:
New classes
* Attachment.cs: Set content string
* MailMessage.cs: Use new collection classes
* SmtpClient.cs: Lots of MIME cleanup
svn path=/trunk/mcs/; revision=33690