Commit Graph
9 Commits
Author SHA1 Message Date
Gert Driesen 13213bdd61 * SmtpClient.cs: Fixed paramname of Argument(Null)Exceptions to match
MS. Removed upper limit check for Port. Modified Send to no longer
allow a whitespace-only Host. Moved checks for SpecifiedPickupDirectory
delivery method to SendFile, and use Path.IsPathRooted to check for
absolute paths instead of using a unix-only check. In Send, wrap all
non-SMTP errors in an SmtpException.
* SmtpException.cs: Correctly chain up all .ctors. Removed extra
null check in deserialization .ctor.
* SmtpClientTest.cs: Added property tests. Added Send argument check
tests.
* SmtpExceptionTest.cs: Added .ctor and GetObjectData tests.
* System_test.dll.sources: Added SmtpExceptionTest.cs.

svn path=/trunk/mcs/; revision=110647
2008-08-16 12:34:38 +00:00
Arina Itkes e252cf3f31 Changes for SOAP serialization compatibility with .NET
svn path=/trunk/mcs/; revision=90625
2007-12-04 08:49:11 +00:00
Noam Lampert 2dc7621ae3 'System.Runtime.Serialization.StreamingContext is a structure and can not be compared with null. Fix compilation error
svn path=/trunk/mcs/; revision=87734
2007-10-18 08:33:36 +00:00
Atsushi Eno c8c644a223 2007-10-17 Atsushi Enomoto <[email protected]>
* MailMessage.cs : removed MonoTODO. some comment.
	* SmtpException.cs, SmtpFailedRecipientsException.cs,
	  SmtpFailedRecipientException.cs : implemented serialization.


svn path=/trunk/mcs/; revision=87642
2007-10-17 09:28:54 +00:00
Konstantin Triger eea91ddf6b TARGET_JVM limitations workarounds
svn path=/trunk/mcs/; revision=68950
2006-12-04 14:20:31 +00:00
Sebastien Pouliot 24c57d8886 2006-10-31 Sebastien Pouliot <[email protected]>
* SmtpException.cs: Fix visibility on .ctor(SerializationInfo,
	StreamingContext).
	* SmtpPermissionAttribute.cs: New (2.0). Security attribute for SMTP.
	* SmtpPermission.cs: New (2.0). Security permission for SMTP.


svn path=/trunk/mcs/; revision=67187
2006-10-31 20:34:35 +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
Ben Maurer 0e8decdb37 remove svn:executable from .cs files
svn path=/trunk/mcs/; revision=46562
2005-06-27 15:51:40 +00:00
Tim Coleman 8a963f8739 Tim Coleman <[email protected]>
* Attachment.cs MailAddress.cs MailMessage.cs SendCompletedEventHandler.cs
        * SmtpAccess.cs SmtpClient.cs SmtpException.cs SmtpStatusCode.cs:
                New class stubs for 2.0

svn path=/trunk/mcs/; revision=33343
2004-09-04 19:49:50 +00:00