Skip to content
Dan Wanek edited this page Oct 29, 2010 · 7 revisions

Welcome to the Viewpoint Wiki.

Viewpoint is a client library for Microsoft Exchange Web Services. Stay tuned to this wiki for example usage and other documentation.

How are you using Viewpoint?

If you are using Viewpoint for a project drop me a line on Github and let me know what you’re using it for and how it’s working for you. I’d love to list your name or company here.

Example Usage

Get a Folder object that represents your Inbox.

Viewpoint::EWS::EWS.endpoint = 'http://myemail.com/ews/exchange.asmx'
Viewpoint::EWS::EWS.set_auth 'username','password'
inbox = Viewpoint::EWS::EWS.get_folder_by_name('Inbox')

Get attachments from an Item object. The Item#attachments method will return an array of a subclass of Attachment.

items = inbox.find_items
attmts = items[3].attachments
Clone this wiki locally