Configure your Office 365 for SMTP Applications

Great article if you want to configure your local windows server to send out emails via SMTP via your Office 365 account. Though some of the initial steps have changed and not updated on the site.

Updated Steps 2-5:

  • 2. Click on Outlook in the top Right Corner (From the Portal Site)
  • 3. Click on the Gear, then Options
  • 4. Click on the link that says “Settings for POP or IMAP access…”
  • 5. This will open a popup window. Scroll to the bottom to see your SMTP Server Information.

Then follow the rest of the steps.

Outlook 2010 – Switch between “Showing Unread and/or Flagged Items” and “Showing All Items”

I like to limit my emails to messages I’ve not read and the ones I have flagged.  Sometimes though I want to see all the email.  There’s a quick and easy way to alternate between views.

Below I’ll show you screen shots of how you can do it.

But basically, you’ll create two views. One filters and one does not. Then you’ll just switch between them.

  1. Click on “View” Ribbon Tab
  2. Click on “Change Views”
  3. Click on “Manage Views”



Assuming your current Inbox view is what you want when you “Show All”.

  1. Highlight “Current View Settings”
  2. Click Copy
  3. Change the name to “All”
  4. Click Ok



Repeat again but this time name it “Unread or Flagged”



You should now have two new views in the list. 

  • All
  • Unread or Flagged



  1. Click on UnRead Or Flagged.
  2. Click on Modify
  3. Click Filter
  4. Click on the SQL Tab
  5. Click on the Checkbox “Edit these critera directly…”
  6. Type this into the filter box:

    ("urn:schemas:httpmail:read" = 0) OR ("" > 1)

  7. Click Ok, Click Ok, Click Ok




That’s all for the setup.

Now to switch between views, just click on “Views” and “Current View" and change between them.  If you are on Unread and switch to all, Outlook will keep the email you were looking at highlighted.



Works on My Machine


A common phrase we developers say when an application we develop breaks for someone else.

Found this image on DevExpress’s Code.Google.Com for plugin’s and found it amusing. Think I’ll add it to my QA releases. 

Stamped and Approved:


Tip Of the Day - Remove Duplicate Items from a List(Of T) (or a List of whatever the hell you want)

If you need to remove duplicates from a from a collection that implements IEnumerable without iterating through or overriding the .equals method you can do the following:

Dim Cars As New List(Of String)(New String() {"Blue", "Red", "Yellow", "Red", "Black", "Blue"})
Cars = Cars.Distinct().ToList()

Your list can be of anything you want. Strings, objects etc.. you can just for duplicates with the Distinct().ToList() method.

Tip of the Day

In instead of