HowTo: Set a reference to CDOSYS

You could set a reference directly to the CDOSYS file. However, there this is a more elegant way overall and that is to do it in Visual Studio: Click on Solution Explorer. Right click the “References” node in the tree and select “Add Reference…”. Click on the COM tab. Navigate to the “Microsoft CDO for…

0

EWS and Federated Authentication

Many are joining enjoying the benefits of federated authentication with OWA. However, with EWS they find that they cannot use federated authentication. EWS can use Basic, NTLM and oAuth for authentication.  EWS does not support things like SAML tokens, etc.  There is also no developer support for changing authentication token credentials programmatically – such as…

0

Testing sample which uses HttpWebRequest to do a POST to EWS

There are sometimes issues encountered which are difficult to resolve. There are many things which can cause issues which would call an EWS call to fail. Having well written with extensive error trapping and extensive logging is one approach. I wrote the sample below so that it could be used from any type .NET application…

0

About: Exchange APIs to backup and restore data

Summary: There limited supported ways to backup and restore data with Exchange programmatically.  Backup Supported APIs can backup the data and restore properly.  Some developers try using APIs which were not meant for backup up and restoring data in order to gain certain functionality – such approaches usually lead to dead ends such as not being…

0

About: CDO for Windows 2000 (CDOSYS)

API Type: SMTP Sender. API Interface: COM Library. Business Logic: Sending mail via SMTP Language Support: Works with both managed (.NET) and unmanaged code and scripting languages such as VBScript. Direct Property Access: N/A. Product Versions: Windows 2000 and later. Summary: CDOSYS has been a system component used to send email since Windows 2000.  It was meant to replace CDONTS. …

1

Introducing OOMExplore

There are not many large samples which use OOM code.  A couple of years ago I had written a basic Outlook Object Model (OOM) based mailbox explorer in C#.  I’ve done some touch-ups and a few additions recently and have published the code for reference.  I’ll try to expand it in the future.   OOMExplorehttp://oomexplore.codeplex.com/  …

0

CDOSYS Mailer

CDOSYS is a Windows component which is used to send email by SMTP – similar to its .NET successor System.Net.Mail.  Both of these APIs have their own strengths. Some developers don’t want to use CDOSYS since they want to stick with an all .NET solution.  However, CDOSYS is pretty seasoned is very capable and is…

0

HowTo: Create a mailbox for an existing user, Create a user in AD, List AD User info.

//====================================================================================================== // CdoexmMailboxUtil – //    Exchange Mailbox and user account creation sample. // // This sample demonstrates the following: //          Creating a user account in AD //          Mail Enable an existing user. //          List information on an existing user. // Note: This code is provided as a sample only, so you need to test and…

2

Links on Common PowerShell Automation Questions

I’ve put together a list of articles which cover common questions on Exchange PowerShell Automation.  These links cover issues from starting out to common problems.  I hope they help.  Please let me know if there are others you see as important.   Starting articles on automation:   Using Exchange Management Shell Commands with Managed Code…

1