# Query MS Exchange Inbox

**URL:** <https://www.ruby-forum.com/t/query-ms-exchange-inbox/114614>\
**Category:** Ruby\
**Created:** [September 17, 2007, 1:21pm UTC](https://www.ruby-forum.com/t/query-ms-exchange-inbox/114614 "2007-09-17T13:21:55Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![nickh](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/7ea924/32.png) [@nickh](https://www.ruby-forum.com/u/nickh)\
**Post date:** [September 17, 2007, 1:21pm UTC](https://www.ruby-forum.com/t/query-ms-exchange-inbox/114614/1 "2007-09-17T13:21:55Z")

</div>

I have been looking for some information on the net to use ruby and  
query my microsoft exchange inbox. I thought exchange was using IMAP  
but i guess i was wrong because i receive an “authentication not  
supported” error when i try and login. I tried both authentication  
types that i was able to find. So now i am on a quest to find out what  
the differences are so i can make my ruby app query my inbox. Any help  
would be appreciated.

–Nick

---

<div class="post-metadata">

**Author:** ![nickh](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/7ea924/32.png) [@nickh](https://www.ruby-forum.com/u/nickh)\
**Post date:** [September 17, 2007, 1:25pm UTC](https://www.ruby-forum.com/t/query-ms-exchange-inbox/114614/2 "2007-09-17T13:25:12Z")

</div>

From: Nick H. [[mailto:removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)]

# I have been looking for some information on the net to use ruby and

# query my microsoft exchange inbox. I thought exchange was using IMAP

# but i guess i was wrong because i receive an "authentication not

# supported" error when i try and login. I tried both authentication

# types that i was able to find. So now i am on a quest to find out what

# the differences are so i can make my ruby app query my inbox. Any help

# would be appreciated.

if you’re on windows, maybe this may help

> **[Automating Outlook with Ruby: Inbox & Messages](http://rubyonwindows.blogspot.com/2007/08/automating-outlook-with-ruby-inbox.html)**
>
> In response to my series on Automating Outlook with Ruby , several readers have asked about accessing the Inbox and managing messages. We st...

kind regards -botp

---

<div class="post-metadata">

**Author:** ![nickh](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/7ea924/32.png) [@nickh](https://www.ruby-forum.com/u/nickh)\
**Post date:** [September 17, 2007, 1:25pm UTC](https://www.ruby-forum.com/t/query-ms-exchange-inbox/114614/3 "2007-09-17T13:25:29Z")

</div>

Exchange supports IMAP4 but it’s optional and turned off in default.  
For the protocol, basic login (+SSL/TLS) and NTLM are supported but  
CRAM-MD is not.

Kohei

---

<div class="post-metadata">

**Author:** ![nickh](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/7ea924/32.png) [@nickh](https://www.ruby-forum.com/u/nickh)\
**Post date:** [September 25, 2007, 11:04pm UTC](https://www.ruby-forum.com/t/query-ms-exchange-inbox/114614/4 "2007-09-25T23:04:13Z")

</div>

You’ll have to read up on MAPI, it’s Microsoft’s way of doing their own  
thing. The only third party application I know of that will talk MAPI  
is  
evolution.

On 9/13/07, Nick H. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> 

–  
“Hey brother Christian with your high and mighty errand, Your actions  
speak  
so loud, I can’t hear a word you’re saying.”

-Greg Graffin (Bad Religion)
