Sorry for the delay in replying, but I have been out of action for a few days.
I have changed four ASP files so that vEmailServer has now become "smtp.mySite.com" and uploaded them to my server. I go to www.mySite.com/register.asp where a 'Register here' dialogue box appears that asks me for my username, password, and email address, and this is the error I now receive:
/register.asp, line 91
Line 91 of register.asp refers to this:
I don't think there is anything wrong with that line in itself, so what would you recommend as a starting point to get to the bottom of this?
based on the error message, your host absolutely enable SMTP authentication for any outgoing email in order to prevent spamming activity on their mail server.
I may suggest you to ask your host to provide you the valid SMTP server.
Basically, it should be mail.yourdomainame.com.
the default SMTP port is 25, but make sure this port is allowed and there is always an alternate SMTP port you can use (ask your host)
and then use the valid username firstname.lastname@example.org and its password
the most important thing is to make sure that your domain DNS has been pointed to the correct record
gnoix may be going overboard. Not all SMTP servers require username and password. Usually, those on a dedicated server do not, as they can easily reject any requests from outside the server itself. So, again, ask your host.
An optimist sees the glass as half full.
A pessimist sees the glass as half empty.
A realist drinks it no matter how much there is.