Website Coding

Stuck on a line of code? Find resources and post your coding questions here.

Forum Sponsor (Advertise with us)
Reply
 
Thread Tools Display Modes
    #1 (permalink)  
Old 02-18-2008
Tess's Avatar
Senior Member
Company name: Codehead, LLP
Latest blog post: SEO Q&A
 
Join Date: Apr 2007
Location: Portland, OR
Posts: 9,131
Blog Entries: 3
Lightbulb Mailto HTML code that includes subject line automatically
Have you noticed that some email addresses listed on websites automatically open the email client with a ready subject line?
Want to know how to do that too? It's really easy and someone asked me how to do this today so I thought I'd go ahead and post the info here for anyone else who might find it useful:

Simply use the following code (substituting your own email address and subject line of course )

Code:
 
<a href=mailto:myemail@mywebsite.com?subject=My Subject Line>myemail@mywebsite.com</a>
Once this line is embedded in your webpage your visitors will only see
myemail@mywebsite.com and it will be hyperlinked. When they click it, their email client (Outlook, Windows Live Mail, Thunderbird, etc.) will pop up ready to go with whatever subject line you've provided! (Sorry I can't show you a working model here on the boards, the text editor doesn't like my extraneous HTML, but give it a try on your own site, it works!)

Voila!
__________________
Create a welcome packet for new clients with this guide and free templates!

(Available in PDF and Kindle versions)
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
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Easy HTML Tess Website Coding 15 08-05-2009 08:32 AM
Tag Line - Brainstorming Ideas D_Victoria_Virtual_Assistance Branding Your Business 11 02-24-2008 01:26 AM
HTML Tutorial vainparadise Website Coding 4 01-17-2008 09:58 AM


All times are GMT -4. The time now is 11:18 AM.

International Virtual Assistants Association
Project Management for Virtual Assistants
Work from Home | Become A Virtual Assistant
Virtual Assistant Directory
Affordable WordPress Themes
Create a Professional New Client Welcome Packet
Virtual Assistant Forums Advertising

© Virtual Assistant Forums 2012
All content and images are protected under copyright law and may not be reproduced in any way without express written consent.