Using CDO on Windows 2000 or 2003, you could do:
<html><body>
<form method="post" action="subscribe.asp">
<input name="emailAddress" type="text">
<input type="submit">
</form></body></html>
subscribe.asp:
<%
Dim sEmail : sEmail = Request.Form("emailAddress")
Dim oCDO : Set oCDO = CreateObject("CDO.Message")
oCDO.From = sEmail
oCDO.To = "th**********@address.for.thelist"
oCDO.Subject = "Hi server."
oCDO.TextBody = "subscribe listname " & sEmail
oCDO.Send
Set oCDO = Nothing
%>
Ray at work
"Andy" <an*********@ncsu.edu> wrote in message
news:39**************************@posting.google.c om...
Morning All,
I'm looking to put a subscribe feature on my site. The user would just
put their email address into the subscribe box and press go.
The listServer requires the email address in the message body. How do
I get the email address into a hardcoded message?
message: subscribe listname <us**@domain.com>
Has anyone come across any tutorials about this? I wasn't sure as to
what to call it to do a search.
Thanks,
Andy...