This is related to a question I asked the other day on how to send email.
My new, related question is this... what if the user of my application is behind a firew
You could try to send an HELO command to test if the server is active and running before to send the email. If you want to check if the user exists you could try with the VRFY command, but this is often disabled on SMTP servers due to security reasons. Further reading: http://the-welters.com/professional/smtp.html Hope this helps.