mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-18 17:02:10 -10:00
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