ASPMail with forms

Results 1 to 2 of 2

Thread: ASPMail with forms

  1. #1
    Join Date
    Dec 1969

    Default ASPMail with forms

    I am using ASPMail to mail the contents of a form submission. How do i get more then one field to email to me??<BR>The code I use now is <BR>Mail.Body = Request ("name")<BR>But that is all it will allow me to request. So how do I get the rest of the form to email???<BR>

  2. #2
    Join Date
    Dec 1969

    Default RE: ASPMail with forms

    You can use "&" to link together Request.Form variables. For example.. If you have two variables in the form such as "name" and "email"<BR><BR>you would say:<BR><BR>Mail.Body = Request.Form("name") & " " & Request.Form("email")<BR><BR>The " " is for extra space.<BR><BR>Hope this helps!<BR><BR>Serge<BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts