Forum Home Forum Home > Legacy Products > SalesCart Standard / PRO / SQL
  New Posts New Posts RSS Feed - Email registry
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Forum LockedEmail registry

 Post Reply Post Reply
Author
Message Reverse Sort Order
GreatWeb1 View Drop Down
Newbie
Newbie


Joined: March/31/04
Location: United States
Status: Offline
Points: 26
Post Options Post Options   Thanks (0) Thanks(0)   Quote GreatWeb1 Quote  Post ReplyReply Direct Link To This Post Topic: Email registry
    Posted: April/07/04 at 7:25am
Also if you don't feel comfortable editing the SalesCart software, you can point the form to a page containing these codes. Just replace the variable with your info.

**This is for Windows 2003 Server**


<%@ LANGUAGE="VBScript.Encode" %>
<%
     mymail = "YOUREMAILADDRESS@domain.COM"
     sitename = "YOUR SITE NAME"
     mysubject = sitename & "(" & Request.Form("Subject") & ")"
     Dim objMail, themessage

     Set objMail = Server.CreateObject("CDO.Message")

     themessage = themessage & chr(13)
     themessage = themessage & "Name: " & Request.Form("name") & chr(13)
     themessage = themessage & "Phone: " & Request.Form("phone") & chr(13)
     themessage = themessage & "Email Address: " & Request.Form("FromEmail") & chr(13)
     themessage = themessage & " " & chr(13)
     themessage = themessage & Request.Form("Message") & chr(13)
     themessage = themessage & " " & chr(13)
     themessage = themessage & " " & chr(13)
     themessage = themessage & "Sent On: " & date & chr(13)
     themessage = themessage & " " & chr(13)

     objMail.From = Request.Form("FromEmail")
     objMail.To = Request.Form("Email")
     objMail.Subject = mysubject
     objMail.TextBody = themessage
     objMail.Send
     Response.Redirect "your_thank_you_page.html"
     set objMail = nothing
%>
Back to Top
GreatWeb1 View Drop Down
Newbie
Newbie


Joined: March/31/04
Location: United States
Status: Offline
Points: 26
Post Options Post Options   Thanks (0) Thanks(0)   Quote GreatWeb1 Quote  Post ReplyReply Direct Link To This Post Posted: April/07/04 at 7:20am
If you want the form to retain the Name and Phone submitted then use these text box instead.

<input type="text" name="name" size="20" value="<%=Request("name")%>">
<input type="text" name="phone" size="20" value="<%=Request("phone")%>">


Back to Top
GreatWeb1 View Drop Down
Newbie
Newbie


Joined: March/31/04
Location: United States
Status: Offline
Points: 26
Post Options Post Options   Thanks (0) Thanks(0)   Quote GreatWeb1 Quote  Post ReplyReply Direct Link To This Post Posted: April/07/04 at 7:17am
In your EmailRegistry.asp page.


First you will add these two text box:
<input type="text" name="name" size="20" value="">
<input type="text" name="phone" size="20" value="">

Then replace this code:
objMail.SetBody=NewMessage

With this:
objMail.SetBody="Name: " & Request.Form("name") & chr(13) & "Phone: " & Request.Form("phone") & chr(13) & NewMessage
Back to Top
Andy Holmes View Drop Down
Newbie
Newbie


Joined: April/06/04
Location: United Kingdom
Status: Offline
Points: 19
Post Options Post Options   Thanks (0) Thanks(0)   Quote Andy Holmes Quote  Post ReplyReply Direct Link To This Post Posted: April/07/04 at 6:24am
I am using frontpage 2000.

What I am really after is an alternative to credit card payments.

I thought I could use the registry page so that users can send me the cart contents in an email- I would like to add a name and contact number so I can tie in the order with a user.

Do you think this is possible GreatWeb1? I am a bit stumped so any tips would be welcome :-)

Thanks in Advance
Andy
Back to Top
GreatWeb1 View Drop Down
Newbie
Newbie


Joined: March/31/04
Location: United States
Status: Offline
Points: 26
Post Options Post Options   Thanks (0) Thanks(0)   Quote GreatWeb1 Quote  Post ReplyReply Direct Link To This Post Posted: April/06/04 at 3:23pm
What type of Web tool are you using? Frontpage or DreamWeaver?

Are you asking help on just adding two fields or a way to send out a secondary email with the information people are emailing?
Back to Top
Andy Holmes View Drop Down
Newbie
Newbie


Joined: April/06/04
Location: United Kingdom
Status: Offline
Points: 19
Post Options Post Options   Thanks (0) Thanks(0)   Quote Andy Holmes Quote  Post ReplyReply Direct Link To This Post Posted: April/06/04 at 5:07am
Anyone worked out how to add additional inputs for the email registry page?

I want to use this as a non payment way of getting user details sent to me.

I want to add two extra inputs- "name" and "contact telephone" that will do. I can modify the page to send to an email address of my choice.

I have been fiddling around with the code- can anyone give me a pointer on how to add these two text entry boxes?

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.04
Copyright ©2001-2015 Web Wiz Ltd.

Copyright 2015 by ComCity® LLC and SalesCart™.  All Rights Reserved