Web Design Forum  
 
Go Back   Web Design Forum > Web and Graphic Design > Web Design

Reply
 
Thread Tools Display Modes
Old 02-24-2008, 09:48 PM   #1
xarzu
New Member
 
Join Date: Apr 2007
Posts: 9
Default mailto in HTML

I am trying to use the tag "mailto" in an HTML file to prompt the user to email me. Specifically, I want to have the subject and the body of the email message already filled in when the user sends me the email.

So far, I have managed to have a hyperlink where the body is already filled in:
HTML Code:
<a href="mailto::username@gmail.com?body='test'">this works</a>
I have also managed to have a hyperlink where the subject line is already filled in:

HTML Code:
<a href="mailto:usernamegmail.com?subject='the subject'">this works too</a>
But I have yet to figure out how do combine the two:
HTML Code:
<a href="mailto::username@gmail.com?subject='the subject and
the body'?body='test'">help</a>
Does anyone know how to do this?
xarzu is offline   Reply With Quote


Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:19 PM.


Computer Forum - Web Design Forum

Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.