You can try saying And here's a sample: And here's the list of codes to expect. Help: http://stackoverflow.com/questions/1633391/testing-smtp-server-is-running-via-c-sharp http://www.greenend.org.uk/rjk/tech/smtpreplies.html http://stackoverflow.com/questions/372742/can-i-test-smtpclient-before-calling-client-send |