<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Make Basic Website &#187; add line to body of email</title>
	<atom:link href="http://www.make-basic-website.com/tag/add-line-to-body-of-email/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.make-basic-website.com</link>
	<description>Just another WordPress site</description>
	<lastBuildDate>Tue, 26 Apr 2011 20:10:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
		<item>
		<title>How to use mailto</title>
		<link>http://www.make-basic-website.com/tips-for-web-designers/how-to-use-mailto/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-use-mailto</link>
		<comments>http://www.make-basic-website.com/tips-for-web-designers/how-to-use-mailto/#comments</comments>
		<pubDate>Wed, 13 May 2009 18:57:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tips for Web Designers]]></category>
		<category><![CDATA[add line to body of email]]></category>
		<category><![CDATA[mailto link]]></category>
		<category><![CDATA[uses of mailto]]></category>

		<guid isPermaLink="false">http://www.make-basic-website.com/?p=19</guid>
		<description><![CDATA[Today I was wokring on a newsletter and my client wanted me to open an outlook window with some text already showing in the subject line and the body. This is a simple task and we have all probably used it. For those who do not know I can summarize it here. Just a simple [...]]]></description>
			<content:encoded><![CDATA[<p>Today I was wokring on a newsletter and my client wanted me to open an outlook window with some text already showing in the subject line and the body. This is a simple task and we have all probably used it. For those who do not know I can summarize it here.</p>
<p>Just a simple email link is written as</p>
<p>mailto:email@email.com</p>
<p>So once you have this code for a link it will open the default email client with email@email.com in the TO field.</p>
<p>So now you want to show a default subject line. For that you can simply append ?subject=Your Subject to the above link. So it becomes</p>
<p><strong>mailto:email@email.com?subject=YourSubject</strong></p>
<p>Next thing could that you want to add some text in the body of email. For that you add body=Your Body to the above link. So now it becomes:</p>
<p> <strong>mailto:email@email.com?subject=YourSubject&#038;body=YourBody</strong></p>
<p>So here is a new thing I learnt today! I wanted to write the text in body but then I needed some text written on the next line. So I found an equivalent of <br /> usually used in webpages. It is %0A . So now where you have the text for the body, if you add %0A, it moves the text to the next line. So now our last link would become:</p>
<p><strong>mailto:email@email.com?subject=YourSubject&#038;body=YourBody%0ANextLine</strong></p>
<p>That is it! Hope this tip would be useful!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.make-basic-website.com/tips-for-web-designers/how-to-use-mailto/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

