Unless you have a really poor hosting company, the chances are that you will
have at least one email component installed, eg. ASPMail or a another 3rd
Party component. CDONTS may well not be installed.
I'd ask your hosting company what installed components they provide.
It is unlikely (though not impossible) that they will a) let you install any
of your own components b) will installed any requested components
themselves. If it is a shared server then anything you put on affects all
sites running on that machine, and for obvious security reasons they are
usually very careful about what they install.
But as I said before, if they are worth their salt, they will have provided
some sort of email component.
Chris
"Robert L." <vl***@sympatico.ca> wrote in message
news:Pv*******************@fe11.atl2.webusenet.com ...
Here's my file
<%
dim ml
Set ml = Server.CreateObject("CDONTS.NewMail")
ml.to = "vl***@symp.ca"
ml.from = "vl***@symp.ca"
ml.subject = "Test ASP cdonts"
ml.body = "A new test is comming"
ml.send
set ml = nothing
%>
Here's the result:
(on my system)
Objet Server error 'ASP 0177 : 800401f3'
Can not create object, the class CDONTS doesn't exist
(on the server)
error HTTP 500
They probably doesn't have CDONTS either, is it possible to install it on
their server without configuration.
Thanks
"Martin CLAVREUIL" <ma**************@wanadoo.fr> a écrit dans le message
news: uB**************@TK2MSFTNGP12.phx.gbl... as you've been told, if you want the email adress to be hidden you'll
have to send it server-side (so don't use a link like href="mailto:...").
The cdonts.newmail will do it very well. search in the msdn library.