Wrox Programmer Forums
|
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 19th, 2007, 10:28 AM
Authorized User
 
Join Date: Apr 2007
Posts: 92
Thanks: 0
Thanked 0 Times in 0 Posts
Default ASP classic Form to Email problem

Hi All.

I am successful in making my ASP form to email work except I now have this issue....

The page with the form showsÊÊ"looped" data, in which is displayed from a database.

Model, description and a price. because this data is looped, I cant seem to seperate that data in my email code.

I get:
Quantity: 1, 1
Model: 7-PS60, 7-ps-250
Price: $350, $250

I really want...

Model: 7-PS-60
quantity: 1
price: $350

Model: 7-PS-250
Quantity: 1
Price: $250

I need this order to pass to my factory.

Any way to "loop" inside the email code?

Here is my body code:

objNewMail.Body =ÊÊ" <BR><b>**** ACCESS INVENTORY ORDER CONFIRMATION ****</b><BR>If you have any questions regarding this order,<BR>Please contact Customer Service at 1-800-645-3166.<BR><BR> P.O. Number: " & Request.Form("po") & "<br> "& "Company: " & Request.Form("custname") & "<br>" & "Phone: " & Request.Form("phone") & "<br>" & "Customer Number: " & Request.Form("custcode") & "<br>" & "Email: " & Request.Form("email") & "<br><br>SHIPPING INFO:<BR>" & "Address 1: " & Request.Form("shipadd1") & "<br>" & "Address 2: " & Request.Form("shipadd2") & "<BR>"& "City: " & Request.Form("shipcity") & "<br>"& "State: " & Request.Form("shipstate") & "<br>"&" Zip Code: " & Request.Form("shipzip") & "<BR><BR>ORDER INFO:<BR>"& "Quantity Ordered: " & Request.Form("buy") & "<br>"& "Model: " & Request.Form("model") & "<br>"





Similar Threads
Thread Thread Starter Forum Replies Last Post
preserve form values in classic asp tausif.mohammed Classic ASP Basics 5 December 1st, 2007 04:54 PM
Classic ASP caching problem with logins crmpicco Classic ASP Basics 4 December 8th, 2006 08:45 AM
send email automatically with classic asp crmpicco Classic ASP Professional 6 July 4th, 2006 09:56 AM
need help with ASP form email proccessing jayirvin Classic ASP Basics 3 April 15th, 2004 04:30 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.