outlook

How to make subject field compulsory in Outlook 2007?

I always forget to write subject in email, so I want make the subject field compulsory. Can you help me please? ...

Add new records to private Outlook distribution list

I need to read records containing name and email from a file or database and add them to an existing Oulook distribution list (from the private contacts, not from the GAL). I just saw examples of reading from OL using LINQ to DASL which I have working for mail and appointments, but I can't figure out how to list the contents of a dist l...

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...

How to create vertical seperator between controls on an outlook command bar?

I am creating an outlook 2003 addin which adds some dropdown and button on each mail item opened.I have created a command bar and have added the controls to that command bar . But if i look at the standard tool bar on mail message, each button is seperated by a vertical bar but in my tool bar there is no seperator. How can i create the v...

Finding the type of Outlook.MAPIFolder

I'm building an outlook control for an application, and am populating a treelist by recursively adding child folders. These folders are declared as Outlook.MAPIFolder. But the application only allows import from actual emails, so I want to exclude folders containing calendar items. I can right click on those folders in outlook, go to ...

How it is correctly to implement IDTExtensibility2 interface for Office COM Add-In?

I am implementing COM Add-In for Outlook. I use IDTExtensibility2. I am not sure whether this is the best way of doing COM Add-Ins but I cannot change that. This interface defines five methods: OnConnection, OnStartupComplete, OnAddInsUpdate, OnBeginShutdown, OnDisconnection. I need to perform the following operations: Load configur...

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...

Creating a version-independent outlook-addin

When using the add-in wizard for outlook add-ins in Visual Studio 2008, I have the choice between creating a add for Outlook 2003 and Outlook 2007 (both using .NET). However, if I chose one of these, the add-in doesn't run in the other version. What's the best way to create a add-in which runs in both versions? ...

SQL in an e-mail app

I would like to be able to perform SQL queries on my e-mail inbox. With the output, I can make graphs about how much e-mails I send or receive for example. I want to analyze my performance and what keeps me busy. My mailbox seems like a good place to start. I'm using Gmail on-line, and Thunderbird, Outlook 2007 and Mail.app trough IMAP...

Writing email messages to flat files in Outlook with VBA

I have written a VBA app that opens a folder in outlook and then iterates through the messages. I need to write the message bodies (with some tweaking) to a single flat file. My code is as follows... Private Sub btnGo_Click() Dim objOutlook As New Outlook.Application Dim objNameSpace As Outlook.NameSpace Dim objInbox As MA...

Easiest way to move Outlook 2007 emails to GMail?

I've decided to move completely away from my old POP3 email accounts and into GMail. I have a lot of archived mail in a Outlook 2007 .pst file. I know I could just forward them from Outlook, but then I would receive them as only one email with a lot of attachments in GMail? How can I move these into my GMail? ...

Determining the path to Outlook.exe from java?

I want to invoke outlook from the command line (for various reasons) and wanted to know how I go about discovering the Path to the Outlook.exe file. I'm pretty sure it's stored in the registry, but was wondering how to go about reading that from Java. thanks ...

Modifying Microsoft Outlook contacts from Python

I have written a few Python tools in the past to extract data from my Outlook contacts. Now, I am trying to modify my Outlook Contacts. I am finding that my changes are being noted by Outlook, but they aren't sticking. I seem to be updating some cache, but not the real record. The code is straightforward. import win32com.client import ...

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...

Integrating Oulook/Exchange Tasks with Linux-based Rails

Is it possible to integrate MS Outlook/Exchange tasks with Rails? I know how to send emails with Rails, but that isn't using anything "special" about exchange, just pointing it at the server. What is "special" about an Outlook Task and how I can I create/read/update/delete them from Rails. (Even a subset of CRUD would be great.) PS. I ...

Date time stamp Outlook calendar entry automatically?

I use Outlook 2007 calendar to schedule appointments. Is there a way to automatically date time stamp each appointment card as it is created? I want to know what time I created an appointment without having to manually enter it time. ...

Creation of a EML file with an attachment using JavaMail

Hi. I'll create a EML file with an attachment using JavaMail. I created a simple EML file successfully, but adding an attachment don't work properly. I'm going to add a PDF file. My EML file will be created successfully. If I open the generated EML file with Outlook I'll find not my PDF file as attachment but I'll find the EML file it...

Outlook Macro

HI to all, Could anyone guide me in creating an Outlook Macro that does the following: What I would like macro to do is to check, in a specific E-Mail folder, if there are 3 or more e-mails with the same word in the subject or text, and if so, an alert would appeared, or something like that. Thank you very much Max ...

Testing Outlook VSTO Addins

I am trying to write a really simple Outlook VSTO add in that checks email that is being sent for a few simple properties. My problem is that I cannot seem to install/test the add in using Outlook. I have added unit tests that ensure the code I have written likely does what it should but that final level of integration eludes me. Any sug...

Extracting Embedded Images From Outlook Email

I am using Microsoft's CDO (Collaboration Data Objects) to programatically read mail from an Outlook mailbox and save embedded image attachments. I'm trying to do this from Python using the Win32 extensions, but samples in any language that uses CDO would be helpful. So far, I am here... The following Python code will read the last em...