<?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>Andre da Silva Carrilho</title>
	<atom:link href="http://www.acarrilho.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.acarrilho.com</link>
	<description>var posts = blog.Parse(thoughts);</description>
	<lastBuildDate>Thu, 06 Oct 2011 10:11:50 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>steve jobs 2005 stanford graduation speech</title>
		<link>http://www.acarrilho.com/2011/10/06/steve-jobs-2005-stanford-graduation-speech/</link>
		<comments>http://www.acarrilho.com/2011/10/06/steve-jobs-2005-stanford-graduation-speech/#comments</comments>
		<pubDate>Thu, 06 Oct 2011 10:11:50 +0000</pubDate>
		<dc:creator>acarrilho</dc:creator>
				<category><![CDATA[Personal]]></category>
		<category><![CDATA[death]]></category>
		<category><![CDATA[jobs]]></category>
		<category><![CDATA[steve]]></category>
		<guid isPermaLink="false">http://www.acarrilho.com/?p=120</guid>
		<description><![CDATA[this is one of the most inspiring speeches I&#8217;ve heard. he is most definitely a mentor to the business world.]]></description>
			<content:encoded><![CDATA[<p>this is one of the most inspiring speeches I&#8217;ve heard. he is most definitely a mentor to the business world.</p>
<p><iframe src="http://www.youtube.com/embed/UF8uR6Z6KLc" frameborder="0" width="420" height="315"></iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://www.acarrilho.com/2011/10/06/steve-jobs-2005-stanford-graduation-speech/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Select a random item from a List</title>
		<link>http://www.acarrilho.com/2011/07/01/select-a-random-item-from-a-list/</link>
		<comments>http://www.acarrilho.com/2011/07/01/select-a-random-item-from-a-list/#comments</comments>
		<pubDate>Fri, 01 Jul 2011 08:42:34 +0000</pubDate>
		<dc:creator>acarrilho</dc:creator>
				<category><![CDATA[C#]]></category>
		<guid isPermaLink="false">http://www.acarrilho.com/?p=110</guid>
		<description><![CDATA[Hi, Ever wanted to select a random item from a List&#60;T&#62;? Well, this is an extension method that does just that To use it: Enjoy!]]></description>
			<content:encoded><![CDATA[<p>Hi,</p>
<p>Ever wanted to select a random item from a List&lt;T&gt;? Well, this is an extension method that does just that</p>
<pre class="brush: csharp; title: ; notranslate">/// &lt;summary&gt;
/// Gets a random element from the list.
/// &lt;/summary&gt;
/// &lt;typeparam name=&quot;T&quot;&gt;The list element type.&lt;/typeparam&gt;
/// &lt;param name=&quot;list&quot;&gt;The actual list.&lt;/param&gt;
/// &lt;returns&gt;An element from the list.&lt;/returns&gt;
public static T Random&lt;T&gt;(this List&lt;T&gt; list)
{
    var r = new Random();
    return list[r.Next(0, list.Count)];
}</pre>
<p>To use it:</p>
<pre class="brush: csharp; title: ; notranslate">var list = new List&lt;string&gt; { &quot;first&quot;, &quot;second&quot;, &quot;third&quot;, &quot;fourth&quot; };
var random = list.Random();</pre>
<p>Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.acarrilho.com/2011/07/01/select-a-random-item-from-a-list/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Spring Summer</title>
		<link>http://www.acarrilho.com/2011/03/23/spring-summer/</link>
		<comments>http://www.acarrilho.com/2011/03/23/spring-summer/#comments</comments>
		<pubDate>Wed, 23 Mar 2011 22:34:07 +0000</pubDate>
		<dc:creator>acarrilho</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<guid isPermaLink="false">http://www.acarrilho.com/?p=78</guid>
		<description><![CDATA[Sunday late afternoon I headed out to meet some friends. To my amaze, the weather, which is not supposed to be that good was AMAZING. The sun was shining, it was about 20 ºC (which is uncommon at this time of the year), full of green, lots of beautiful and happy people. I went to [...]]]></description>
			<content:encoded><![CDATA[<p>Sunday late afternoon I headed out to meet some friends. To my amaze, the weather, which is not supposed to be that good was AMAZING. The sun was shining, it was about 20 ºC (which is uncommon at this time of the year), full of green, lots of beautiful and happy people. I went to Belém, bought me a cup of coffee and a &#8216;pastel de belém&#8217; and sat on the grass reading on my iPad. This was indescribable, the sensation was amazing. I felt warm and free. You should really try it sometime&#8230;</p>
<p>Here are a coupe of photos for you to enjoy (taken from my phone so the quality might not seem that good)</p>
<a href='http://www.acarrilho.com/2011/03/23/spring-summer/dsc00170/' title='DSC00170'><img width="150" height="150" src="http://www.acarrilho.com/wp-content/uploads/2011/03/DSC00170-150x150.jpg" class="attachment-thumbnail colorbox-78" alt="DSC00170" title="DSC00170" /></a>
<a href='http://www.acarrilho.com/2011/03/23/spring-summer/dsc00171/' title='DSC00171'><img width="150" height="150" src="http://www.acarrilho.com/wp-content/uploads/2011/03/DSC00171-150x150.jpg" class="attachment-thumbnail colorbox-78" alt="DSC00171" title="DSC00171" /></a>
<a href='http://www.acarrilho.com/2011/03/23/spring-summer/dsc00172-2/' title='DSC00172'><img width="150" height="150" src="http://www.acarrilho.com/wp-content/uploads/2011/03/DSC001721-150x150.jpg" class="attachment-thumbnail colorbox-78" alt="DSC00172" title="DSC00172" /></a>
<a href='http://www.acarrilho.com/2011/03/23/spring-summer/dsc00173/' title='DSC00173'><img width="150" height="150" src="http://www.acarrilho.com/wp-content/uploads/2011/03/DSC00173-150x150.jpg" class="attachment-thumbnail colorbox-78" alt="DSC00173" title="DSC00173" /></a>
<a href='http://www.acarrilho.com/2011/03/23/spring-summer/dsc00174/' title='DSC00174'><img width="150" height="150" src="http://www.acarrilho.com/wp-content/uploads/2011/03/DSC00174-150x150.jpg" class="attachment-thumbnail colorbox-78" alt="DSC00174" title="DSC00174" /></a>
<a href='http://www.acarrilho.com/2011/03/23/spring-summer/dsc00175/' title='DSC00175'><img width="150" height="150" src="http://www.acarrilho.com/wp-content/uploads/2011/03/DSC00175-150x150.jpg" class="attachment-thumbnail colorbox-78" alt="DSC00175" title="DSC00175" /></a>
<a href='http://www.acarrilho.com/2011/03/23/spring-summer/dsc00176/' title='DSC00176'><img width="150" height="150" src="http://www.acarrilho.com/wp-content/uploads/2011/03/DSC00176-150x150.jpg" class="attachment-thumbnail colorbox-78" alt="DSC00176" title="DSC00176" /></a>
]]></content:encoded>
			<wfw:commentRss>http://www.acarrilho.com/2011/03/23/spring-summer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Global at NuGet</title>
		<link>http://www.acarrilho.com/2011/03/21/global-at-nuget/</link>
		<comments>http://www.acarrilho.com/2011/03/21/global-at-nuget/#comments</comments>
		<pubDate>Mon, 21 Mar 2011 23:54:52 +0000</pubDate>
		<dc:creator>acarrilho</dc:creator>
				<category><![CDATA[C#]]></category>
		<guid isPermaLink="false">http://www.acarrilho.com/?p=67</guid>
		<description><![CDATA[Now you can install the Global project using NuGet. Follow this link and check the instructions on how to install. Enjoy]]></description>
			<content:encoded><![CDATA[<p>Now you can install the Global project using NuGet. <a href="http://nuget.org/List/Packages/Global">Follow this link</a> and check the instructions on how to install.</p>
<p>Enjoy</p>
]]></content:encoded>
			<wfw:commentRss>http://www.acarrilho.com/2011/03/21/global-at-nuget/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>in order to succeed one must fail</title>
		<link>http://www.acarrilho.com/2011/02/04/in-order-to-succeed-one-must-fail/</link>
		<comments>http://www.acarrilho.com/2011/02/04/in-order-to-succeed-one-must-fail/#comments</comments>
		<pubDate>Fri, 04 Feb 2011 00:37:24 +0000</pubDate>
		<dc:creator>acarrilho</dc:creator>
				<category><![CDATA[Personal]]></category>
		<guid isPermaLink="false">http://www.acarrilho.com/?p=40</guid>
		<description><![CDATA[It is what it is, it sounds just like you would read it and it&#8217;s the ultimate truth. I believe that there are people that fit most of the scenarios in the world, Malcolm Gladwell&#8217;s outliers. There isn&#8217;t a formula that says that one has to be or do something in order to achieve its [...]]]></description>
			<content:encoded><![CDATA[<p>It is what it is, it sounds just like you would read it and it&#8217;s the ultimate truth. I believe that there are people that fit most of the scenarios in the world, Malcolm Gladwell&#8217;s outliers.</p>
<p>There isn&#8217;t a formula that says that one has to be or do something in order to achieve its most desirable goals. People have to be what they are and if it means failing during the course of life so be it. You&#8217;ll see that sometime, between all those &#8216;failures&#8217; you&#8217;ve learned some valuable lessons that can be used in similar situations in the future. It&#8217;s the same with soldiers, the veterans have more chances of getting out of a war alive because they have more experience dealing with them than the rookies. Or even with women, men that had lots of women over the course of their lives (and certainly failed many times) will know how to pick one up rather than a guy with lesser experience in the field. It&#8217;s all about experience, trial-error, failure-success.</p>
<p>If you want to know the path to success I urge you to try it for yourself even if it means failure. In my book that&#8217;s not a failure, that&#8217;s a lesson for life, an experience, an advantage. But don&#8217;t forget about them, use them to avoid making the same mistakes again, it will most certainly lead you in the right direction to success.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.acarrilho.com/2011/02/04/in-order-to-succeed-one-must-fail/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The things we do for&#8230;</title>
		<link>http://www.acarrilho.com/2011/02/02/the-things-we-do-for/</link>
		<comments>http://www.acarrilho.com/2011/02/02/the-things-we-do-for/#comments</comments>
		<pubDate>Wed, 02 Feb 2011 22:58:39 +0000</pubDate>
		<dc:creator>acarrilho</dc:creator>
				<category><![CDATA[Personal]]></category>
		<guid isPermaLink="false">http://www.acarrilho.com/?p=33</guid>
		<description><![CDATA[I&#8217;ve been digging around to find a solution for a couple of problems that I have. This past few days were dedicated to doing just that. But what I found was that the decisions were not always the one&#8217;s I wanted but instead the ones I had to cope with. What to do in situations [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been digging around to find a solution for a couple of problems that I have. This past few days were dedicated to doing just that. But what I found was that the decisions were not always the one&#8217;s I wanted but instead the ones I had to cope with. What to do in situations like this?</p>
<p>Well, I found we have these options when we decide something:</p>
<ul>
<li>Do what others want</li>
<li>Do what you want / need</li>
</ul>
<p>This is nice and all but in most cases these decisions take many variables and we have to analyse them one by one and cross reference between them in order to have the &#8216;perfect&#8217; decision right? Well, yes and no. The top most variable you have to take into account which matters is if that is what you want and need at that specific time. I know sometimes that might not seem that simple but if you think again, that&#8217;s the only thing that matters.</p>
<p>My brother once said something that I will never forget. We were talking about achieving goals and I was saying that sometimes life gives us obstacles impossible to overcome and he said that if we put our minds into it we could. Not because it will magically happen, we all know that&#8217;s impossible, but because we direct our lives to overcome these obstacles and get exactly what we want. We might not get exactly that but we WILL, for sure, see that the &#8216;impossible&#8217; sometimes isn&#8217;t that &#8216;impossible&#8217;.</p>
<p>My advice is for you to <strong>think for yourselves</strong>. Take into account what others might say, that&#8217;s a very important factor in decision making but do not let that be the top most reason for the decision you&#8217;re making.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.acarrilho.com/2011/02/02/the-things-we-do-for/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Start -&gt; End -&gt; Start</title>
		<link>http://www.acarrilho.com/2011/01/30/start-end-start/</link>
		<comments>http://www.acarrilho.com/2011/01/30/start-end-start/#comments</comments>
		<pubDate>Sun, 30 Jan 2011 13:24:12 +0000</pubDate>
		<dc:creator>acarrilho</dc:creator>
				<category><![CDATA[Personal]]></category>
		<guid isPermaLink="false">http://www.acarrilho.com/?p=29</guid>
		<description><![CDATA[A few weeks back I did something that completely changed my life and my future. It doesn&#8217;t matter what, it only matters that, although it wasn&#8217;t the easiest thing to do, it wasn&#8217;t the hardest. So why am I writing this? Well, this experience thought me some things&#8230; Not everything is the end of the [...]]]></description>
			<content:encoded><![CDATA[<p>A few weeks back I did something that completely changed my life and my future. It doesn&#8217;t matter what, it only matters that, although it wasn&#8217;t the easiest thing to do, it wasn&#8217;t the hardest. So why am I writing this? Well, this experience thought me some things&#8230;</p>
<ul>
<li>Not everything is the end of the world, even if it appears to be</li>
<li>You can overcome pretty much whatever is thrown at you, but you have to want first</li>
<li>Rely on your family and friends (especially family), these are the people that will be by your side when &#8216;not so good&#8217; things happen</li>
<li>Lose some, win some&#8230; Just because you won once doesn&#8217;t mean you&#8217;re a winner and the same goes for the losses!</li>
</ul>
<p>So, despite the fact that something in my life has ended does not mean that my life ended also. Be cheerful and live your life.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.acarrilho.com/2011/01/30/start-end-start/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New Windows 7 Phone&#8230; Yes, OS and PHONE :)!</title>
		<link>http://www.acarrilho.com/2010/02/15/new-windows-7-phone-yes-os-and-phone/</link>
		<comments>http://www.acarrilho.com/2010/02/15/new-windows-7-phone-yes-os-and-phone/#comments</comments>
		<pubDate>Mon, 15 Feb 2010 17:41:00 +0000</pubDate>
		<dc:creator>acarrilho</dc:creator>
				<category><![CDATA[Personal]]></category>
		<guid isPermaLink="false">/acarrilho/post/New-Windows-7-Phone-Yes-OS-and-PHONE-)!.aspx</guid>
		<description><![CDATA[Yep guys, today at the World Mobile Conference Microsoft announced their new gadget in the mobile industry, the new all-in-one mobile OS and phone. Check out the comments and video from the guys from Engadget here to see more details and get a pretty good idea of what does it look like and maybe compare [...]]]></description>
			<content:encoded><![CDATA[<p>Yep guys, today at the World Mobile Conference Microsoft announced their new gadget in the mobile industry, the new all-in-one mobile OS and phone. Check out the comments and video from the guys from <a href="http://www.engadget.com/2010/02/15/windows-phone-7-series-is-official-and-microsoft-is-playing-to/">Engadget here</a> to see more details and get a pretty good idea of what does it look like and maybe compare it with other mobile phones out there.</p>
<p>From my point of view, the UI is kinda of messy, too much things flying around. I couldn&#8217;t find context in them but in their defence I didn&#8217;t played around with it to know. One thing all you people might like is the social integration within the contact apps. You&#8217;ll be able to connect to your favorite social networks (Facebook, Twitter) all in one place. I personally don&#8217;t really care about that since I&#8217;m not that much into that social stuff.</p>
<p>Indeed, new phone but is it a new era for the mobile industry or just another phone?!</p>
<p>Cheers</p>
<p><img class="colorbox-5"  src="/acarrilho/image.axd?picture=2010%2f2%2fwinmob7.jpg" alt="" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.acarrilho.com/2010/02/15/new-windows-7-phone-yes-os-and-phone/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>About my Kindle 2</title>
		<link>http://www.acarrilho.com/2009/12/04/about-my-kindle-2/</link>
		<comments>http://www.acarrilho.com/2009/12/04/about-my-kindle-2/#comments</comments>
		<pubDate>Fri, 04 Dec 2009 00:24:00 +0000</pubDate>
		<dc:creator>acarrilho</dc:creator>
				<category><![CDATA[Personal]]></category>
		<guid isPermaLink="false">/acarrilho/post/About-my-Kindle-2.aspx</guid>
		<description><![CDATA[Hi, A couple of days ago a got myself, from Amazon.com, a brand new Kindle 2. First let me drop some curiosities to some people here in Portugal who might want to buy it. Amazon has a great overall service. I made the purchase on a monday night and got it on thursday at 11am. [...]]]></description>
			<content:encoded><![CDATA[<p>Hi,</p>
<p>A couple of days ago a got myself, from <a href="Amazon.com">Amazon.com</a>, a brand new <a href="http://www.amazon.com/Kindle-Wireless-Reading-Display-Generation/dp/B0015T963C/ref=dp_ob_title_def">Kindle 2</a>. First let me drop some curiosities to some people here in Portugal who might want to buy it.</p>
<p><a href="Amazon.com">Amazon</a> has a great overall service. I made the purchase on a monday night and got it on thursday at 11am. The <a href="http://www.amazon.com/Kindle-Wireless-Reading-Display-Generation/dp/B0015T963C/ref=dp_ob_title_def">Kindle</a> was sent using <a href="http://wwwapps.ups.com/WebTracking/track?loc=pt_PT&amp;WBPM_lid=homepage/ct1.html_pnl_trk">UPS service</a> and I could track (almost) in real time where the package was and at what time it left/arrived at some place. With the tracking code you could check it using <a href="Amazon.com">Amazon</a>&#8216;s own service or you could go to <a href="http://wwwapps.ups.com/WebTracking/track?loc=pt_PT&amp;WBPM_lid=homepage/ct1.html_pnl_trk">UPS site</a> (they had a more detailed view of it).One VERY GOOD detail was that as part of the order <a href="Amazon.com">Amazon</a> charges a fee, &#8216;<a href="http://www.amazon.com/gp/help/customer/display.html?nodeId=596184&amp;#import">Import Deposit Fee</a>&#8216;, that covers any tax or customs fees that might be charged for the <a href="http://www.amazon.com/Kindle-Wireless-Reading-Display-Generation/dp/B0015T963C/ref=dp_ob_title_def">Kindle</a>. They also take care of releasing the product from the customs so you don&#8217;t have to worry about anything, the <a href="http://www.amazon.com/Kindle-Wireless-Reading-Display-Generation/dp/B0015T963C/ref=dp_ob_title_def">Kindle</a> will arrive at your place without any concern on your part. So people from Portugal, you can buy it without any problems.</p>
<p>Well, regarding the <a href="http://www.amazon.com/Kindle-Wireless-Reading-Display-Generation/dp/B0015T963C/ref=dp_ob_title_def">Kindle</a> itself. It&#8217;s a very nice reading device. When I first opened I was a bit disappointed with the screen size. It took me a while to get used to it actually. Another thing that I missed when reading reviews about it was the fact that internet only worked using it&#8217;s 3G wireless card, which is free in Portugal by the way <img src='http://www.acarrilho.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley colorbox-6' /> . You cannot connect to your home wireless network. One cool thing though is the fact that you can browse <a href="Amazon.com">Amazon</a>&#8216;s Whispernet network, search and buy books all for free. And it takes less than 30 seconds to download a complete book. Check out <a href="Amazon.com">Amazon</a>&#8216;s <a href="http://www.jole.fi/blog/2009/10/07/Kindle-wireless-coverage-in-Europe.html">wireless coverage here</a> for Europe</p>
<p>With their new firmware you can read pdf content out of the box and it&#8217;s cool for some books. One thing that disappointed me was the lack of good pdf to <a href="http://www.amazon.com/Kindle-Wireless-Reading-Display-Generation/dp/B0015T963C/ref=dp_ob_title_def">Kindle</a> converter that was good. None of the softwares I tried were good (<a href="http://www.lexcycle.com/">Stanza</a>, <a href="http://www.mobipocket.com/en/HomePage/default.asp?Language=EN">MobiPocket</a>, <a href="http://calibre-ebook.com/">Calibre</a>).</p>
<p>But if you want a reading device and you are one of those people who love to buy books this is a very cool alternative. The books for <a href="http://www.amazon.com/Kindle-Wireless-Reading-Display-Generation/dp/B0015T963C/ref=dp_ob_title_def">Kindle</a> are cheaper, you can buy it on the PC and load it to the <a href="http://www.amazon.com/Kindle-Wireless-Reading-Display-Generation/dp/B0015T963C/ref=dp_ob_title_def">Kindle</a> via the USB cable or buy it or download it directly from the <a href="http://www.amazon.com/Kindle-Wireless-Reading-Display-Generation/dp/B0015T963C/ref=dp_ob_title_def">Kindle</a>. I got used to it now and me and my girlfriend love it. Overall it&#8217;s a pretty darn GOOD device. Very cool christmas gift for me <img src='http://www.acarrilho.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley colorbox-6' /> </p>
<p>Cheers to all</p>
]]></content:encoded>
			<wfw:commentRss>http://www.acarrilho.com/2009/12/04/about-my-kindle-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A new feature on the MailHelper class</title>
		<link>http://www.acarrilho.com/2009/11/29/a-new-feature-on-the-mailhelper-class/</link>
		<comments>http://www.acarrilho.com/2009/11/29/a-new-feature-on-the-mailhelper-class/#comments</comments>
		<pubDate>Sun, 29 Nov 2009 17:07:00 +0000</pubDate>
		<dc:creator>acarrilho</dc:creator>
				<category><![CDATA[C#]]></category>
		<guid isPermaLink="false">/acarrilho/post/A-new-feature-on-the-MailHelper-class.aspx</guid>
		<description><![CDATA[Hi Today I added a new feature on my MailHelper fluent class that allows or as parameters in the Add method when adding new addresses. Hers&#8217;s a sample code: UPDATED: I managed to get the project into GitHub. You can grab it here. Enjoy]]></description>
			<content:encoded><![CDATA[<p>Hi</p>
<p>Today I added a new feature on my MailHelper fluent class that allows</p>
<pre class="brush: csharp; title: ; notranslate">List&lt;string&gt;</pre>
<p>or</p>
<pre class="brush: csharp; title: ; notranslate">Dictionary&lt;string, string&gt;</pre>
<p>as parameters in the Add method when adding new addresses.</p>
<p>Hers&#8217;s a sample code:</p>
<pre class="brush: csharp; title: ; notranslate">private static void SendMail()
{
    var mailsWithDisplayNames = new Dictionary
                       {
                           {&quot;Person&quot;, &quot;person@samplemail.com&quot;},
                           {&quot;Another Person&quot;,&quot;another.person@samplemail.com&quot;}
                       };
    var justMails = new List
                {
                    &quot;wow.another.person@sampleperson.com&quot;,
                    &quot;ok.another.person@sampleperson.com&quot;
                };
    var mailHelper = new MailHelper(&quot;smtp.gmail.com&quot;, 587);
    mailHelper
        .From(&quot;Sample Person&quot;, &quot;sampleperson@samplemail.com&quot;)
        .To(to =&gt; to.Add(&quot;AnotherSamplePerson&quot;, &quot;anothersampleperson@samplemail.com&quot;))
        .Bcc(bcc =&gt; bcc.Add(mailsWithDisplayNames))
        .Cc(cc =&gt; cc.Add(justMails))
        .Body(&quot;Trying out the MailHelper class with some Html:&lt;p style='font-weight:bold;color:blue;font-size:32px;'&gt;html&lt;p&gt;)
        .Subject(&quot;Testing Fluent MailHelper&quot;)
        .IsBodyHtml(true)
        .Credentials(&quot;someUser&quot;, &quot;somePass&quot;)
        .Ssl(true)
        .Send();
    Console.ReadLine();
}</pre>
<p><strong>UPDATED: I managed to get the project into </strong><a href="http://github.com/"><strong>GitHub</strong></a><strong>. You can grab it </strong><a href="http://github.com/andrecarrilho/Global"><strong>here</strong></a><strong>.</strong></p>
<p>Enjoy</p>
]]></content:encoded>
			<wfw:commentRss>http://www.acarrilho.com/2009/11/29/a-new-feature-on-the-mailhelper-class/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

