
November 2nd, 2001, 06:20 PM
|
|
Contributing User
|
|
Join Date: Dec 2002
Posts: 14,578
  
Time spent in forums: < 1 sec
Reputation Power: 22
|
|
|
HELP - PLEASE!!
Originally posted by : Jason (mrjayride@aol.com)Hi all - I need your expert help with this file I am working on. I have a shopping cart which is written in asp. Everything works fine, until you get to the final page. When you confirm your order and hit 'submit' it is supposed to goto a page called process.asp, this page is supposed to send the information from the order to the merchant email address, and redirect the customer to 'thanks.asp'. Instead, I get a 'page can not be displayed' error. Can't find a reason for it. Can you? This is the complete process.asp file:-------------------------------------------------- 0 then mailMerchant = false else mailMerchant = true end if 'OR use ASPMail - choose your own 'Set Mailer = Server.CreateObject ("SMTPsvg.Mailer") 'Mailer.FromName = "a.shopKart" 'Mailer.FromAddress = merchantmail 'Mailer.Subject = "a.shopKart Order" 'Mailer.BodyText = strBody 'Mailer.RemoteHost = smtpServer 'Mailer.AddRecipient "", merchantmail 'if Mailer.SendMail then ' Message sent sucessfully ' mailMerchant = true 'else ' Message send failure ' mailMerchant = false 'end if else rs.Close set rs = nothing set cmd = nothing mailMerchant = false end ifend function%>
|