Hobby Chef
Browse by Tags - Jive into Messaging world - Site Home - MSDN Blogs
Sign in
MSDN Blogs
Microsoft Blog Images
More ...
Browse by Tags
Search
Archives
Archives
June 2011
(3)
January 2011
(1)
September 2010
(1)
July 2010
(4)
June 2010
(2)
May 2010
(2)
April 2010
(2)
January 2010
(2)
November 2009
(1)
October 2009
(3)
September 2009
(1)
June 2009
(2)
May 2009
(2)
April 2009
(4)
March 2009
(4)
February 2009
(4)
January 2009
(3)
November 2008
(2)
October 2008
(6)
September 2008
(2)
August 2008
(3)
July 2008
(2)
April 2008
(2)
February 2008
(1)
December 2007
(1)
November 2007
(6)
October 2007
(5)
September 2007
(1)
August 2007
(2)
July 2007
(3)
June 2007
(10)
April 2007
(1)
Tags
Announcements
BUG
CDO
CDOEXM
CDOSYS
CoolStuff
DevMsgTeam
ERROR
Exchange
Exchange 2007
Exchange Web Services
ExchangeServiceBinding
GetItem
HOWTO
MAPI
Messaging
OOM
Outlook
Powershell
Samples
Search Folder
System.Net.Mail
VBScript
WEBDAV
Workarounds
Common Tasks
Blog Home
Email Blog Author
About
RSS for posts
RSS for comments
Tagged Content List
Blog Post:
Where are you Outlook???
Vikas - MSFT
So I got this friend of mine who works for MS IT and was curious to find Outlook’s install location programmatically irrespective of 32/64 bit installation of OS or Outlook. First thought was registry, but that gets little messy.. you go to HKCR & then parse through it to find the location of Outlook...
on
10 Jun 2011
Blog Post:
We are Open, says PST to Outlook :-)
Vikas - MSFT
This is pretty exciting development which came yesterday as Microsoft announced the availability of two new open source projects to facilitate interoperability with Outlook PST files. Now start your engines and start thinking of solutions that you can build upon it, and some of you who were reverse engineering...
on
26 May 2010
Blog Post:
Exchange Web Services 101 : Let’s get started!
Vikas - MSFT
Want to learn Exchange Web Service but not sure how and from where? Here are the few articles that I share very often with partners and customers who want to learn more about Exchange Web Services. Undoubtedly there is so much information out there and that’s too in such a short span of time. You better...
on
19 Jun 2009
Blog Post:
HOWTO: Automatically Login to OWA 2007 using HTML + JavaScript
Vikas - MSFT
First thing first, you should understand that this is NOT SUPPORTED & NOT RECOMMENDED solution by Microsoft. This is just a proof of concept that OWA 2007 can be auto login, if you know the username & password of target account. The approach is simple and took me little reverse engineering or...
on
2 Jun 2009
Blog Post:
HOWTO: EWS: Get OOF State for Self or any user in your organization
Vikas - MSFT
First thing first, this is just for demonstration purpose and might *not* be a supported solution by Microsoft. The setting we are reading from are hidden messages and not documented anywhere. I had to reverse engineer it for demonstration purpose. Objective : To get OOF State of any user in your organization...
on
29 May 2009
Blog Post:
HOWTO: WebDAV: Send mail with Custom Form and set properties
Vikas - MSFT
This is going to be a very simple sample of how you can send an email with custom properties set and also change the message class so that it render on outlook as Custom Form. Prerequisites: A custom form must be published with same class name to render the email properly. How it works… Step 1) It drop...
on
22 May 2009
Blog Post:
Searchfolder created from EWS is not displaying items falling under criteria within Outlook
Vikas - MSFT
I have been working on different SearchFolders cases lately where customers were trying to create SearchFolder using EWS. Working on those issues has uncovered a limitation of Outlook (I tested it on 2007, but may exist with earlier versions as well) I created the search folder using the following XML...
on
9 Apr 2009
Blog Post:
HOW TO: Create SearchFolder to search for Custom Properties using EWS
Vikas - MSFT
Here is a quick sample if you are looking at creating a search folder using EWS which will look for Custom Property. Here we are looking for a custom property named “EmployeeID” and make sure that the property exist and does not have a blank value. public static BaseFolderType CreateCustomPropSearchFolder...
on
9 Apr 2009
Blog Post:
HOWTO: Query information related to ProgID & CLSID, verify where the image is loaded from Disk.
Vikas - MSFT
Ever copied a DLL from one system to another and registered it using RegSvr32.exe? or in other words ever created a DLL hell situation? Its easy and dirty at the same time to copy-paste DLL between systems and register them using regsvr32.exe Often you copy-paste, register DLL from temporary folders...
on
9 Apr 2009
Blog Post:
HOWTO: Give Service Account Access to all mailboxes on an Exchange 2007 Server
Vikas - MSFT
This is my first attempt to write a Powershell sample to my readers. In this sample we will give Send-As, Receive-As, ms-Exch-Store-Admin rights to an active directory user. We will be piping two commands here… Get-MailboxServer and the result will go to Add-AdPermission. You may give same permissions...
on
30 Mar 2009
Blog Post:
HOWTO: CDOEXM: Add Associated External Account permission to existing mailbox
Vikas - MSFT
If you ever tried to modify the msExchMailboxSecurityDescriptor attribute directory then you must be aware that this attribute exists on the user object in the Active Directory and stores a partial copy of the user's mailbox security descriptor. This attribute is not back linked to the user's mailbox...
on
10 Mar 2009
Blog Post:
HOWTO: WebDav: Exchange 2003: Poll for unread emails & notify admin if a predefined level is reached
Vikas - MSFT
I think you may find it useful as well. I wrote this script to monitor a particular mailbox for unread emails count in a particular folder and notify people about it. It could be useful to monitor a service mailbox and make sure it does not have any email unprocessed after a certain period of time. You...
on
3 Mar 2009
Blog Post:
HOWTO: EWS: Send UTF-16 request to Exchange Web Service from VBScript
Vikas - MSFT
I had explained earlier how you can consume Exchange Web Services like WebDAV from VBScript in the below sample http://blogs.msdn.com/vikas/archive/2007/11/22/howto-ews-call-exchange-web-service-from-vbscript.aspx Today I had a requirement to send Unicode request to the server but VBScript does not support...
on
24 Feb 2009
Blog Post:
HOWTO: Get Exchange 2000/2003 mailbox statistics remotely using WMI
Vikas - MSFT
Of course you cannot use WMI to manage Exchange 2007, obviously Powershell is more power full and recommended to be used on Exchange 2007 Server. We will talk about Powershell and how to do same for 2007 later. For now you can use following script to get the statistics data from Exchange WMI Provider...
on
19 Nov 2008
Blog Post:
HOWTO: Programmatically enumerate permissions on Exchange 2003 Mailbox Store
Vikas - MSFT
This was a tough one and was lots of learning for me as well. Me and my colleague was working on a customer issue where his intentions were to list all the permissions on Exchange 2003 Mailbox Store. Of course one can go to Exchange System Manager (ESM), but considering an environment with 20+ Exchange...
on
31 Oct 2008
Blog Post:
Are you using Exchange Web Services ?
Vikas - MSFT
If yes then I would like to hear from you. Your experiences, challenges, things you feel are barriers and things that could make it even better. Do you need samples? What sort of operations you want to perform using Exchange Web Services? You may ask me why I want to know all this.. well... I am developer...
on
11 Aug 2008
Blog Post:
HOWTO: WebDAV: EWS: Programmatically recover soft deleted items from dumpster
Vikas - MSFT
As you may already know, EWS has support for Soft-Deleting items but the irony is it cannot access the soft-deleted items. This is a design challenge and product group is aware of this limitation. Hopefully we should see this support natively in EWS sooner or later. If you really need a solution or as...
on
28 Apr 2008
Blog Post:
HOWTO: EWS: Update IsRead Flag for items using Exchange Web Services
Vikas - MSFT
First thing first, you cannot use Exchange Web Services (as of now) to update the IsRead flag for items other than MessageType. MessageType has IsRead property in place to update the MAPI property PR_MESSAGE_FLAGS. Product group is aware of this limitation and very soon we should see an fix for this...
on
30 Nov 2007
Blog Post:
HOWTO: EWS: Consume Exchange Web Service from VBScript
Vikas - MSFT
Yes you can consume Exchange Web Service using VBScript or any language / platform which support HTML. In this sample, I have used XMLHTTP to send/receive soap request/response. Then I have used MSXML Document to parse the XML returned by the server to get the response code. I have converted my...
on
21 Nov 2007
Blog Post:
HOWTO: EWS: Disable Out-of-office / OOF message
Vikas - MSFT
WebDav is definitely de-emphasized and not recommended to develop applications for Exchange 2007. But WebDav was still the easiest method to disable OOF message. I was not surprised to see it NOT working against Exchange 2007 to disable the OOF message. I have a better solution for you… use my favorite...
on
19 Nov 2007
Blog Post:
HOWTO: EWS: Find all folders inside a parent folder, helpful in generating a folder tree
Vikas - MSFT
Looks cool isn’t it? I have created this folder tree for my mailbox using Exchange Web Services. You can do the very same. Here is the code which I am using to get all the folders inside a folder and recursively go deep-n-deep until your reach the core. Here is the sample code… ///...
on
14 Nov 2007
Blog Post:
HOWTO: OOM: Getting Primary SMTP Address from X500
Vikas - MSFT
Getting primary address from X500 address was always a pain when using OOM. Thank to these guys who realized this pain and built in this functionality in Outlook 2007 Object Model. I have figured out a way to get this value from within OOM for Outlook 2003 & below as well. How it works =========...
on
24 Oct 2007
Blog Post:
HOWTO: EWS: Add attachments to existing items on server
Vikas - MSFT
Forgot to add that attachment? Using exchange web service you can add it back to the item on the server. The code is simple and very easy to understand. It takes two parameters itemID – where attachment will be added, & strFileName – complete path to the local file. private bool AddAttachment...
on
16 Oct 2007
Blog Post:
HOWTO: EWS: Get LastModifiedTime for Items
Vikas - MSFT
So wondering where is LastModifiedTime? Exchange Web Services does not seem to give you the hint when the item was last modified. This property is not available in ItemType and expected to be available only after Exchange 2007 SP1. You can get the LastModifiedTime with the help of ExtendedProperty...
on
16 Oct 2007
Blog Post:
HOWTO: EWS: Use GetAttachment to download attachments off Mail/Appointment
Vikas - MSFT
I have fallen for exchange web services. There are endless possibilities with exchange web services, and product group is still working to make it even better. Today I have created a neat sample to download attachments off Exchange Server Sample: DownloadAttachments Input Params: itemID , folder...
on
15 Oct 2007
Page 1 of 2 (29 items)
1
2