ASP Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreASP Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
1200+ fellow developers rate and compare features of the top IDEs, like Visual Studio, Eclipse, RAD, Delphi and others, across 13 categories. Enjoy this FREE Download of the IDE User Satisfaction Study by Evans Data Corporation. Download Now!
  #1  
Old August 10th, 2003, 10:42 PM
mattfed mattfed is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Posts: 9 mattfed User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via AIM to mattfed
Question chiliasp-3.5.2L-C3 --FORM HELP PLEASE

everywhere that I look for help is a dead end. the server that i have this site on is an aapche server running "chiliasp-3.5.2L-C3". i cannot get the form to mail the data entered. does ANYONE know how to do this?

All responses that I have received elsewhere are all code samples for servers running windows/IIS which is no help to me.

SOMEBODY PLEASE?!?!?!

Reply With Quote
  #2  
Old August 10th, 2003, 10:57 PM
nopoints nopoints is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Location: Windsor ON, Canada
Posts: 459 nopoints User rank is Corporal (100 - 500 Reputation Level)nopoints User rank is Corporal (100 - 500 Reputation Level)nopoints User rank is Corporal (100 - 500 Reputation Level)nopoints User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 13 h 44 m 22 sec
Reputation Power: 8
what code are you using?
__________________
Programmer's Corner

Reply With Quote
  #3  
Old August 10th, 2003, 11:04 PM
mattfed mattfed is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Posts: 9 mattfed User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via AIM to mattfed
the last that i tried is obviosly wrong but you can get the jist of what i am trying to accomplish. the verification code runs correctly but once i hit the first "Dim" there is an error.

<%


if len(Trim(request.form("txtFirstName2"))) = 0 then
Response.Write("<b>First Name</b> is required.<br>Please click your browser's Back button, enter your First Name and then click Submit.")
elseif len(Trim(request.form("txtLastName2"))) = 0 then
Response.Write("<b>Last Name</b> is required.<br>Please click your browser's Back button, enter your Last Name and then click Submit.")
elseif len(Trim(request.form("txtEmailAddress2"))) = 0 then
Response.Write("<b>Email Address</b> is required.<br>Please click your browser's Back button, enter your Email Address and then click Submit.")
elseif len(Trim(request.form("txtPhoneNumber2"))) = 0 then
Response.Write("<b>Phone Number</b> is required.<br>Please click your browser's Back button, enter your Phone Number and then click Submit.")
elseif len(Trim(request.form("txtFaxNumber2"))) = 0 then
Response.Write("<b>Fax Number</b> is required.<br>Please click your browser's Back button, enter your Fax Number and then click Submit.")
else

if err.number=0 then

Dim objMail
Dim myBody
Dim strFirstName
Dim strLastName
Dim strStreet
Dim strCity
Dim strState
Dim strZip
Dim strEmail
Dim strPhone
Dim strFax
Dim strRequest

strFirstName = Trim(Request.Form("txtFirstName2"))
strLastName = Trim(Request.Form("txtLastName2"))
strStreet = Trim(Request.Form("txtStreetAddress12"))
strCity = Trim(Request.Form("txtCity2"))
strState = Trim(Request.Form("txtState2"))
strZip = Trim(Request.Form("txtZipCode2"))
strEmail = Trim(Request.Form("txtEmailAddress2"))
strPhone = Trim(Request.Form("txtPhoneNumber2"))
strFax = Trim(Request.Form("txtFaxNumber2"))
strRequest = Trim(Request.Form("txtarea"))

myBody = "First Name: " & _ strFirstName & "<br>"
myBody = myBody & "Last Name: " & _ strLastName & "<br>"
myBody = myBody & "Street Address: " & _ strStreet & "<br>"
myBody = myBody & "City: " & _ strCity & "<br>"
myBody = myBody & "State: " & _ strState & "<br>"
myBody = myBody & "Zip: " & _ strZip & "<br>"
myBody = myBody & "Email: " & _ strEmail & "<br>"
myBody = myBody & "Phone: " & _ strPhone & "<br>"
myBody = myBody & "Fax: " & _ strFax & "<br>"
myBody = myBody & "Request: " & _ strRequest & "<br>"

Set objMail = Server.CreateObject ("CDONTS.NewMail")
objMail.From = request.form("txtEmailAddress2")
objMail.To = "mattyfed@aol.com"
objMail.Subject = "Form Entry"
objMail.Body = myBody
objMail.Send

Set objMail = nothing

Response.Redirect("IRAction.asp")
%>

Reply With Quote
  #4  
Old August 10th, 2003, 11:06 PM
mattfed mattfed is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Posts: 9 mattfed User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via AIM to mattfed
there is a little html code above that to set up the page for if there is any required info left off of the form

the form is at

www.grandplanconsulting.com/contact.html

Reply With Quote
  #5  
Old August 11th, 2003, 12:34 AM
Doug G Doug G is offline
Grumpier Old Moderator
Dev Shed God 12th Plane (10500 - 10999 posts)
 
Join Date: Jun 2003
Posts: 10,717 Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level) 
Time spent in forums: 1 Month 40 m 34 sec
Reputation Power: 688
CDONTS is a windows-specific email object, I believe. Chili offered ChiliMail for linux boxes, you can check the SunOne (previously Chili) website for more info.

Reply With Quote
  #6  
Old August 11th, 2003, 08:58 PM
mattfed mattfed is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Posts: 9 mattfed User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via AIM to mattfed
i cannot find anything on that site, any other ideas?

this is actually the line of code giving me the most headaches...

Set objMail = Server.CreateObject ("CDONTS.NewMail")

does anyone know the syntax for this line on a unix server?

Reply With Quote
  #7  
Old August 11th, 2003, 11:15 PM
Doug G Doug G is offline
Grumpier Old Moderator
Dev Shed God 12th Plane (10500 - 10999 posts)
 
Join Date: Jun 2003
Posts: 10,717 Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level) 
Time spent in forums: 1 Month 40 m 34 sec
Reputation Power: 688

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreASP Programming > chiliasp-3.5.2L-C3 --FORM HELP PLEASE


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway