If you have an SMTP server on the same machine as your ASP pages, why do you
need to know the mail server name? You can use cdoSendUsingPickup and not
worry about a server name at all, or use cdoSendUsingPort and tell it
localhost or the machine name or 127.0.0.1.
If your host has a shared mail server and you need to use cdoSendUsingPort,
sorry, but there's no way to just query the network somehow and magically
determine which mail server you should be using. Your host is going to have
to tell you that one.
--
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/
"Alistair" <news@*remove*alistairb.co.uk> wrote in message
news:10*************@corp.supernews.com...
hey folkies
now that I've started my migration to CDOSYS from CDONTS..how do i find
what my email server name is??
locally, I'm on win XP...I'll ask the hosts for the other details, but i
need to test everything locally
thanks