outlook

What does the registry value for the outlook(2003) msgfile extension stand for?

If you want to open an msg Email file with the extension .msg, Outlook 2003 will be started with some parameters. Therefore you can find the following registry keys: HKEY_CLASSES_ROOT\msgfile\shell\Open\command\(standard) HKEY_CLASSES_ROOT\msgfile\shell\Open\command\command The first one points to the "outlook.exe" with the parameter ...

Can't make my slice from the HTML link repeat to extend

I have attempted to insert an html image withing an email (Outlook) to save as a template. I am finding that there is a slice that should repeat is not working correctly (to have the color extend to where the text ends). Is there someone who may be able to assist me in this matter? Below is the coding that I am using. <HTML> <HEAD>...

Why is my UserProperties collection empty ?

Hi, I'm using the Outlook 2003 PIA and VS 2005 to access items in a public folder. The item.UserProperties collection always comes back empty, despite the items having several user defined fields. If I add a property in code using UserProperties.Add, it is saved correctly with the item and is then available in the UserProperties next ...

How to create a .ICS file with multiple VEVENTs to be imported into an existing Outlook Calendar

I have a need to allow for a user to download an event that has multiple meeting dates. To do this I have created a memorystream to be downloaded which produces a .ics file. For example: BEGIN:VCALENDAR PRODID:-//Company//Product//EN VERSION:2.0 METHOD:PUBLISH BEGIN:VEVENT SUMMARY:Subject of Event LOCATION:Location of Event UID:12275...

COM interop assembly loading sequence

There is very strange assembly reference problem and loading problem I experience with my Outlook addin. Here are the detail (a long story :) ): I have an old Outlook addin, written and build using .Net 1.1. The addin is loaded using an unmanaged shim in its own application domain. It works OK, with .Net 2.0, even if 1.1 is not present ...

outlook display icon in notification area for messages not in inbox

I have rules set to move some email messages into different folders. I would like this to still show the envelope in the notification area but there is no option in the rules wizard to do this. It looks like I would either have to have the rule "run a script" or "perform a custom action" allowing either vba or c/c++ respectively. Anyone...

Outlook VSTO AddIn for Meetings

We have created a VSTO addin for Outlook Meetings. As part of this we trap on the SendEvent of the message on the FormRegionShowing event: _apptEvents.Send += new Microsoft.Office.Interop.Outlook.ItemEvents_SendEventHandler(_apptEvents_Send); The method _apptEvents_Send then tests on a couple of properties and exits where appropriate...

powershell outlook interop send email

I'm developing a script that involves creating an email contact, and forwarding mail to that contact. Last part of the script is to automatically send a test email to the address to make sure the forwarding works. So I use the following code: [void] [Reflection.Assembly]::LoadWithPartialName("Microsoft.Office.Core") $olApp = new-object...

How to Embed Image in Outlook Signature?

Is it possible to create an HTML email signature for Outlook 2003 or above that doesn't reference external images? That is, using those special "cid" reference but embed the image itself in the signature and not on the file system or network. This is for an web application that generates a "standard" email signature based on various in...

How to cause my VSTO 2005 SE Outlook Addin to crash so that it's disabled?

For testing purposes I need to get my Outlook 2003 addin (vb.net) disabled so that it can only be reactivated through the help menu or by deleting the resilency key from within the registry. I tried to achieve this by creating an unhandled invalid cast exception during the startup eventhandler but this does not help. Outlook only says t...

Using JNI to retrieve outlook contacts

Hi all, I need to retrieve the list of contacts (and only them) from any Outlook application except Outlook Express. I've seen many different libraries that can solve my problem but any of them is opensource. I was wondering if it is worth to solve this problem from scratch using JNI. I have never developed using this framework; have yo...

Delete calendar event using iCalendar file import (Outlook 2003 problem) ?

Is there a way for me to delete items from calendar by using iCalendar import? I know that there is a METHOD:CANCEL, however when I tried it, it didn't do anything to the calendar event. Here is what is in my iCalendar file. When I try to import it to Outlook, it just adds these events. BEGIN:VCALENDAR VERSION:2.0 PRODID:-//DDay.iCal/...

Transfer mail to other mail box

I am working on an application where i need to transfer mails from a mailbox to anoter one.I can not send these mails using smtp because this willchange the header information .I am using C# and out look api to process mails . is thre any way i can transfer mails to other mail box without changing mail header. ...

Outlook XML View Definition

Is there any complete Outlook XML View Definition, beside http://msdn.microsoft.com/en-us/library/aa140157(office.10).aspx, which is not complete, and is for Outlook 2002? ...

Clear Categories in Outlook 2003

Outlook 2007 automatically strips categories from incoming email. Outlook 2003 does not do this, forcing the recipient to use the senders categories. Is there a way to either: Force Outlook 2003 to remove the categories (can't do it via Rules and Alerts) on incoming email. OR Force both Outlook 2007 and Outlook 2003 to remove categorie...

Is there a good forum out there discussing iCalendar format and interoperability?

I can't seem to find a good forum focusing on iCalendar format. Specifically how iCalendar is implemented with Outlook. ...

Redemption Shared Folder Problem when moving to Outlook 2007

We currently have an application that works with Outlook 2003. In order to get the owner of a shared contact folder, we simply call: Redemption.RDOSessionClass.GetFolderFromID() and then took that folder and got the RDOFolder.Store.Name property. However, when trying this with a shared contact folder in Outlook 2007, the RDOFolder.Store...

Can I access Outlook Email contacts field in VBA?

Hello I would like to access the contacts field on an email message (Email options) in outlook. Normally this field ties an email to a contact. Since it is a freeform text field available from the options dialog box, I am trying to use it to store a "next action" for my email message. I would like to set the next action based on the sub...

What is the best way to get started using MAPI?

I've been spending some time hacking away at MAPI for the purpose of creating tools for process automation on both server and client. Most of the resources I read online are either short on details and/or examples or full of conflicting information compared to other sources. Assuming I have an understanding of C++, COM and .NET, what p...

How to develop an Outlook/Mail Plugin?

I want to develop a plug-in that does this: A button, when clicked, opens the new mail window but has a certain phrase in the subject line, for e.g. when I click a button called 'PROJ123', the new mail window opens with the subject line "[PROJ123]" Other functionality it would need: Ability to Create/Update/Delete Buttons as needed ...