Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP 3 Classic ASP Active Server Pages 3.0 > Classic ASP Basics
Password Reminder
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old April 19th, 2007, 10:28 AM
Authorized User
Points: 483, Level: 7
Points: 483, Level: 7 Points: 483, Level: 7 Points: 483, Level: 7
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: Apr 2007
Location: Edgewood, NY, USA.
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>"
Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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

All times are GMT -4. The time now is 06:49 PM.

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