outlook

Customize how Outlook desktop alerts will appear for my email recipients

Is there any way to force Outlook to display HTML in the desktop alert instead of text for a multi-part message? Is there any way to customize what text will appear? Or is it always the first 2 lines of the email? ...

Outlook Interop: How to iterate over all items in folder

I would like to search the bodies of all outlook items. I know how to do this for the four PIM items (Notes/Tasks/Appointments/Contacts). But the code is identical for all of them with the exception of casting the COM object to the specific item type (i.e., ContactItem, AppointmentItem, etc). Is there a parent class for these PIM items...

Connect to Outlook through asp.net application?

I need to connect to Outlook through ASP.NET web application using user credentials. What are my options? FYI: User logs into the web site by using Windows Authentication. I'm working with Outlook 2003. ...

Why does the ItemAdd Event stop being Handled on my Sent Items folder?

Hi, I am having some trouble keeping an event handle alive for some reason. My project is an outlook addin which prompts the user to do something when they send an email. Now, I have an event handler hooked up to the Sent Items folder so that when the sent email arrives in that folder it fires the prompt. The reason I have it attached ...

GetOrganizer not working on AppointmentItem object

I am trying to find the organizer of an appointment using AppointmentItem->GetOranizer This is a COM addin in C++ I am seeing some peculiar behaviour THe call succeeds if the Outlook user is NOT the organizer Fr meetings organized by the user it always fails( exception thrown) any suggestions ...

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

How do I reliably determine the window handle of a given Outlook inspector window with WordMail turned on from inside a COM-Addin (Outlook <=2003)?

[This code is called from within the Inspector.Activate event handler (first call), i.e. right before the inspector window is actually shown.] For "native" mail inspectors I can simply QI the Inspector interface to IOleWindow and call its GetWindow method. However, this will not work for Word inspectors which are in fact instances of Wo...

Outlook/Exchange - how to programmatically export users in distribution list?

How do I export all of the names and email addresses from a distribution list in Outlook using code? I have access to an Outlook 2000 or Outlook 2007 client. Ideally I would like the code to be in C#. ...

Saving Attachment

I am trying to monitor my outlook inbox so whenever new emails come in with attachments I save the attachment to some other location. Can anyone help me out? ...

Reading Email without outlook app open

Hi, Thats what I am using to read email using C#: outLookApp.NewMailEx += new ApplicationEvents_11_NewMailExEventHandler(outLookApp_NewMailEx); Outlook.NameSpace olNameSpace = outLookApp.GetNamespace("mapi"); olNameSpace.Logon("xxxx", "xxxxx", false, true); Outlook.MAPIFolder oInbox = olNameSpace.GetDefaul...

How can I open other people's Outlook calendars from Perl?

I can access my calendar entries as: $folder = $namespace->Folders("Joe Cool")->Folders("Calendar"); How do I open "Jane Cool" Calendar? Outlook shows that calendar as: People's Calendar Jane Cool ...

Install custom Outlook 2003 form in users Personal Form Library

We've developed a custom Outlook 2003 form based on ipmNote. I need a way to push this to all the other users in the organization. At the same time we'll also be installing a custon Add-in built with VSTO so we could do the form install as part of that. Currently I can't use the Organizational Forms Library, because the exchange admins...

Create Outlook Task Request from ASP.NET

I'm looking for a way to create Outlook Task Request from ASP.NET. I'm using Exchange Server 2003 for email server. Basically, user of my ASP.NET application will do something that will create Outlook Task based on some logic. Is this natively supported in .NET or must I use third party component? ...

Outlook Add-In Inspector Window Loading

After experimenting with screenshots of programmatically sized Outlook Inspectors, I've noticed that resizing is not instant. (TakeScreenshot is done programaticcaly by creating a bitmap from the window's device context, then writing it to disk. Version A: Resize, Bringtofront, TakeScreenshot Version B:Resize, Bringtofront, threadslee...

How can I have a foreign text in subject line?

Hi, I have an xml web service which I use at work to make a request to. This request, an xml document, includes information such as recipients, subject, body, etc (as a newsletter would contain). I have an ASP.NET form to enter the above information to, to form the Xml document, and I can type foreign characters (non latin - Japanese, ...

event handler problems c#

hi, I have a handle that fires when the ItemAdd event is triggered on the Sent Items folder in outlook. This handle prompts the user and depending on their selection then opens a custom windows form to save the sent email. Now ... heres what happens ... The prompt shows fine when an item is placed into the Sent Items folder, if you d...

Drag'n'drop one or more mails from Outlook to C# WPF application

I'm working on a windows client written in WPF with C# on .Net 3.5 Sp1, where a requirement is that data from emails received by clients can be stored in the database. Right now the easiest way to handle this is to copy and paste the text, subject, contact information and time received manually using an arthritis-inducing amount of ctrl-...

PST to CSV File Conversion

Does anyone know of a good tool that converts .pst to .csv files through command line? ...

How do I reliably tell that two Inspector references point to the same inspector instance?

[continued from Is there a way to tell whether two COM interface references point at the same instance?] I've got references to Inspector objects from two different sources and need to be able to tell which item from one source corresponds to which item from the other source. However, none of the approaches I have been able to come up w...

Markdown in outlook

Because this is not the kind of company where wiki's are accepted, we tend to do a lot of communication through outlook. Sending code snippets through it is painfull. Is there some way to get the markdown thing we have here, but in outlook? ...