Contact Form Problems

E

ecanvasser

I've spent hours reviewing the various MVP posted links on the subject, as
well as talking with my ISP and still no luck. I've confirmed the ISP has
the FPSE installed and I believe i'm publishing correctly... Publish to Web,
save to my HDD, then upload the index.htm file and index_files folder to my
ISP (FTP10.brinkster.com) with my FTP tool. Can someone please look at my
website www.calplanning.com and give me some direction?
 
D

Don Schmidt

I don't understand what it is you want to add to your site.

A suggestion for the Staff page:

Either with the names or their email addresses consider making them an
active link, i.e.,
gather with the mouse either a name or the email address and select

(sample is your listing)
Insert
Hyperlink
in the box type
(e-mail address removed)?=Subject= In regard to the California Planning &
Engineering Corp.

This will allow your website visitors to click on the link and write you an
email.

If you should try the above, click on the link to send yourself an email and
you will see the Subject line already filled out. This makes it easier for
the customer and more identifiable for you what the writer is talking about
in the email.

Also, the .com is missing from all the email addresses.
 
E

ecanvasser

Thanks for the quick reply... they placed a generic file EmailExample_asp.asp
in the webroot folder to review, but I don't believe they set it up to work
with my New Project Form page, rather just sent it for my review. I'm a
novice at this, so what should I do next?
 
E

ecanvasser

I've downloaded the example asp file they placed in my webroot folder and
I've renamed it to maiil.asp, should I upload it back into my webroot folder,
or make some changes first? Is there a way to upload the file for your
review?
 
S

Spike

The first change is to put in the email address in the asp file so it knows
where to send the form

Copy the asp file and paste it here

Spike
 
E

ecanvasser

<html>
<title>Contact</title>
<body>

<br><br>




<%
posted = request.form ("submit")
if posted = "Submit" then

''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
'' Customize the following 5 lines with your own information. ''
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
vtoaddress = "(e-mail address removed)" ' Change this to the email address you
will be receiving your notices.
vmailhost = "sendmail.brinkster.com" ' Change this to mail.domain.com (use
your actual Domain name.)
vfromaddress = "(e-mail address removed)" ' Change this to the email address
you will use to send and authenticate with.
vfrompwd = "ca2plan4" ' Change this to the above email addresses password.
vsubject = "Online Contact Form" 'Change this to your own email message
subject.

'''''''''''''''''''''''''''''''''''''''''''
'' DO NOT CHANGE ANYTHING PAST THIS LINE ''
'''''''''''''''''''''''''''''''''''''''''''
vfromname = request.form ("TName")
vbody = request.form ("TBody")
vrplyto = request.form ("TEmail")
vmsgbody = vfromname &"<br>"& vrplyto &"<br>"& vbody

Set objEmail = Server.CreateObject("Persits.MailSender")

objEmail.Username = vfromaddress
objEmail.Password = vfrompwd
objEmail.Host = vmailhost
objEmail.From = vfromaddress
objEmail.FromName = vfromname
objEmail.AddAddress vtoaddress
objEmail.AddReplyTo vrplyto
objEmail.Subject = vsubject
objEmail.Body = vmsgbody
objEmail.IsHTML = True
objEmail.Send

Set objEmail = Nothing

response.write "Thank you, your message has been sent."
end if
%>




<form name="SendEmail01" method="post">
<table border=0>
<tr>
<td>Name:</td>
<td><input type="text" name="TName" size="30"></td>
</tr>
<tr>
<td>Email:</td>
<td><input type="text" name="TEmail" size="30"></td>
</tr>
<tr>
<td>Body:</td>
<td><textarea rows="4" name="TBody" cols="30"></textarea></td>
</tr>
<tr>
<td><input type="submit" name="Submit" value="Submit"></td>
</tr>
</form>
</body></html>
 
S

Spike

vmailhost = "sendmail.brinkster.com" ' Change this to mail.domain.com (use
your actual Domain name.)

should be

vmailhost = "mail.calplanning.com" ' Change this to mail.domain.com (use
your actual Domain name.)

Post the file in your calplanning.com directory

Spike
 
E

ecanvasser

made the change and uploaded the file to my website, but still getting an
error from Brinkster after I click Send button
 
S

Spike

After more research I discovered that your ISP provided a form for you
It appears that they might not accept your form made with publisher
You might ask the help desk that question
OR
Revise their premade form to your liking

Spike
 
E

ecanvasser

do i have the correct folder... the mail.asp shows up in my /calplanning/
folder in ftp tool, or should it be in /calplanning/webroot/ ... or other?
 
E

ecanvasser

Sorry, trying to get my New Project form page to send email without error...
see post below with Spike. He couldn't take me any further, so it appears
I'm still not any closer to resolving the issue. Any other ideas?
 
S

Spike

<form action="http://www.brinkster.com/mail.asp" method=post>

your form is calling for brinkster.com/mail.asp

should be calplanning.com/mail.asp

Change that in the form properties in publisher

I am beginning to doubt that brinkster is supporting publisher forms as
their sample asp is a form in itself

sorry if I have led you astray

Spike
 
E

ecanvasser

Is it then required for me to create a new form page from the one Brinkster
sent me instead of the version Publisher created for me?
 
S

Spike

It appears so (if you like writing code)

I would call their help desk and ask them directly if a publisher built html
form will work with their system and get instructions from them on the post
method. I went to their on-line-help but did not find the info I was
looking for ...

Sorry for the run around form me. Brinkster does things different than I am
used to.

Hopefully someone else will chime in that has knowledge on how brinkster
handles forms. My self I use GoDaddy and am familiar with their processes.

Spike
 
D

DavidF

I am not going to try to jump into the thread you have going with Spike, but
will make a comment or two.

You may have read a lot, but you missed a fundamental fact about using
Publisher built forms...you must use HTTP uploading, and you cannot use FTP.
In fact, since you have used FTP you will probably have to uninstall and
reinstall the FPSE. I would suggest that you go back and read these articles
again:

Web forms:
http://office.microsoft.com/en-us/publisher/CH063576891033.aspx

Reference: How to publish a Publisher web in HTTP:
http://msmvps.com/blogs/dbartosik/pages/80557.aspx

Those will conver the basics. They will also introduce you to the idea of
using a ISP provided form which might help you with the thread you have
going with Spike. I would also suggest that you read the support documents
about using FPSE on your web host.

And if you are using Vista and Pub 2007, then you have a whole different set
of issues, so if you post back tell us if you are using XP or Vista, IE6 or
IE7, and which version of Publisher.

Reference: Prepare, publish, and maintain your Publisher Web site:
http://office.microsoft.com/en-us/publisher/HA100947601033.aspx
It is written for Pub 2007, but if you are using IE7 instead of IE6, then
the directions for using Vista also would apply to Pub 2003. FTP and HTTP
uploading has changed with the introduction of IE7 and Vista.

DavidF
 
E

ecanvasser

Thanks David... I guess I was confused, since I couldn't find another way to
publish from Vista, and thought I was OK since I was first publishing to my
local HDD then transfering with FTP, not publishing to FTP straight from
Publisher. So, how do I make a connection to my website at my ISP
(calplanning.brinkster.net) so I can use HTTP upload? Don't see a way to do
this in the Publish to the Web window from Publisher, nor in the Vista
Network and Sharing Center... maybe there's something I need to enable in
Vista to to open the doors?
 
R

Rob Giordano \(Crash\)

doesn't the forms page have to be .asp extension?

--
~~~~~~~~~~~~~~~~~~
Rob Giordano
Microsoft MVP Expression
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top