outlook-2007

Dynamically add sender email to Message Header rule in Outlook 2007 via right-click

I would like VBA code for Outlook 2007 to right-click a message in any mail view, choose a rule to add it to, and have the sender email be added to the Message Header contains value for that rule. Only particular rules use Message Header as a criteria, so only those applicable rules should show when I right-click a message. ...

Help updating an event in Outlook 2007 with an iCalendar file

First of all: There is a previous thread with this question, but it looks dead. The guy that asked the question says he figured it out, and hints at an answer, but I could not get it to work. It doesn't seem like SO users have enough incentive to post to the old thread so I am starting this new one. I am sorry if this is not the right th...

Outlook rendering problem, rendering text too large.

I'm trying to create a newsletter standard for our org and having problems with Outlook rendering the text too large. Here is the css section of the page body { margin: 0; padding: 0; font-family: Arial, Helvetica, sans-serif; font-size: 75%; background: url(http://www.blah.com/stuff.gif); } a { color: #f24c22 !important; } a:v...

Outlook 2007 wants password over HTTP. (Exchange 2007)

I have an Exchange 2007 configured with ActiveSync and RPC over HTTP. Here are the things that work: Outlook inside the network. Mobile devices. Outlook Web Access. Only thing that doesn't work is: Outlook outside of the network. Whenever, someone is outside of the network trying to access their email via Outlook, they get prom...

A C# / .NET (VS 2008) to Outlook (2007) question

Hi, I need some help with .NET (C#) and MS Outlook. I'm building a simple desktop application and want to send an e-mail using Outlook. If my desktop app generates a message, it should be able to send it as an email via outlook (we can assume outlook is running on the same PC) - a very simple operation. If I can do 1, that's great. If...

Python Outlook 2007 COM primer

I've been inspired by Modifying Microsoft Outlook contacts from Python -- I'm looking to try scripting some of my more annoying Outlook uses with the win32com package. I'm a Linux user trapped in a Windows users' cubicle, so I don't know much about COM. I'm looking for information on whether COM allows for reflection via win32com or whe...

Outlook Custom Form Region - show on button click

Hi All, I've created an Outlook 2007 add-in using VS.Net 2008. Added a Ribbon (Visual designer) with a button. I've added a custom form region with a messageclass of IPM.Appointment.MyWindow. How do I show the custom form region as soon as the user clicks on the button on the ribbon I've created? Thanks in advance! ...

Create button in Outlook 2007 message

I am attempting to create a outlook 2007 message and place a button within the message. I believe this was at one time possible. However I am reading that this may no longer be possible in Outlook 2007. Can anyone confirm this? ...

Why does a Form Region in Outlook 2007 Plugin keep a reference to the underlying object open?

I've created an empty Outlook 2007 Plugin Project in Visual Studio 2008 (SP1). Then I added a new Form Region (Contact type, Adjoined, otherwise defaults) and then I run the project. Outlook opens, I go to a contact change a couple of things, then click on the close button. Outlook asks if I want to save, I choose No. My understandin...

Can I read an Outlook (2003/2007) PST file in C#?

Is it possible to read a .PST file using C#? I would like to do this as a standalone application, not as an Outlook addin (if that is possible). If have seen other SO questions similar to this mention MailNavigator but I am looking to do this programmatically in C#. I have looked at the Microsoft.Office.Interop.Outlook namespace but t...

Get Exchange folder size using Redemption.dll fails when used from Outlook2007

I am using Redemption.dll (Version 4.7.0.1026- latest) in an Outook (2003/2007) Add-in where i need to retrieve the exchange mail box size. To get the folder size, I am using the function get_Fields(): foreach (RDOStore store in rdoSession.Stores) { int size = 0; if (store.StoreKind == TxStoreKind.skPrimaryExchangeMailbox) { /...

Detecting AutoArchive Settings/Store in Outlook 2007

I want to write a simple Outlook 2007 AddIn that allows me to manually Auto-Archive mails. That is, I right-click a mail, select Auto-Archive and it gets moved into my Archive folder. Unfortunately, I do not seem to be able to detect which one is the Archive Storage. I know that Application.GetNamespace("MAPI").Stores is a list of all m...

C# VSTO Outlook 2007 / Sharepoint: AddIn wont save contact item

can somebody help: i have an AddIn which reads contacts from a Sharepoint Server. The user can load a contact and make some changes or create a new one. At his point, saving the item works well. The Form closes and the item is beeing transfered to Sharepoint. But if the user reopens the same contact again and trys to make a simple change...

How can I access mouse events in Outlook?

Is there any way I can access the mouse events in Outlook 2007? I know you can access the mouse events for a custom form region. However I would like to access the mouse events of an inspector. Thanks ...

To Create an Employee directory

We are researching the various options that exist in our environment to create an Employee Directory. We have a SharePoint portal, AD and recently moved from Lotus Notes to Exchange. Our current employee search is a custom Notes DB that has since been retired. Since moving to SharePoint an year ago, we've used a custom list using ShareP...

How to Remove an Item from the Office Orb Menu in Outlook

Folks, I've been working on ribbon development in Office 2007, but I'm running into an issue that's driving me a bit nuts. I want to remove the "Permissions" option from the Orb menu of a new mail message in Outlook 2007. I am not having any luck. I'm using VS2008 and VSTO 3. Any suggestions? Thanks in advance, Rex ...

Does the SaveAs method in Microsoft.Office.Outlook.Interop have a maximum file size?

Is there some type of undocumented file size limit when using this method to save to a UNC path? http://msdn.microsoft.com/en-us/library/microsoft.office.interop.outlook._mailitem.saveas.aspx I made an Outlook add-on that copies the currently selected email(s) to a network server. Works great until you try to save an email that has man...

How can I create a script to move the currently active email in the Inbox to another folder in Outlook 2007

I sometimes get emails that I want to keep but to move them into the appropriate folder can be a pain. How can I execute a script that will move (like using C-S-v) the email I'm looking at into a certain folder called "buffer", for instance? I'm using Outlook 2007. thanks. EDIT: there isn't any criteria that can be created to autom...

Where is Outlook's save FileDialog?

I'm working on an Outlook add-in that requires the Office specific FileDialog to interoperate with a Sharepoint site; the common file dialog doesn't have the interoperability. I know that both Word and Excel have a get_fileDialog method under Globals.ThisAddIn.Application.Application, but Outlook doesn't seem to. How do I launch an Outlo...

Help using the Office Interop for Word and Outlook 2007 in VB.NET

I need to start utilizing the interop in my programs to automate several functions in Word and Outlook and I was checking if anyone knew a good place to start. My ultimate goal is for my program to kick off a mail merge, create several different files and save them accordingly, then e-mail the different files to different people based u...