I'm actually using BLAT for sending the e-mail. I was just wanting the application to send the e-mail correctly like a full fledged mail application does. The application checks to make sure there is a response from the SMTP server, if not it then checks the next and so on.

For my production script I won't bother, I'll plug in the actual name of the main SMTP mail server. I just thought it was an interesting [thinking outside the box] method of how Al accomplished the check.

I'll clean up the script and post an example. Hopefully maybe Ruud will consider some type of socket support so that we could perform this and other types of TCPIP tasks.