login about faq

Due to the large amount of spam accounts, we temporarily disabled new user sign ups. To override this, email newuser.lgqa@gmail.com and an admin will determine if you are permitted to join


Hey Guys I'm really confused on making a html form to send to my email (@me.com">djdhan@me.com) but i want it so when you hit submit it opens up the users email program and I can set the subject in the html code

any help highly appreciated

asked May 09 '11 at 17:43

DJDhan's gravatar image

DJDhan
176353542


What's the point in having a form, if you want them to email you? Now you can set up a form so that the form itself emails you, or you can have a link so it says something like "email me" and when they click on that it opens up the user email with your address already populated. The idea of a form is to avoid the user emailing you and forms often don't even show your email at all it's all done behind the scenes so to speak.

answered May 09 '11 at 17:54

Sozo's gravatar image

Sozo
3.9k203568

<a href=mailto:example@example.com?subject=Whatever you want the subject to be>Whatever you want the link text to say</a>

Edit: Missed the subject part of the question sorry

answered May 09 '11 at 17:56

Josh_M's gravatar image

Josh_M
2.7k61551

edited May 09 '11 at 17:59

quick little Google brought me here: http://www.ianr.unl.edu/internet/mailto.html

it would be something similar to @me?subject=This is the subject">This is clickable

Hope this helps.

answered May 09 '11 at 17:56

KylePolansky's gravatar image

KylePolansky
2.0k4839

Guess I don't know how to use HTML code on this site, just look at the link.

(May 09 '11 at 17:58) KylePolansky KylePolansky's gravatar image

This might help

<a href="mailto:YOUR@EMAIL?subject=YOURSUBJECT">WHAT YOU WANT IT TO SAY</a>

The parts in CAPS are the parts that need to be replaced with your information.

You then be able to click the link.

answered May 09 '11 at 18:00

TheTechDude's gravatar image

TheTechDude
17.0k4094300

edited May 09 '11 at 18:02

Part of the purpose of using a form is your email address isn't in the html document itself. Your address is suppressed so it doesn't get picked up by spammers. The message is passed through an external script which finds your email address in a preference file that spam spider programs can't detect.

There's a number of ways to get this to work. Some involves javascript, some, such as what other people mentioned on this site, can include your email address within the HTML. I don't recommend this. Here's a quick Google search that will show you some articles about getting this done correctly:

http://www.google.com/search?hl=en&source=hp&biw=1066&bih=554&q=how+to+make+an+html+form+work&aq=f&aqi=g1&aql=&oq=

answered May 09 '11 at 19:12

Duodave's gravatar image

Duodave
4.6k404998

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported


Join Us in the Chat Room

Tags:

×537
×214
×171
×142
×125
×15

Asked: May 09 '11 at 17:43

Seen: 1,012 times

Last updated: May 09 '11 at 19:12