Scripting: Send email using Powershell and System.Net.Mail API

You can send email using System.Net.Mail API & PowerShell scripting. It’s easy, faster!! Lets try… Why Powershell? PowerShell is the automation platform and scripting language for Windows and Windows Server that allows you to simplify the management of your systems. Unlike other text-based shells, PowerShell harnesses the power of the .NET Framework, providing rich objects…

4

MAPI Developer: How to get file properties for .MSG file using MrMAPI tool?

Based on my earlier article, recently I got the below request from MAPIDevil (MAPI developer). Adding the detailed request:  In general, you can do this same stuff with either MFCMAPI utility or ended up by creating customer MAPI application. For this specific scenario again I tried my hands with MrMAPI command-line utility – it’s very…


Feature comparison: EWS vs. EWS Managed API

Are you a .Net Developer who develop custom application using Exchange Web Services (EWS) Managed API or EWS (Auto-generated proxies)? Then this is for you. The EWS Managed API provides an intuitive interface for developing client applications that use EWS. The API enables unified access to Exchange resources, while using Outlook–compatible business logic. In short,…

1

Office Developer : Outlook & VBA Programming # 2

In addition to previous article, I would suggest you to have a look at the related articles for reference/samples etc: Microsoft Office Outlook 2003 Inside Out 101 VBA samples for Office 2010 VBA for Office developers Office 2003 Editions: Outlook VBA Language Reference Automating Outlook from a Visual Basic Application Automating Outlook from Other Office…


Exchange PowerShell: How to get list of mailboxes, folders, subfolders, items in folder, foldersize programmatically?

One of my customer automated Exchange PowerShell with his .Net application. They had a requirement to enhance the functionality – to get the list of exchange mailboxes, folders and its sub folders, items in folder, foldersize. Finally it needs to be saved in .csv format.  To implement this, we used Get-Mailbox and Get-MailboxFolderStatistics Exchange cmdlets….

3

Exchange Server 2007, 2010: How to query user mailboxes, its permissions using Exchange PowerShell?

In Exchange Server 2007/2010, you can use Exchange PowerShell cmdlets (especially using Get-Mailbox, Get-MailboxPermission, Get-ADPermission, Get-MailboxFolderPermission) to get a verity of info. I played with couple of the below in different scenarios and want to share the same with you – so that you can give a shot and make use of. Scenario # 1:…

2

Developer Webcasts on Exchange Server 2010 programming

Please find the developer webcasts for Exchange Server 2010. If you’re planning to create your own custom application using Exchange Server 2010, i would recommend you to start from this. Exchange Server 2010 Development (Part 1 of 6): Migrating Applications to Exchange Web Services In this Webcast, Jason Henderson gives an overview of what to…


How Microsoft Product Activation works?

To reduce software piracy and to make sure that all Microsoft customers receive the product quality that they expect, Microsoft is now including product activation technology in several products. Product activation is a simple, straightforward process that is completely software based. It requires no hardware add-ons or any other external tool. In most cases, the…


VS 2010: Increase IntelliSense performance using Windows Automation API

The Windows Automation API library enables accessibility tools, test automations, and pen services to access a standard user interface across operating system versions. Do you know applications that use Windows Automation APIs can significantly decrease Microsoft Visual Studio IntelliSense performance if Windows Automation API 3.0 is not installed? For example, the Windows pen and touch…


Can we change the Mouse pointer to an Hourglass in Outlook?

Many of us want to know whether any options exists to change the Mouse pointer to an Hourglass or custom of their own in Outlook? Per support knowledge base article, “…You cannot control the appearance of the mouse pointer using the Outlook object model. If you are writing code within Outlook that takes some time…


Office Development : Open XML SDK 2.0 for Microsoft Office available for download

After almost two years and involved the release of four Technical Previews, Zeyad announced the worldwide availability of the Open XML SDK 2.0 for Microsoft Office. The Open XML SDK plays an integral part in creating Office document solutions that work on the client or server. The Open XML SDK allows you to create, consume,…


Coding practices : Outlook automation using VB.Net

You can try when you do programming with VB.Net and Outlook automation: When you start automation code by declaring object variables with a specific object type that represents the top-level object and then declaring any child objects you want to reference. Dim olApp As Outlook.Application You then create an instance of the top-level object by…


Best Practices : How to quit Outlook application after automation from Visual Studio .NET client?

When you automate a Microsoft Outlook application from Microsoft Visual Basic .NET or Microsoft Visual C# .NET, the Outlook application does not quit when you call the Quit method. You can notice the application is closed, but still if we notice either the application or Outlook is running in behind the scenes. To make sure…


Transport Agent Factories

Transport agent implementation: In general the transport agent is implemented as a class that derives from either the SmtpReceiveAgent Class or the RoutingAgent Class. Every agent also needs a corresponding agent factory that derives from the SmtpReceiveAgentFactory Class or the RoutingAgentFactory Class, respectively. Then, what is the Transport Agent factories all about… The agent factory…

1

Outlook Programming Series # 12 : How to automate different versions of Outlook using VC++ ?

You can automate Outlook 2000, 2002, and 2003 with one small change. The Outlook 97 Namespace class member has changed to _Namespace in Outlook 2000, 2002, and 2003. To use the code above for automating Outlook 2000, 2002, and 2003 change this line: Namespace olNS(olApp.GetNames(“MAPI”)); to: _Namespace olNS(olApp.GetNames(“MAPI”));