public void Send_Network_Host_Whitespace() { Smtp.Host = " \r\n "; Assert.Throws<InvalidOperationException>(() => Smtp.Send("[email protected]", "[email protected]", "introduction", "hello")); }