|
|
Browse by Tags
All Tags » DevMsgTeam » Code Snippets » Exchange Server 2007 (RSS)
Showing page 1 of 3 (30 total posts)
-
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; System.Net.CredentialCache MyCredentialCache; string strRootURI = "http://server/exchange/username/Inbox/" ; // Provide the valid URI string strUserName = "UserName" ; string strPassword = "Password" ; string strDomain
Posted to Le Café Central de DeVa (Weblog) by deva on July 22, 2009
Filed under: Exchange Server 2007, Exchange Server 2003, Code Snippets, WebDAV, How to, DevMSGTeam, Programming, development, search, webresponse, CredentialCache, webrequest, credentials, Exchange Programming, inbox
-
Have you tried programmatically combining the two powerful enterprise tools: SQL Server 2005 (table-valued user-defined functions) with Exchange Server 2007(Exchange Web Services)? I followed the Microsoft article written by Jim Kleewein and Ray Dixon, which talks about how we can combine the SQL Server tables and Exchange Web Services to provide data from both Microsoft Exchange and SQL Server to client applications so that the data appears as if it were stored in SQL Server. SQL Server tables:
Posted to Le Café Central de DeVa (Weblog) by deva on December 21, 2008
Filed under: Exchange Web Services (EWS), Exchange Server 2007, Do you know, Code Snippets, mailbox, DevMSGTeam, downloads, development, Visual Studio 2005 Templates, Client Access Server (CAS), Authentication, tables, SQL Server
-
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 object 3: RunspaceConfiguration config = RunspaceConfiguration.Create(); 4: PSSnapInException snapEx = null ; 5: 6: //Add it to the Powershell SnapIn 7: PSSnapInInfo info = config.AddPSSnapIn( "Microsoft.Exchange.Management.PowerShell.Admin"
Posted to Le Café Central de DeVa (Weblog) by deva on December 21, 2008
Filed under: Exchange Web Services (EWS), Exchange Server 2007, Code Snippets, Powershell, Exchange Management Shell (EMS), Configure, mailbox, DevMSGTeam, Programming, development, C#
-
Timers & Events: Whenever we talk about the event sink and we plan to implement the event sink that should trigger within a specified time or interval, then we will go for onTimer Event sink. Basically Timers have scope, in the same way as other events. With timers, however, no event occurs in that location to cause the specified event to occur (such as a save event or a delete event). Note Scope does define a specific location for the registration event item, which can affect the security context
Posted to Le Café Central de DeVa (Weblog) by deva on November 7, 2008
Filed under: Monitoring Event Sink, Exchange Server 2007, Exchange Server 2003, Code Snippets, Tutorials, EXOLEDB, Store Sink, System Sink, regevent.vbs, Events, DevMSGTeam, development, Exchange Object, onTimer
-
Whenever we work with Outlook 2007 UI, we click either "Send/Receive button" or press "F9" to send and receive emails. In couple of our cases we use to do programmatically you can make use of Outlook Object Model's (OOM) SendAndReceive method. You need to know that calling the SendAndReceive method is synchronous only. Syntax: expression .SendAndReceive( showProgressDialog ) Here, showProgressDialog - Indicates whether the Outlook Send/Receive Progress dialog box should be displayed, regardless of
Posted to Le Café Central de DeVa (Weblog) by deva on October 10, 2008
Filed under: Exchange Server 2007, Exchange Server 2003, Code Snippets, Tutorials, Outlook 2007, Office Mac 2004, design, synchronization, Outlook Programming, Outlook Object Model (OOM), Customization, Outlook UI, DevMSGTeam, .Net, development, COM, Send/Receive, SyncObject, Interop
-
In this article, we will see how we can access a particular mailbox using Microsoft Exchange web services ? The DistinguishedFolderId element identifies Microsoft Exchange Server 2007 folders that can be referenced by name. The DistinguishedFolderId class has an optional Mailbox property on it that allows you to indicate which mailbox you are accessing. 1: <DistinguishedFolderId Id= "" ChangeKey= "" > 2: <Mailbox/> 3: </DistinguishedFolderId> .csharpcode, .csharpcode
Posted to Le Café Central de DeVa (Weblog) by deva on October 8, 2008
Filed under: Mailbox Store, Exchange Web Services (EWS), Exchange Server 2007, Code Snippets, roles, mailbox, How to, DevMSGTeam, Programming, development, Property, Client Access Server (CAS), DistinguishedFolderId, Schema, FolderId, Folder
-
One of my customer wanted to get the date and time when the message was received by Microsoft Exchange? In Exchange Server, we have the OriginationTime property. It indicates the date and time, in coordinated universal time (UTC), when the message was received by Microsoft Exchange. The OriginationTime property is read-only. For example, this could be the time the message was received from the Internet via SMTP, or the time a user clicked the Send button in an e-mail client application. The OriginationTime
Posted to Le Café Central de DeVa (Weblog) by deva on October 4, 2008
Filed under: Exchange Server 2007, Exchange Server 2003, Code Snippets, VBScript, messages, DevMSGTeam, development, receive, OriginationTime, Property, UTC, SMTP
-
This article, discusses "How to programatically enumerate the message attachments using WebDAV?" The following article uses the X-MS-ENUMATTS Method to enumerate the attachments of an e-mail message. This article contains Visual Basic Scripting Edition (VBScript), Microsoft C#, and Visual Basic .NET code examples.
-
I found this wonderful article talks about " How to write an OnArrival-type SMTP event sink in managed code by using Visual Studio .NET 2003 ". It's an interactive article, with step-by-step ways of illustration to create event sink in Managed environment(.Net). Note: This sample event sink can be used to handle incoming SMTP commands and messages and to process them as needed. This article contains an overview of how to write event sinks for SMTP events in managed code by using wrappers that obscure
Posted to Le Café Central de DeVa (Weblog) by deva on April 30, 2008
Filed under: Monitoring Event Sink, Exchange Server 2007, Exchange Server 2003, Code Snippets, SMTP Sink, DevMSGTeam
-
Please find this wonderful article, which talks about " How to get item property values using WebDAV ". This article has good example's in VB.Net, C#.Net, C++.Net and VBScript. It talks about, how you can construct the XML body of a WebDAV PROPFIND Method manually. The request is for the displayname Field for a folder. After the request has been constructed, the code passes the XML string to an XMLHTTP Component Object Model (COM) object and sends the PROPFIND Method request to the server.
Posted to Le Café Central de DeVa (Weblog) by deva on April 30, 2008
Filed under: Store, Exchange Server 2007, Exchange Server 2003, Code Snippets, WebDAV, How to, itemproperty, XMLHTTP, DevMSGTeam
1
|
|
|