HighDots Forums  

Email Forms HEELLLP!

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Email Forms HEELLLP! in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
dprulhiere
 
Posts: n/a

Default Email Forms HEELLLP! - 11-01-2004 , 03:37 PM






The following code needs to be looked at by someone elses eyes. I have done
this format nmany times and this particular form does not work. I will not snd
an email to anyone and it will not process the redirect. <% Dim
strAgentFirstName, strAgentLastName Dim strEmail Dim strFlierNumber Dim
strPropertyType Dim strAddress, strCity, strState, strZIP, strcounty Dim
strTaxes Dim strFloodInsurance Dim strDown1, strDown2, strDown3, strAmor1,
strAmor2, strAmor3 Dim strPhoto Dim strNotes strAgentFirstName =
Trim(Request.Form("AgentFirstName&quot) strAgentLastName =
Trim(Request.Form("AgentLastName&quot) strEmail =
Trim(Request.Form("Email&quot) strFlierNumber =
Trim(Request.Form("FlierNumber&quot) strAddress =
Trim(Request.Form("Address&quot) strCity =
Trim(Request.Form("City&quot) strState =
Trim(Request.Form("State&quot) strZIP =
Trim(Request.Form("ZIP&quot) strCounty =
Trim(Request.Form("County&quot) strTaxes =
Trim(Request.Form("Taxes&quot) strFloodInsurance =
Trim(Request.Form("FloodInsurance&quot) strDown1 =
Trim(Request.Form("Down1&quot) strDown2 =
Trim(Request.Form("Down2&quot) strDown3 =
Trim(Request.Form("Down3&quot) strPhoto =
Trim(Request.Form("Photo&quot) strNotes =
Trim(Request.Form("Notes&quot) strPropertyType =
Trim(Request.Form("PropertyType&quot) strAmor1 =
Trim(Request.Form("Amor1&quot) strAmor2 =
Trim(Request.Form("Amor2&quot) strAmor3 =
Trim(Request.Form("Amor3&quot) If Request("Action&quot =
"Go" Then Dim objMail, objMail2 Set objMail =
Server.CreateObject("CDONTS.NewMail&quot Set objMail2 =
Server.CreateObject("CDONTS.NewMail&quot objMail.From = strEmail
objMail.To = "davidp (AT) redwoodfs (DOT) com" objMail.Subject = "Ways to
Buy Flier Request from " & strAgentFirstName & " " &
strAgentLastName objMail.Body = "FROM: " & strAgentFirstName
& " " & strAgentLastName & vbCrlf & "FLIER
NUMBER: " & strFlierNumber & vbCrlf & "PROPERTY ADDRESS:
" & strAddress & vbCrlf & "PROPERTY CITY: " &
strCity & vbCrlf & "PROPERTY STATE: " & strState &
vbCrlf & "PROPERTY ZIP: " & strZIP & vbCrlf &_
"PROPERTY COUNTY: " & strCounty & vbCrlf & "ANNUAL
TAXES: " & strTaxes & vbCrlf & "FLOOD INSURANCE: "
& strFloodInsurance & vbCrlf &_ "OPTION 1 :" &
strDown1 & " down on a " & strAmor1 & vbCrlf &
"OPTION 2: " & strDown2 & " down on a " &
strAmor2 & vbCrlf & "OPTION 3: " & strDown3 & "
down on a " & strAmor3 &_ vbCrlf & "NOTES: "
& strNotes objMail.Send objMail2.From =
"michellep (AT) redwoodfs (DOT) com" objMail2.To = strEmail objMail2.Subject =
"Redwood Financial Services ""Ways to Buy Flier""
Request for " & strAddress & " ." objMail2.Body =
"Your Request for a ""Ways To Buy"" flier for "
& strAddress & " has been received. You shoud receive your flier
in one business day. Thank you for your interest in our company"
objMail2.Send Set ObjMail = Nothing Set ObjMail2 = Nothing
Response.Redirect("ways2buythanks.asp&quot End If %> Please
advise Thank you


Reply With Quote
  #2  
Old   
dprulhiere
 
Posts: n/a

Default Re: Email Forms HEELLLP! - 11-05-2004 , 11:06 AM






still need help on this please

Reply With Quote
  #3  
Old   
dprulhiere
 
Posts: n/a

Default Re: Email Forms HEELLLP! - 11-05-2004 , 11:07 AM



didnt realize that there is no line breaks. sorry, dont know why. Ill repost it and try again

Reply With Quote
  #4  
Old   
CarlGrint
 
Posts: n/a

Default Re: Email Forms HEELLLP! - 11-05-2004 , 11:08 AM



I have two free tutorials on creating Form to Email, one in CDosys and the
other in CDonts, check them out, they should help you.

http://www.cgw3.co.uk/tutorials/list.asp?CategoryID=3

Originally posted by: dprulhiere
still need help on this please




Reply With Quote
  #5  
Old   
dprulhiere
 
Posts: n/a

Default Re: Email Forms HEELLLP! - 11-05-2004 , 11:33 AM



Thank you for the referral I have CDONTS email forms. All successfull but
this one. I have evidently skipped something and cant find it. I was just
hoping to get an extra pair of eyes to see where i went wrong. David


Reply With Quote
Reply




Thread Tools
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.