private Send_SpecifiedPickupDirectoryInvalid ( string location ) : void | ||
location | string | |
리턴 | void |
public void Send_SpecifiedPickupDirectoryInvalid(string location)
{
Smtp.DeliveryMethod = SmtpDeliveryMethod.SpecifiedPickupDirectory;
Smtp.PickupDirectoryLocation = location;
Assert.Throws<SmtpException>(() => Smtp.Send("[email protected]", "[email protected]", "introduction", "hello"));
}