By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
458,006 Members | 1,238 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 458,006 IT Pros & Developers. It's quick & easy.

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

DressageRider
P: 1
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
Share this question for a faster answer!
Share on Google+

Post your reply

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