# Win32ole with Outlook2010 read email

**URL:** <https://www.ruby-forum.com/t/win32ole-with-outlook2010-read-email/196039>\
**Category:** Ruby\
**Created:** [October 5, 2010, 10:55pm UTC](https://www.ruby-forum.com/t/win32ole-with-outlook2010-read-email/196039 "2010-10-05T22:55:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![adistarmid](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/f14d63/32.png) [@adistarmid](https://www.ruby-forum.com/u/adistarmid)\
**Post date:** [October 5, 2010, 10:55pm UTC](https://www.ruby-forum.com/t/win32ole-with-outlook2010-read-email/196039/1 "2010-10-05T22:55:51Z")

</div>

I am using the first script from this blog to read email from my inbox  
but I get no email in the output.  
The output is:

“OlMailItem = 0”  
removed\_email\_address@domain.invalid  
Deleted Items  
Inbox  
Unable to open  
+Public Folders - removed\_email\_address@domain.invalid  
Favorites  
All Public Folders  
You have 0 new message(s)

> **[Ruby on Windows](http://rubyonwindows.blogspot.com/search/label/outlook)**
>
> On using the Ruby programming language on the Microsoft Windows platform

Any help would be appreciated.
