Good afternoon Ken-
What I use is a form to get the information for the
email, and I use a custom written ASP page to process the
form. The ASP page I use utilizes CDONTS as I am currently
on a NT4 server. There is also CDOSYS which is an updated
version used on Windows 2000 or 2003 servers. It is very
easy to use. Using the custom asp page also allows more
flexibility, as mine uses the info to send the mail,
database the mail, and display the mail, all on one page.
The following links from MS should help in the programming
of CDO
CDONTS:
http://msdn.microsoft.com/library/d...ml/_denali_newmail_object_cdonts_library_.asp
CDOSYS:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/e2k3/e2k3/_techsel_tech_1.asp
Here is an example using CDONTS, the form variables are
SenderName, SenderAddress, MessageSubject, MessageBody
<%
' Read the form info
dim strSenderName, strSenderAddress, strMessageSubject,
strMessageBody
strSenderName = Request.Form("SenderName")
strSenderAddress = Request.Form("SenderAddress")
strMessageSubject = Request.Form("MessageSubject")
strMessageBody = Request.Form("MessageBody")
'Assemble message information
dim strSenderInfo, strSentFrom, strSentTo
strSenderInfo = strSenderName &"<"& strSenderAddress
&">"
strSentFrom = "Website Email <
[email protected]>"
strSentTo = "(e-mail address removed)"
'Assemble the email
on error resume next
Set Mailer = Server.CreateObject("CDONTS.NewMail")
Mailer.From = strSentFrom
Mailer.To = strSentTo
Mailer.Value("Reply-To") = strSenderInfo
Mailer.Subject = strMessageSubject
Mailer.Body = strMessageBody
'Send the mail
Mailer.Send
If err.num <> 0 Then
Response.Write "CDONTS Error: " & err.num & " - " &
err.description
End If
'Clean up
set mailer = nothing
%>
: Ken Hall wrote:
: Can someone recommend an email form (CGI, etc.) that does
: not expose my email address in the page source? I've
: tried everything else and nothing works. Javascript
: encoding/obscuring don't work. My company is just me,
: and I'm getting covered up in SPAM. I get 3000+ SPAM
: messages a day and my various filters can only narrow
: this down to about 600 to 800. Since I don't want to
: drive away customers I don't want to use a GIF/JPEG for
: the addresses. I've read that email forms with the
: address located in a concealed directory work. Seems
: logical. Is there a particular one of these that folks
: recommend?
:
: Ken