Commit Graph
6 Commits
Author SHA1 Message Date
Atsushi Eno 2f82986c49 2007-10-22 Atsushi Enomoto <[email protected]>
* AttachmentBase.cs : implemented Dispose(bool).


svn path=/trunk/mcs/; revision=87908
2007-10-22 14:02:43 +00:00
Atsushi Eno c477d20a6c 2007-10-19 Atsushi Enomoto <[email protected]>
* AlternateView.cs, AttachmentView.cs, AttachmentBase.cs :
	  reverted default back to TransferEncoding.Base64 again, and use
	  QuotedPrintable only when created from string.
	  No need to check null Stream at AlternateView.ctor(). See base.
	* SmtpClient.cs : For multipart message, do not send body twice (it
	  still emits extraneous part, which should be fixed too).
	  Do not premise charset existence in every AttachmentBase.

	* AlternateViewTest.cs : default TransferEncoding value is more
	  complicated.


svn path=/trunk/mcs/; revision=87814
2007-10-19 07:25:50 +00:00
Atsushi Eno b7461c8e10 2007-10-17 Atsushi Enomoto <[email protected]>
* AlternateView.cs : dispose linked resources. Remove MonoTODOs.
	* Attachment.cs : check null content string.
	  The string argument in .ctor(Stream,string) is name, not mediaType.
	  Use contentEncoding argument in CreateAttachmentFromString().
	* AttachmentBase.cs : TransferEncoding default is QuotedPrintable.

	* LinkedResourceTest.cs, AttachmentTest.cs, AlternateViewTest.cs:
	  added/enabled couple of attachment tests.


svn path=/trunk/mcs/; revision=87674
2007-10-17 14:30:23 +00:00
David Elkind a99e078be1 * Attachment.cs - proper file name handling added
* 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
2006-12-10 15:29:58 +00:00
John Luke 4041414f1b 2005-12-25 John Luke <[email protected]>
* SmtpStatusCode.cs: OK > Ok
        * AttachmentBase.cs: ContentID > ContentId,
        add set_ContentType
        * AlternateViewCollection.cs: remove destructor,
        make default ctor internal
        * MailMessage.cs: add default ctor,
        remove destructor
        * Attachment.cs: add (string, string) ctor,
        add set_NameEncoding
        * LinkedResourceCollection.cs: remove destructor,
        make default ctor internal
        * AttachmentCollection.cs: mark Dispose virtual,
        add ISerializable, make default ctor internal

svn path=/trunk/mcs/; revision=54844
2005-12-26 04:39:36 +00:00
John Luke e76f69132c add missing classes in System.Net.Mail
update many things to the 2.0 final API
and add some tests

svn path=/trunk/mcs/; revision=54835
2005-12-25 03:37:02 +00:00