Jump to content

Welcome to Geeks to Go - Register now for FREE

Geeks To Go is a helpful hub, where thousands of volunteer geeks quickly serve friendly answers and support. Check out the forums and get free advice from the experts. Register now to gain access to all of our features, it's FREE and only takes one minute. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more.

Create Account How it Works
Photo

Can I link HTML email contact form >directly< to email address


  • Please log in to reply

#1
BioHazard90

BioHazard90

    New Member

  • Member
  • Pip
  • 4 posts
I've created a blog on Blogspot, which incorporates an email contact form. Isn't there any way to have it send messages directly to my email address without paying a 3rd party for the service? If so, exactly how do I write the part of the HTML code that pertains to my email address? Or can't this be done without revealing my email address to spam-bots, which would defeat the whole purpose of the contact form?
  • 0

Advertisements


#2
Neil Jones

Neil Jones

    Member 5k

  • Member
  • PipPipPipPipPipPipPipPip
  • 8,476 posts
There is no provision in HTML to do what you want. HTML is purely a layout language, not a data processing language. It has no ability to "send" anything.

In a nutshell if you want anything more complicated than laying something out on a webpage, it will need to be processed by a script, either on the website itself or linked on another website.

You can put an email address in and link it as a "click here to mail me" type thing, but the only problem with this is it'll get harvested and you'll begin to receive spam.

One possible solution is something like this, in which you "munge" the email address. The mail works, you can click it and the user's mail client will be happy with it, but the spam bots can't see it.
http://www.addressmunger.com/
  • 0

#3
BioHazard90

BioHazard90

    New Member

  • Topic Starter
  • Member
  • Pip
  • 4 posts
Thanks for your reply, Neil. Unfortunately, it turns out that addressmunger.com creates scripts in PHP, but Blogger / Blogspot supports only Javascript. Any other ideas?
  • 0

#4
Neil Jones

Neil Jones

    Member 5k

  • Member
  • PipPipPipPipPipPipPipPip
  • 8,476 posts
Addressmunger.com doesn't need PHP, it's a Javascript driven script to munge your address so people can click on the link to mail you with their own email cient.

You cannot process a "Contact me by filling in this form" sort of request with Javascript, as it's a browser technology, not a website technology.
If you are unable to host a script for processing forms (or cannot host one elsewhere with appropriate permissions) your best bet would be to use the "click here to mail me" technique with a munged email link.
  • 0






Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP