<?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>MangoOrange™ &#187; gmail</title>
	<atom:link href="http://www.mangoorange.com/tag/gmail/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mangoorange.com</link>
	<description>Web Hosting Reviews &#38; Mac WordPress Theme</description>
	<lastBuildDate>Wed, 25 Jan 2012 18:31:39 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Sending email via Gmail in Django</title>
		<link>http://www.mangoorange.com/2008/09/15/sending-email-via-gmail-in-django/</link>
		<comments>http://www.mangoorange.com/2008/09/15/sending-email-via-gmail-in-django/#comments</comments>
		<pubDate>Tue, 16 Sep 2008 07:51:26 +0000</pubDate>
		<dc:creator>mangoorange</dc:creator>
				<category><![CDATA[Django]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[django-registration]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[gmail]]></category>

		<guid isPermaLink="false">http://www.mangoorange.com/?p=186</guid>
		<description><![CDATA[While I was learning how to use django-registration app, I discover in the tutorial that I need to know how to send an email for the user to activate the registration. Thanks to folk at the Django chatroom, they advice me to google 'django gmail' and I discover a post at nathanostgard.com that show roughly [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright" style="float: right;" src="http://media.djangoproject.com/img/badges/djangowish126x70.gif" alt="Django" width="126" height="70" />While I was learning how to use <a title="django-regisration" href="http://code.google.com/p/django-registration/">django-registration</a> app, I discover in the tutorial that I need to know how to send an email for the user to activate the registration.</p>
<p>Thanks to folk at the Django chatroom, they advice me to google '<strong>django gmail</strong>' and I discover a post at <a title="Nathan Ostgard" href="http://www.nathanostgard.com" target="_blank">nathanostgard.com</a> that show roughly how to do it. Here I'm going to extend a little on how to test it using shell.</p>
<ol>
<li>Create a project, <strong>django-admin.py startproject gmail</strong></li>
<li>Edit <strong>settings.py</strong> with code below:
<pre class="python">EMAIL_USE_TLS = <span style="color: #008000;">True</span>
EMAIL_HOST = <span style="color: #483d8b;">'smtp.gmail.com'</span>
EMAIL_HOST_USER = <span style="color: #483d8b;">'youremail@gmail.com'</span>
EMAIL_HOST_PASSWORD = <span style="color: #483d8b;">'yourpassword'</span>
EMAIL_PORT = <span style="color: #ff4500;">587</span></pre>
</li>
<li>Run interactive mode, <strong>python manage.py shell</strong></li>
<li>Import the EmailMessage module,<br />
<strong>from django.core.mail import EmailMessage</strong></li>
<li>Send the email,
<pre class="python"><span style="color: #dc143c;">email</span> = EmailMessage<span style="color: black;">&#40;</span><span style="color: #483d8b;">'Subject'</span>, <span style="color: #483d8b;">'Body'</span>, t=<span style="color: black;">&#91;</span><span style="color: #483d8b;">'mickeyckm@mangoorange.com'</span><span style="color: black;">&#93;</span><span style="color: black;">&#41;</span>
<span style="color: #dc143c;">email</span>.<span style="color: black;">save</span><span style="color: black;">&#40;</span><span style="color: black;">&#41;</span></pre>
</li>
</ol>
<p>Hope it help someone <img src='http://www.mangoorange.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Reference <a title="Gmail and Django" href="http://nathanostgard.com/archives/2007/7/2/gmail_and_django/" target="_blank">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mangoorange.com/2008/09/15/sending-email-via-gmail-in-django/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Enabling Gmail Labs&#8217; features</title>
		<link>http://www.mangoorange.com/2008/06/10/enabling-gmail-labs-features/</link>
		<comments>http://www.mangoorange.com/2008/06/10/enabling-gmail-labs-features/#comments</comments>
		<pubDate>Tue, 10 Jun 2008 15:49:53 +0000</pubDate>
		<dc:creator>mangoorange</dc:creator>
				<category><![CDATA[Journal]]></category>
		<category><![CDATA[gmail]]></category>
		<category><![CDATA[labs]]></category>

		<guid isPermaLink="false">http://www.mangoorange.com/?p=177</guid>
		<description><![CDATA[(Image above is taken from Lifehacker) Feeling bored with the current features offered by Gmail? Wanted to try something new from the Gmail Lab? You got it. Recently, I read an article from Lifehacker that teach me how to enable it. Just copy and paste the link in your URL: https://mail.google.com/mail/?labs=1#settings As the "Lab" word [...]]]></description>
			<content:encoded><![CDATA[<p><img style="vertical-align: top;" src="http://cache.gawker.com/assets/images/17/2008/06/enable-labs.png" alt="" width="494" height="211" /></p>
<p>(Image above is taken from <a title="Lifehacker" href="http://lifehacker.com/395285/manually-enable-gmail-labs-in-your-account" target="_blank">Lifehacker</a>)</p>
<p>Feeling bored with the current features offered by Gmail? Wanted to try something new from the Gmail Lab?</p>
<p>You got it. Recently, I read an article from <a title="Lifehacker" href="http://lifehacker.com/395285/manually-enable-gmail-labs-in-your-account" target="_blank">Lifehacker</a> that teach me how to enable it. Just copy and paste the link in your URL: <a title="Gmail Lab enable" href="https://mail.google.com/mail/?labs=1#settings" target="_blank">https://mail.google.com/mail/?labs=1#settings</a></p>
<p>As the "Lab" word suggests that the features are still in experimental stage, hence, Google will not be responsible for any mishaps. I tried it, so far so good.</p>
<p>Have fun.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mangoorange.com/2008/06/10/enabling-gmail-labs-features/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

