Hello, I had a customer request that I place a "Button" so that visitors to their site can click on it to email them. I just placed a simple form button on the following page: http://www.clearwatersdayspamd.com What I want to do though is code the form such that when they click on it it inserts the "Subject" blah, blah, whatever, in the subject line of a new email. I would also like to ommit the "Submit=Click+Here+to+email+us" it places in the body of the message. Any ideas if this can be done? If you go to http://www.clearwatersdayspamd.com and click the "click here to email us" button you can see what I mean. Thank you!
You should be able to form the email by using this syntax (you can add other fields, like cc, as well): mailto:emailaddress?subject=my%20subject&body=my%20body For example: <form method="GET" action="mailto:email-address"> <input type="hidden" name="subject" value="test"> <input type="hidden" name="body" value="test"> <input type="submit" value="Send Email"> </form> Code (markup): or as a link: <a href="mailto:emailaddress?subject=test&body=test">email</a> Code (markup): You can always disguise the link as a button. J.D.
Oh that's Clear Waters Day Spa MD -- I just had to visit the site, I thought it SPAM d BTW, clearwatersdayspa.com is available, you might want to get it as well- just a thought & the url would look a little cleaner.
Thanx a bunch JD. Exam, I will run the other domain by the client. I did in the past, but they wanted the MD on it.. I said it looks like "spam", but that is what they wanted. Thanx again!
JD, thanx again! I went with option two. For some reason using the form code still returned garbage to my mailer. Thanx again!
Hey JD I am having problems with my website using Html format, I have installed the button listed in this post. It worked but I was using this so that others send info to me by filling out the form and sending the results directly to my email. Here is what the form looks like this somrgenealogy.com/histories/RequestForm i would like for all the info to be send to me by email instead of using a 3rd party site. Thank advance Greg