[quoted text, click to view] >I am never sure if the account name is my domain account name, my
>e.mail address account name, or what.
The account name necessary to relay through IIS SMTP is your Windows
account name and Windows password; if it's a domain member server, you
can use DOMAIN\username.
However, for form mail from web servers that is being sent through an
IIS SMTP instance on the same box (assuming you own the box), it is
customary to permission relay by IP, rather than requiring a username
and password. If you permit relay from 127.0.0.1, and connect to the
local instance using 127.0.0.1, you will not have to authenticate.
However, there are a number of other variables that can come into
play, and you seem pretty unfamiliar with SMTP, so I will not
guarantee that the above will solve all of the setup problems that may
exist in your environment. An easy way to verify your ability to
relay through the box is to open an SMTP session over telnet from the
server to itself -- again, assuming you own this server -- connect to
the same IP your CDO code is using and try to send a message manually.
Alternately, you could use OE or Thunderbird running on the box if you
aren't comfortable with the manual commands. Basically, you want
create a more easily debugged situation, and an end-user client is a
good way to do this.