Get ready for BLACK FRIDAY shopping starting in

Forums

This topic is locked

send mail fromweb page to a hidden email address?

Posted 23 Jul 2002 13:59:20
1
has voted
23 Jul 2002 13:59:20 nigel burkinshaw posted:
hi, i need to send an email (or some type of message) from a web page. is there a way of doing this so that;
1) the person sending the email cant see the email address of the recipient and
2) the recipient doesnt see the senders address

some of our female clients need thier privacy!!

i would like to use cdonts if possible although any suggestions would be greatly recieved

Replies

Replied 23 Jul 2002 16:49:14
23 Jul 2002 16:49:14 aegis kleais replied:
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
hi, i need to send an email (or some type of message) from a web page. is there a way of doing this so that;
1) the person sending the email cant see the email address of the recipient and
2) the recipient doesnt see the senders address

some of our female clients need thier privacy!!

i would like to use cdonts if possible although any suggestions would be greatly recieved


<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>

Absolutely. When you use HTML to send a form, the problem is, you're relying on the user's mail client to send the data (in which they can view their outbox and see the info sent, along with the addresses)

What you'll need to do is use an internal mail service, like CDONTS. If you had a table like:

tblFemales
fldFemaleID
fldEmail

Then you can do the following:

&lt;%
set objMail = ADODB.CreateObject("CDONTS.NewMail"
objMail.From = "My Website &lt;' '&gt;"
objMail.To = " "

' or you can do this for a dynamic email address

objMail.To = rcdGirls.Fields.Item("fldEmail".Value

objMail.Body = "Hey baby. Here's some promotional spam from my company"
objMail.Send

set objMail = Nothing
%&gt;

Of course, you have to make sure you have CDONTS installed. But that's the jist of it. Since ASP is converted into the base code and you're not using mailto: in the FORM action tag, viewing the source will not reveal any of the object's information; nor will it when it is sent (there will be no copy in the user's mailbox)

Aegis Kleais
New Media Web Developer
(DWMX : IIS5.1 : SQL2K : WXP : ASP[VB/JS])

Reply to this topic