Articles

Current Articles | Archives | Search

Tuesday, July 22, 2008
Email Woes and SMTP testing
By itlackey @ 11:31 PM :: 1139 Views :: 0 Comments :: Article Rating :: General
 

The SMTP services has plagued me for several days now. Oddly enough, it started at work and followed me home. So after many hours wasted trying to diagnose the problems, I created a simple little console application that does nothing but send a test email with a timestamp.

There may be a tool that does this already, but it was simple to write and since some of the applications that were failing used .Net, I figured I would use .Net to create the testing application as well. So I have posted the EmailTest utility in the Free Code & Stuff section of this site for anyone else that may need something like this.

It is a console application that takes three parameters: servername, fromaddress, and toaddress. Currently it does not support authentication of any type and relies on the mail server having relay opened to the computer you are running the application from. Since I was testing public web sites, this configuration suited my needs.

Hopefully this will save some of you a little stress the next time you have issues sending mail.

Enjoy!

Comments
Only registered users may post comments.
        
Google Ads
        
Terms Of Use|Copyright 2006 by Digital Snap Inc. |Privacy Statement