Jump to content

Email form


Kaoru

Recommended Posts

I've made myself an email form:

<form action="mailto: me@this.domain.com?subject=Whats a subject?" method="post">

Above is just an example of what I've done...but when I try to test it, it opens a blank email instead of sending the email. could this be because I haven't uploaded the page yet?

Link to comment
Share on other sites

No, it's because that's what you're telling it to do. When you use mailto in a link, that is telling the browser to open the user's own email program so that they can send an email, that doesn't make the server automatically send it. If you want to automatically send the email, you will need to use a server-side language like ASP, PHP, or Coldfusion to process the form and send the email.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...