Browse by Tags
All Tags »
Programming (RSS)
Reading Journal attachments using Outlook Object Model: This time, i tried to read all the email and their attachments using Outlook Object Model. I used the following code snippet to do this. 'Code Snippet : How to retrieve Outlook attachments using
Read More...
While working with one of my customer we noticed that the yearly recurring appointment doesn’t show in Outlook Web Access or Exchange Web Services(EWS) application. Customer created a monthly or yearly recurring appointment. He set the request to occur
Read More...
using System; using System.Net; using System.IO; using System.Text; using System.Xml; namespace SampleCode { class GetFolders { static void Main( string [] args) { // Variables. System.Net.HttpWebRequest Request; System.Net.WebResponse Response;
Read More...
In this post, we will create the simple Outlook tasks programmatically using Outlook Object Model API & VBA. We do this by using the code snippet: '[Code Snippet for creating Simple Tasks using Outlook Object Model API & VBA] Private Sub
Read More...
Do you want to un-install the components of the .Net Framework 3.5 SP1? Then you need to read this article ( article by Aaron ), in which he described his experience, how to uninstall the components of the .Net Framework 3.5 SP1? He gave the clear step-by-step
Read More...
One of my customer updated that whenever they try to make the remote Exchange Web Service (EWS) call from his C#.Net 2008 application (VS.Net 2008 - .Net Framework 3.x), he gets the following error: The underlying connection was closed: Could not establish
Read More...
In this we will see how to create & send e-mail messages using Exchange Web Service (EWS). It’s pretty simple with EWS to do. // Create the Exchange Service Binding ExchangeServiceBinding esb = new ExchangeServiceBinding(); // Add its relevant Credentials
Read More...
In this article, we are going to see how we can get Explorer & Inspector selected mail item using Outlook Object Model (OOM) & .Net and process it. '[Code Snippet : VB.Net, .Net Framework 2.0/3.5, Outlook Object Model (OOM)] ... 'Declaration part
Read More...
Please find the following table which described in the Outlook 2007 MAPI reference talks about properties that clients can expect to set or see supported on messages of all classes. Property Description PR_CREATION_TIME PidTagCreationTime Canonical Property
Read More...
In this session, we will have a look about how to get the mailbox statistics information using from Exchange Server 2007 SP1 using C#.Net & Exchange Powershell. I tried the following code to get the mailbox statistics… 1: .... 2: //Create Runspaceconfiguraiton
Read More...
In order to consume the managed type from COM, do the follow the steps given below: Please refer Register assemblies with COM . Generally types in an assembly (and type libraries) must be registered at design time. If an installer does not register the
Read More...
Using OutputDebugString If the application has no debugger, the system debugger displays the string if the filter mask allows it. (Note that this function calls the DbgPrint function to display the string. For details on how the filter mask controls what
Read More...
Code Snippet (C#): //Declaration part string strExchSvrName = "" ; string strMailbox = "" ; string strCalendarUri = "" ; string strDomain = "" ; string strUserName = "" ; string strPassword = "" ; System.Net.HttpWebRequest WebDavRequest = null ; System.Net.HttpWebResponse
Read More...
Please find the Code Snippet Access Exchange Server 2003 using WebDAV in your Web application per KB : 1: 'Declaration Section 2: Dim strServerName as String = "Server Name" 'TODO: Change to your environment 3: Dim strDomain as String = "Domain Name"
Read More...
1: 'myLoop method 2: Sub myLoop() 3: 4: 'Declaration 5: Dim olApp As Outlook.Application 6: Dim olNs As Outlook. NameSpace 7: Dim olFldr As Outlook.MAPIFolder 8: Dim olItms As Outlook.Items 9: Dim olMail As Object 10: 11: Set olApp = New
Read More...