468,283 Members | 2,036 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,283 developers. It's quick & easy.

Cannot make a simple form work..confused and frustrated.

DressageRider
I need your help. Desperately. Someone has to be able to fix the utter balls up I've made after dinking around in Flash for the last four days.

I have no prior knowledge of anything other than how to point and click, so I figured the fastest way to get comfortable with both Flash and Dreamweaver was to immerse myself in them and see how fast I wanted to commit suicide. If you can seriously look at this stuff for more than a day or two in a row, I bow down before the master. It's enough to make my eyes bleed.

For a test run, I purchased a Flash website that would enable me to put some of my photos up and my phone number. I'm not looking to promote the site...or generate any traffic from it. Basically it's just something that I can point to and show my husband I'm doing SOMETHING. All I do is wander around looking at horses all day anyways...this way I can do it without complaint from him. So this is my test site. I fumbled around...made the changes, uploaded the galleries, etc. All is well. I'm slow. I make a lot of mistakes. Lots of cursing and hair pulling. But I'm plugging along. And now I'm finished. Finished except for one, exasperating bit that I CANNOT get to function. Period. And it is driving me crazy. I have been through it line by line. I have tried tech support. No dice.

Please, please, please help me so that I can go back to my previous heretofore blissful troglodytic existence. You'll fix the problem in about a minute and a half and make me feel doubly dumb....after I've spent four days staring at this like a monkey doing a math problem.

Problem:

On the "contact" section of the website, I have a simple form. It is in an .asp format. I have it open in Dreamweaver. My hosting company has explained to me that I need to fill in "relay-hosting.secureserver.net" for the smtpserver instead of the regular "smtpout.secureserver.net" that I use for my outgoing email. They also requested I put the email address that I want the mail to come to as the "recipient". Now here's where the two techs I talked to differed in opinion...one said to leave the "From" field the way it is because it will auto-populate with an email address from whatever someone types in the form field. The second tech said no, it needed to be a dedicated address to send the forms from. I have tried it numerous ways. With numerous recipients. With numerous smtp servers. And the damnable thing doesn't work. You fill out the form, click submit, and get a lovely window that says, "Your email has been sent successfully" or some such rubbish as that. Lies. All lies I tell you. It might SAY it was sent successfully, but I sure as hell am not getting the replies.

Before I try again with innumerable permutations for yet another day, I have decided to ask for your help. Please tell me it's something horribly simplistic I'm screwing up here.

The original code from the template that I purchased:

<%
for i=1 to 7
message=Request("message")
next
message=message + Request("message")
smtpServer = "enter your SMTP SERVER HERE"
smtpPort = 25


name = Request("Your_Name:")
Set myMail = CreateObject("CDO.Message")
myMail.Subject = "from " & name
myMail.From = Request("Your_Email:")
myMail.To = Request("recipient")
myMail.HTMLBody = "<html><head><title>Contact letter</title></head><body><br>" & message & "</body></html>"
myMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2
myMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpserver") = smtpServer
myMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = smtpPort
myMail.Configuration.Fields.Update
myMail.Send

%>


Let's see, again the hosting compay gave me "relay-hosting.secureserver.net" for the server name. My regular outgoing server is "smtpout.secureserver.net". My email that I have setup is info@caberneigh.com and also web@caberneigh.com in case the second fellow was correct in saying I needed a from address.

Website is www.caberneigh.com.

I hope that 1.) This is in the right place in this forum, and 2.) Someone can help.

I am at the end of my rope.

Thank you.
Jul 5 '07 #1
0 1337

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

4 posts views Thread by Patrick Arkins | last post: by
13 posts views Thread by tindog | last post: by
8 posts views Thread by Beam_Us_Up_Scotty | last post: by
4 posts views Thread by ItNerd | last post: by
4 posts views Thread by Phillip Vong | last post: by
5 posts views Thread by Byron | last post: by
18 posts views Thread by Pedro Pinto | last post: by
reply views Thread by NPC403 | last post: by
reply views Thread by zattat | last post: by
2 posts views Thread by MrBee | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.