It probably would not work on your localhost if you do not have an SMTP server setup on it (excuse my ignorance of ASP, if I made no sense).