emailing form data

M

Monica

in previous versions of ASP I was able to use the following code:
Set varName= Server.CreateObject("CDONTS.NewMail") but apparently this
is not supported in ASP.net and I don't understand how to use (at least, it's
not working the way I expected it to.)
Set varName = CreateObject("CDO.Message")

I need visitors to register for a class via a form and have the information
emailed to a company employee for verification. I don't want to use
'mailto:' for obvious reasons.

thanks,
Monica
 
K

Kevin Spencer

Hi Monica,

ASP.Net is about as much like ASP as a Boeing 747 is to a paper airplane.
You have 2 basic choices here:

1. Continue to use ASP. It will be supported for a long, long time.
2. Learn ASP.Net. This is a good idea if you're a decent programmer (not
just a script-writer). If not, you will become one in the process, but it
will take a long, long time.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Neither a follower nor a lender be.
 
M

Mike Mueller

CDONTS is not available on Win XP or Win 2003. You will
need to use CDOSYS instead

Mike



: in previous versions of ASP I was able to use the
following code:
: Set varName= Server.CreateObject("CDONTS.NewMail") but
apparently this
: is not supported in ASP.net and I don't understand how to
use (at least, it's
: not working the way I expected it to.)
: Set varName = CreateObject("CDO.Message")
:
: I need visitors to register for a class via a form and
have the information
: emailed to a company employee for verification. I don't
want to use
: 'mailto:' for obvious reasons.
:
: thanks,
: Monica
:
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top