Welcome to Doors2Stores



"Bringing understanding and awareness of eBay Stores"

eBay Store owners dedicated to sharing knowledge
and resources for a better shopping community

   

Prefilling the Subject and Body of an Email Message

 
Go ahead and click on the links, it should open your email program and you will see what a prefilled email would look like, where the prefilled information is.  If it doesn't automatically open your email program, then open your email program first and then come back and click on the links.  Don't click on send though, since the email address is not real.

Notice the question mark (?) that separates the data from the active part of the URL but now also notice that the two parts of the data (the subject and the body) are separated from each other by an ampersand (&).
 

TEXT LINK

This is a standard text link.

<a href="mailto:emailaddress@isp.net?subject=Your Subject Line goes here&body=This is the text that will appear in the body of the message.">send e-mail</a>

Will produce this

send e-mail


IMAGE LINK

To use an image instead of text, you would replace the text with the image tag and URL of your image (in bold).

<a href="mailto:emailaddress@isp.net?subject=Your Subject Line goes here&body=This is the text that will appear in the body of the message."><img src="http://www.doors2stores.com/images2/email3.jpg"></a>

Will produce this



IMAGE LINK without BORDER

Again, using the same image HTML code as above, but we remove the purple border by adding the border tag (in bold).  When using a borderless image one should always add an alt tag at the minimum, and perhaps a line of text below advising people to click the image.

<a href="mailto:emailaddress@isp.net?subject=Your Subject Line goes here&body=This is the text that will appear in the body of the message."><img src="http://www.doors2stores.com/images2/email3.jpg" border="0" alt="Click here to send e-mail"></a>

Will produce this

Click here to send e-mail
 
Return