| | |||||
| ||||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) |
| NamePros Member Join Date: Apr 2007
Posts: 28
![]() | 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> HTML Code: <a href="mailto:usernamegmail.com?subject='the subject'">this works too</a> ????: NamePros.com http://www.namepros.com/programming/436654-mailto-in-html.html HTML Code: <a href="mailto::username@gmail.com?subject='the subject and the body'?body='test'">help</a>
__________________ There is nothing stronger than human will. Nothing can stop it. |
| |
| | #2 (permalink) |
| NamePros Expert Join Date: Nov 2003 Location: Scotland
Posts: 5,069
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | It should be. HTML Code: <a href="mailto://username@gmail.com?subject=the%20subject%20and%20the%20body&body=test">help</a>
__________________ Manage your portfolio using my new Domain Portfolio Management script. Securing Your Domain Name From Theft |
| |