<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Emailmessage on Matt Thornton</title>
    <link>http://localhost:1313/tags/emailmessage/</link>
    <description>Recent content in Emailmessage on Matt Thornton</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    <lastBuildDate>Fri, 01 Jul 2011 10:10:07 +0000</lastBuildDate><atom:link href="http://localhost:1313/tags/emailmessage/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Exchange Web Services and reading an EmailMessage to memory</title>
      <link>http://localhost:1313/tech/exchange-web-services/exchange-web-services-and-reading-an-emailmessage-to-memory/</link>
      <pubDate>Fri, 01 Jul 2011 10:10:07 +0000</pubDate>
      
      <guid>http://localhost:1313/tech/exchange-web-services/exchange-web-services-and-reading-an-emailmessage-to-memory/</guid>
      
        <description>&lt;p&gt;The Exchange Web Services Managed API is a great tool for exposing Exchange Web Services to a .NET programming environment. You are able to work with all the key features of an Exchange Mailbox, such as downloading messages. In my particular case, I&amp;rsquo;ve been capturing emails and storing them in a SharePoint document library.&lt;/p&gt;
&lt;p&gt;The upload to SharePoint can be achieved by passing in a MemoryStream object - that is, you read an EmailMessage to memory, and then upload it to SharePoint. The FileAttachment object has a neat Load() method which allows you to read a FileAttachment to a MemoryStream:&lt;/p&gt;</description>
      
    </item>
    
  </channel>
</rss>