<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Sending e-mails with Grails: the simple way</title>
	<atom:link href="http://www.itexto.net/devkico/?feed=rss2&#038;p=464" rel="self" type="application/rss+xml" />
	<link>http://www.itexto.net/devkico/?p=464</link>
	<description>Experiências em desenvolvimento de software</description>
	<lastBuildDate>Mon, 06 Sep 2010 11:30:31 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: admin</title>
		<link>http://www.itexto.net/devkico/?p=464&#038;cpage=1#comment-2766</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Mon, 09 Aug 2010 12:19:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.itexto.net/devkico/?p=464#comment-2766</guid>
		<description>Thanks.

Yes, that&#039;s right. You have to add the jar files of the JavaMail API on your grails-app/lib folder too.</description>
		<content:encoded><![CDATA[<p>Thanks.</p>
<p>Yes, that&#8217;s right. You have to add the jar files of the JavaMail API on your grails-app/lib folder too.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ofer</title>
		<link>http://www.itexto.net/devkico/?p=464&#038;cpage=1#comment-2765</link>
		<dc:creator>ofer</dc:creator>
		<pubDate>Mon, 09 Aug 2010 12:15:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.itexto.net/devkico/?p=464#comment-2765</guid>
		<description>great post 1 comment you have to put javax.mail.jar at the lib directory 
and also make the project know about this jar other wise it is compile but at run time
you get error</description>
		<content:encoded><![CDATA[<p>great post 1 comment you have to put javax.mail.jar at the lib directory<br />
and also make the project know about this jar other wise it is compile but at run time<br />
you get error</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Batman Lot</title>
		<link>http://www.itexto.net/devkico/?p=464&#038;cpage=1#comment-1836</link>
		<dc:creator>Batman Lot</dc:creator>
		<pubDate>Wed, 19 May 2010 03:45:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.itexto.net/devkico/?p=464#comment-1836</guid>
		<description>hello!, thanks for the info, this post was really nice.</description>
		<content:encoded><![CDATA[<p>hello!, thanks for the info, this post was really nice.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ron Barlag</title>
		<link>http://www.itexto.net/devkico/?p=464&#038;cpage=1#comment-1405</link>
		<dc:creator>Ron Barlag</dc:creator>
		<pubDate>Sat, 29 Aug 2009 09:06:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.itexto.net/devkico/?p=464#comment-1405</guid>
		<description>I&#039;m looking for a means to batch process mail in gmail using Groovy. 
Of course there is the javamail api, but do you know something similar like the a apache commons simple mail?</description>
		<content:encoded><![CDATA[<p>I&#8217;m looking for a means to batch process mail in gmail using Groovy.<br />
Of course there is the javamail api, but do you know something similar like the a apache commons simple mail?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://www.itexto.net/devkico/?p=464&#038;cpage=1#comment-1400</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Tue, 25 Aug 2009 19:39:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.itexto.net/devkico/?p=464#comment-1400</guid>
		<description>Yeap! Looks great like this!

But in this case, I think that a more &quot;Java&quot; approach is enough (after all, it was one of my requisites :) )</description>
		<content:encoded><![CDATA[<p>Yeap! Looks great like this!</p>
<p>But in this case, I think that a more &#8220;Java&#8221; approach is enough (after all, it was one of my requisites :) )</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt Passell</title>
		<link>http://www.itexto.net/devkico/?p=464&#038;cpage=1#comment-1399</link>
		<dc:creator>Matt Passell</dc:creator>
		<pubDate>Mon, 24 Aug 2009 22:23:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.itexto.net/devkico/?p=464#comment-1399</guid>
		<description>To make the code even more &quot;Groovy&quot;, you could take advantage of &quot;with&quot; (see &lt;a href=&quot;http://javajeff.blogspot.com/2008/11/getting-groovy-with-with.html&quot; rel=&quot;nofollow&quot;&gt;Getting Groovy With &quot;with&quot;&lt;/a&gt;) and not have to repeat your references to the email variable (comments removed for the sake of brevity):

&lt;code&gt;SimpleEmail email = new SimpleEmail()
email.with {
  setHostName(host)
  addTo(to)
  setFrom(from)
  setSubject(subject)
  setMsg(msg)
  setAuthentication(username,password)
  setSmtpPort(port)
  send()
}&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>To make the code even more &#8220;Groovy&#8221;, you could take advantage of &#8220;with&#8221; (see <a href="http://javajeff.blogspot.com/2008/11/getting-groovy-with-with.html" rel="nofollow">Getting Groovy With &#8220;with&#8221;</a>) and not have to repeat your references to the email variable (comments removed for the sake of brevity):</p>
<p><code>SimpleEmail email = new SimpleEmail()<br />
email.with {<br />
  setHostName(host)<br />
  addTo(to)<br />
  setFrom(from)<br />
  setSubject(subject)<br />
  setMsg(msg)<br />
  setAuthentication(username,password)<br />
  setSmtpPort(port)<br />
  send()<br />
}</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom</title>
		<link>http://www.itexto.net/devkico/?p=464&#038;cpage=1#comment-1396</link>
		<dc:creator>Tom</dc:creator>
		<pubDate>Mon, 24 Aug 2009 14:00:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.itexto.net/devkico/?p=464#comment-1396</guid>
		<description>Nice snippet. I didn&#039;t know about SimpleEmail</description>
		<content:encoded><![CDATA[<p>Nice snippet. I didn&#8217;t know about SimpleEmail</p>
]]></content:encoded>
	</item>
</channel>
</rss>
