Custom CDO app throws error CDO_E_FAILED_TO_CONNECT

Recently I was working with a customer (at his Windows XP) where his CDO app (CDOSEND.vbs – given below) is failing to send email and throws the error “CDO_E_FAILED_TO_CONNECT” (you can refer the below given Output also). We tried setting CONFIG parameters like user name, SLL, password – but it doesn’t help. Code Snippet: Option…


Developers Must: Download MSDN Samples library browser

Developers love code samples, but they have been sitting in front of desktop for too long. A Sample Browser app can give them some time to sit relaxingly in a sofa and continue to learn the beloved code samples. The Sample Browser gives developers a new experience to search, download, learn, and share thousands of…

1

Office Developer: How to programmatically restrict or filter “To” property using Outlook Object Model?

In this post, we will see how to programmatically filter/restrict items “To” property. Let we take this scenario. In Outlook, we notice it contains 6 items “To” property containing “Deva G”:   Note:In specifying a filter in a Jet or DASL query, if you use a pair of single quotes to delimit a string that is…

1

Exchange Server 2013: How to write an Exchange 2013 transport agent?

Here is a developer article published “how to build/write an Exchange Server 2013 based transport agent?” in a detailed fashion about a sample transport Agent to illustrate various Exchange 2013 transport agent functionality as well as stripping all the hyperlinks from the message body. The article also talks starting from what’s a transport agent, changes…

1

Download: 101 samples for Exchange Server 2013

Now you can download the 101 Exchange Web Service samples to download them all, or select the samples that you want and download them individually. This pack includes 101 code samples that show you how to develop Exchange 2013 solutions. The code samples in the Exchange 2013: 101 code samples package show you how to…

1

Outlook 2010 Developer Series: Developing a Real Outlook Social Connector Provider

The Outlook Social Connector is a set of new features to help keep track of your friends and colleagues while enabling you to grow your professional network. The Outlook Social Connector is available now as part of the Microsoft Office 2010. The Outlook Social Connector (OSC) brings social views of your colleagues and friends right…


Outlook Object Model: How to include usemap attribute programmatically?

In this post, I will show you how to make use of usemap attribute of img HTML element in HTML emails programmatically. For this, I used Outlook 2010 VBA & Outlook Object Model. You can design the application with C# or VB.Net with Outlook Object Model library as per your wish. We will do this…


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

Outlook Programming: How to retrieve unread messages from any Outlook folder?

Recently one of my customer updated that he got a requirement to programmatically retrieve unread messages from any Outlook folder to be implemented part of his application. We tried the following steps -  Will show you how you can programmatically retrieve unread messages from any Outlook folder using Outlook Object Model (OOM) API. Let we…

1

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…


Outlook Object Model : How to programmatically get logged-in user’s CompanyName in Outlook 2003/2007?

Recently one of my customer updated that they have a requirement to implement the following logic: 1) Get Contact info from GAL or Address book for the specified contact2) Get Contact information regarding his CompanyName etc. In the scenario, i provided the following suggestions: If you try Outlook 2003 & its prior versions: Using the…


Playing with Journal Items & Outlook Object Model # 2

After created couple of journal items in my test lab, i thought this time i want to play around with the Journal items. Also i want to try the following programmatically: 1) iterate all the available journal items 2) Restrict the values with a (if the Lastmodificationtime > ‘23/9/2009’) specific time frame For this i…


Playing with Journal Items & Outlook Object Model # 1

I want to share my research (that i tried to play around with Journal items) with respect to Outlook Object Model API to you. How to create the new Journal Item programmatically using Outlook Object Model? Now, we can try how we can create a new Journal Item.Code snippet: Creating a new Journal Item with…