Questions tagged [outlook-object-model]

The Outlook Object Model is the hierarchy of objects, methods and properties exposed by Outlook and available through VBA.

The Outlook Object Model is the hierarchy of objects, methods and properties exposed by Outlook and available through VBA.

Typically, Outlook.Application and Outlook.NameSpace are used to access folders and items within the Outlook Object Model.

The tag pertains to questions having to do with this hierarchy as well as its relationship with other Office object models. Typically this tag is used in tandem with other tags such as , , and .

Links:

66 questions
0
votes
2 answers

How to find count of appointment items copied in Outlook 2007

In Outlook 2007 When a user has two calendars say Test and actual calendar and he goes to View All appointment in test calendar, copy say around 20 to 30 appointments and paste them in actual calendar's "All Appointment items view, how to get a…
bluetrack
0
votes
1 answer

How to create new Exchange public folders?

We tried last night to build some code which would create a new public folder in Microsoft Exchange from within a .NET Winforms application. Googling for code took us to a bunch of code samples involving http requests and WebDAV. We experienced all…
hawbsl
  • 15,313
  • 25
  • 73
  • 114
0
votes
1 answer

Outlook Object Model ContactItem won't delete

I'm bedeviled by this. I have a c# application that I need to have a backup before I modify my main contact. But it seems that the copy, sticks around no matter what. I'm verifying this by visual check at the contents of my contents folder in…
0
votes
1 answer

C++ Outlook Object Model get shared calendar folder

I want to user GetCalendarExporter() on contact folder of shared calendar. I have written code which I feel will give only default calendar folder(i.e. Owner's calendar folder). I want Shared(Delegated) Calendar folder object/pointer. Any idea how…
0
votes
1 answer

Outlook VSTO error when saving appointment item

We have a VSTO add-in for Outlook, that supports booking of resources managed by our cloud system. In addition we support resources that are also available in Exchange as rooms to support integration with other systems. When we perform a booking of…
Søren Boisen
  • 1,669
  • 22
  • 41
0
votes
1 answer

How to use Python COM to filter for emails from certain senders?

I'm trying to automate getting attachments from certain emails and the documentation for win32com.client is horrendous. So far I've got the following: import win32com.client as win32 import os outlook =…
nut_flush
  • 11
  • 1
  • 2
0
votes
1 answer

C# -> COM -> change appointment -> exception when filling Start and End -> The object does not support this method

i want to change an existing appointment. For this i search the existing appointment via: Outlook.Items foundItems = outlookItems.Restrict(filter); if (foundItems != null) { foreach (var item…
Thorben
  • 11
  • 1
0
votes
1 answer

How give trust to an external application accessing the Outlook Object Model (with all security options on)

I have a .NET application that interacts with Outlook like this: Microsoft.Office.Interop.Outlook.Application app = new Microsoft.Office.Interop.Outlook.Application(); …
Robert Muehsig
  • 5,206
  • 2
  • 29
  • 33
0
votes
2 answers

How to detect when a specific mail item has been sent out using c#

I have a problem and need some help. My application uses outlook to send email with attachments. Right now i need to find out when the email with attachment has been send out completely by outlook. I tried to follow this link but the…
abduls85
  • 548
  • 8
  • 15
0
votes
1 answer

Mail Automation Task using Powershell

I had been trying to automate the process of sending mails along with attachments via my outlook account using Powershell. $OL = New-Object -ComObject outlook.application Start-Sleep…
0
votes
3 answers

Ready event in Microsoft Outlook 2010?

Is there an event in Microsoft Outlook 2010 which one can subscribe on, in order to known when Outlook has finished initializing and all components, folders etc. have been loaded?
MLJ
  • 123
  • 2
  • 11
0
votes
1 answer

Open Event of Window and Handle of Window

How do I get a window handle (IntPtr) from the Outlook window I have just opened? OutLook.Items items = oFolder.Items; foreach (OutLook.MailItem mail in items) { mail.Display(); //IntPtr a =…
Abs
  • 56,052
  • 101
  • 275
  • 409
0
votes
1 answer

Outlook Object Model - Detecting Mailboxes

I have a Delphi 2006 BDS application with the following code to iterate outlook mailboxes and then the Inbox and Sent Items within the mailbox: try nameSpace := outlook.GetNameSpace('MAPI'); // load the mailboxes mailbox :=…
PDM
  • 503
  • 2
  • 12
  • 27
0
votes
1 answer

Trying to get the MAPI ID of an Assigned Task in Outlook

I am currently writing an application that reads tasks from a Database and creates them in Outlook. In the database the tasks can be "Assigned" to a particular user and I have the task in outlook get assigned also. When the task is created in…
pksnow
  • 1
  • 1
0
votes
1 answer

When using the Outlook PIA or Embedded Interop types in .NET 4 does Outlook 2010 still need to be installed?

I'm working the the Outlook (Outlook 2010) object model via the Office PIA and I need to know if I still need Outlook installed on the machine that my program executes on. This seems like a basic requirement, but I can't find anything that says…
Steven
  • 860
  • 6
  • 24