ASPMail Help Request

by "Blue's ArtHouse Graphics & Web Design" <blue(at)bluesarthouse.com>

 Date:  Thu, 15 Nov 2001 02:01:18 -0600
 To:  <hwg-techniques(at)hwg.org>
  todo: View Thread, Original
I am trying to set up an asp script for the first time and have one question
that I know someone out there will know the answer to.  I am trying to use
this form to send the contents of a submitted form to a specified e-mail
address.  I am receiving the e-mail but it is blank.  I know the problem is
this line:

Mailer.BodyText   = Request.Form("Form")

But I don't know the correct syntax.  What goes between the ""???  I have
been scouring the help files at the site where I got the form and they
assume I already know this.  The web site is
http://www.cateringtoyou-stl.net if you are curious.

The script is below:

<.%
Set Mailer = Server.CreateObject("SMTPsvg.Mailer")
Mailer.FromName   = "Catering To You"
Mailer.FromAddress= "service(at)cateringtoyou-stl.net"
Mailer.RemoteHost = "mail.cateringtoyou-stl.net"
Mailer.AddRecipient "Blue Tapp", "blue(at)bluesarthouse.com"
Mailer.Subject    = "Inquiry From Web Site"
Mailer.BodyText   = Request.Form("Form")
if Mailer.SendMail then
  Response.Write "<html><head><title>Catering To
You</title></head><body><meta http-equiv='refresh'
content='1;URL=http://www.cateringtoyou-stl.net/thankyou.html'></BODY></HTML
>"
else
  Response.Write "Mail send failure. Error was " & Mailer.Response
end if
%>

TIA!
Blue



Blue Tapp
Blue's ArtHouse Graphics & Web Design
705 North Florissant Road
Ferguson, MO 63135
(314) 839-0634
fax: (314) 839-1557
url: www.bluesarthouse.com
e-mail: blue(at)bluesarthouse.com

"Time to get a web site!"

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA