hiding email

R

Robert L.

Hi,

I'm searching of a way to send an email, and i don't want the user to know
where he send the email.

Let say i want to send a message to Bob001.
I will type Bob001 in the SendTo field.
When i type the Send Email button, i would like the web page to do this:
Get the username, Bob001.
Find his email in my database
Get the message in Message.
Create the email.
Send the email.

I don't want the user to be able to read the user email.

Every example show something like a "<a href" method. Which is not what i
need.

Is there a way to do so?
1- I don't own the web server
2- Windows 2000
3- Asp install (Asp.net too)
4- Php is not available (so no mail object)


Thanks a lot
 
M

Martin CLAVREUIL

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.
 
R

Robert L.

Here's my file
<%
dim ml
Set ml = Server.CreateObject("CDONTS.NewMail")
ml.to = "(e-mail address removed)"
ml.from = "(e-mail address removed)"
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
 
C

CJM

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
 
R

Robert L.

Hi,

There was an error in my script. After fixing it, CDONTS work.
My provider answer me that CDONTS was install.
 

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

Members online

No members online now.

Forum statistics

Threads
474,085
Messages
2,570,597
Members
47,218
Latest member
GracieDebo

Latest Threads

Top