Contact us Form or Emails ?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I hesitate between leaving a few email adresses in different web pages to
contact me or a web page "Contact us" with a form (no email address
displayed). What would you recommend and why ?
 
Thanks!
So if I use a form, where can I find on the web an example of custom form
handler ?

Jacques
 
It's built into FrontPage. When you define the form, created in Frontpage,
have the form results sent to the email address. Let me know if you need
more help.
 
I think a form is better than emails for users who are complete beginners on
internet and don't use Outlook. So when they click to an email, it doesn't
open Outlook and it's not convenient for them. But for experimented surfers
with Outlook (or some other email program), an email is better. Do you think
the same ?

Jacques
 
Jacques said:
I hesitate between leaving a few email adresses in different web pages to
contact me or a web page "Contact us" with a form (no email address
displayed). What would you recommend and why ?

http://accessfp.net/protect-your-email-address.htm

I would not recommend the fp form .... the bots can see your email addy

You might find this of use

http://www.jamesshuggins.com/hefs

Contact your host and see what they already offer in the way of cgi php or
asp forms..

Tina


--
http://accessfp.net/ - FrontPage Tutorials
http://anyfrontpage.com/ - http://frontpage-ebooks.com/
http://addonfp.com/ - FrontPage Addons
http://frontpage-tips.com/ - Weekly FrontPage Tips
http://msmvps.com/blogs/frontpage/ - FrontPage News Blog
http://frontpage-blog.com/ - FrontPage Blog
http://clarke-abstract-art.com/ - Original Abstract Pen and Ink Drawings
 
See if your host has Spam Assassin available on their servers.
If so, you can have email addresses in your pages and forms.
Spam Assassin will stop 95 percent of the spam.
( if not more )


--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed............
........................with a computer
 
Steve said:
See if your host has Spam Assassin available on their servers.
If so, you can have email addresses in your pages and forms.
Spam Assassin will stop 95 percent of the spam.
( if not more )


Not the OP,

That sounds great.
I doubt my host (a website provided by my ISP ) would have that.

So is this a reasonable alternative.

Have a tag with onclick - "sendEmail()"

function sendEMail()
{
var text = 'Email<br>Us'
var userTo = 'user'
var domainTo = 'domain.com'
var userCC = ''
var domainCC = ''
var userBCC = ''
var domainBCC = ''
var subject = 'Response from ' + top.document.title
var body = 'Please enter message here'

var CC = (userCC != '') ? userCC + '@' + domainCC : userCC
var BCC = (userBCC != '') ? userBCC + '@' + domainBCC : userBCC

document.write
( '<a href="mailto:'
+ userTo + '@' + domainTo
+ '?subject=' + subject
+ '&cc=' + CC
+ '&bcc=' + BCC
+ '&body=' + body + '">'
+ '<img src="images/display/mailto.gif">' + text + '</a>')
}

This is based on JIMCO's SpamSpoiler, and I believe it foils most of the
automatic spammers
 
Hey everyone, let's stop talking about SPAM as I am the one who mentioned it
not Jacques. He asked for everyone's opinion on which type of email link is
better (forms or direct links/displaying email address).

Jacques, yes I agree with your last comment. And please don't get paranoid
about SPAM. Contrary to popular belief and errant rumors, spam is not a
problem for everyone. It is simply unsolicited email that, in abundance, can
be VERY annoying. However, if it becomes a problem for you, there are fixes
that can resolve spam problems.

Cross that bridge when you come to it. For now, create a form that works
for you. FrontPage creates wonderful forms and forget the webbot thing...I
mean who cares how the form works? Trust me, FP forms have many
advantages--far outweighing any disadvantages mentioned in your response
comments.

Let me know if you need more help.
 
Thanks Trevor.
I'm using a Frontpage form for my Contact us page.
Can you tell me where and how I can see insert your tag and function in my
form ?
I'm not yet experimented in frontpage programming but with a initial
guidance, I can manage.
Or if you have a web page using this tag, you can indicate it to me also.

Jacques
 
Jacques said:
Thanks Trevor.
I'm using a Frontpage form for my Contact us page.
Can you tell me where and how I can see insert your tag and function
in my form ?
I'm not yet experimented in frontpage programming but with a initial
guidance, I can manage.
Or if you have a web page using this tag, you can indicate it to me
also.

Jacques

The HTML for calling sendEmail() is in
http://tandcl.homemail.com.au/sidebar.html
The JS code is in http://tandcl.homemail.com.au/sidebar.js

Because the HTML code is a frame, you may have difficulty in accessing it.
The HTML code is simply this
<script type="text/javascript">sendEMail()</script>
You can place this anywhere in a form (i.e. betwen <form> and </form>

But you need a little CSS as well as the function

So, in the head section (between <head> and </head>) place this
<style type="text/css">
img {float: left; }
</style>

<script type="text/javascript">
function sendEMail()
{
var text = 'Email<br>Us'
var userTo = 'me'
var domainTo = 'mydomain.com'
var userCC = ''
var domainCC = ''
var userBCC = ''
var domainBCC = ''
var subject = 'Response from ' + top.document.title
var body = 'Please enter message here'

var CC = (userCC != '') ? userCC + '@' + domainCC : userCC
var BCC = (userBCC != '') ? userBCC + '@' + domainBCC : userBCC

document.write
( '<a href="mailto:'
+ userTo + '@' + domainTo
+ '?subject=' + subject
+ '&cc=' + CC
+ '&bcc=' + BCC
+ '&body=' + body + '">'
+ '<img src="images/display/mailto.gif">' + text + '</a>')
}
</script>

This code uses an image file "mailto.gif", which you can find at (and copy
from) http://tandcl.homemail.com.au/images/display/mailto.gif.
To get it to work without altering the JS, place it in the same folder.
Otherwise alter the JS.

Since you said you thought you'd manage, I suppose you are OK from here. If
not, remember that you have to go to Code or HTML view - the tab on the
bottom - in order to update your HTML
 
Back
Top