outlook

How to add contacts into Calendar using Redemption.dll ? using C#

Hi, I am using below code: Redemption.RDOAppointmentItem objAppointment; Redemption.RDORecurrencePattern objRecurrence; objAppointment = (Redemption.RDOAppointmentItem)p_objDestFolder.Items.Add( p_objDestFolder.DefaultItemType); objAppointment.OptionalAttendees = "[email protected]"; objAppointment.RequiredAttend...

Add an Outlook calendar event from a link on a web page.

Hello, Anyone knows how i can add a anchor to a web page that will force an Outlook Calendar file download? I need the file to open with outlook and the calendar info to be added to the user's calendar. How can I create the MS outlook calendar files? Is there a standard/documented way I can create these calendar files using a script/au...

how to map PR_CONTAINER_CLASS of a folder to an outlook icon using vba

Does anyone know how I can map PR_CONTAINER_CLASS to an outlook icon using vba? This is to display a treeview of all the folders incorporating the correct icons. ...

How to convert outlook date to DateTime?

Hello, I'm trying to get the sent date from outlook mails. For external mails I got it already running (see: How do I read the Recieved Date from Outlook MSG files -without- the Outlook API?), but for internal mails I get sth. like "091026132413Z-64" where 091026 is the date 26.10.2009 (in german file format dd-mm-yyyy) and the rest...

Getting the Out of Office status programatically from Exchange or AD?

When people use Outlook (in this case in a Windows AD Domain running Exchange 2003 and 2007), they can set an Out of Office reply. Office Communicator 2005 can access it as well, so I assume there has to be a way to access it programatically? Does anyone know how to? I assume that Exchange would be the place to ask as AD doesn't seem to...

Outlook OLE in Delphi Sync Issues

I am using Delphi 6 with DevExpress cxScheduler components to sync tasks and events in our application with Outlook... When Outlook is open, and an existing event or task is updated in Outlook - our app does not see the new changes until Outlook is closed - so if we run the sync process without closing Outlook, our app overwrites the ch...

Outlook 2007 never seems to shut down when instructed to

Currently working on a VBScript to automate some of the dirty PST ingestion work I do, and I've found something problematic after upgrading from Outlook 2003 to 2007. (Had to upgrade to get around a RTF Body issue in OL2003 ..) Even after you instruct Outlook to close the PST store, Log off and then destroy the object (set objNS = Noth...

How to reformat Outlook mail item in VBA

Okay, i've got an Outlook 2003 VBA macro that clears a mail item's categories, and this is assigned to a button. However, i've got a conditional formatting rule that's already been applied, so when (in the inbox list view) i run the macro, the categories are cleared but the conditional formatting on that item remains until i select a dif...

I want to create blog posts to drupal by sending messages through Outlook. Ideas??

I think for two options, either to send messages to Drupal with SOAP or XML-RPC or by sending e-mail. ...

Problem with Outlook plugin and webbrowser

Hi, I've created a couple of Office plugins. The plugin shows a set of html files installed on the clients computer. The plugin uses a COM-accessible assembly which shows a WinForm with a WebBrowser on it. The plugin makes the WebBrowser navigate to a file on the clients computer. The assembly is also used in other programs to show the s...

Using additional email inboxes for Sharepoint Workflow approvals

One of our managers is encountering an issue with Sharepoint Workflows. His team has a standard AD user account setup with an email inbox that they all have access to via Outlooks "Open these additional Mailboxes" option. The Sharepoint workflow is setup to send approvals to this general-use user account. The problem is, when they receiv...

How can I change the login info for a .mdf sql server file that had windows authentication set, if the computer no longer exists?

Hello, At our company, we had a computer running Outlook 2007 Business Contact Manager, with all our info tied to the SQL Server database MSSmallBusiness.mdf file. Everything was fine and dandy. We decided to update the computer to Windows 7, so we upgraded, and Windows 7 put all the old files into the Windows.old folder. Problem is...

Check and register Outlook as a default mail client programatically

I'm developing a VSTO add-in for outlook. One part of this addin is a welcome screen that appears after first launch and on this screen I want to check if Outlook is a default mail client and if it's not provide users with the ability to set it as a default client. I know this can be done in Outlook's Tools/Options menu but I really woul...

How can I get at a code file attachment in Outlook?

This might be something for superuser, but it's a programmer's problem. If you send a .vb, .cs, .js, or anything else that Outlook thinks is code it blocks it. Not in the way that it does with images where it warns you and lets you override it - it absolutely blocks it. Thing is, as a developer I might want to be able to send and rece...

Non-English IMAP folder names and Outlook

I am using Courier IMAP server for an application which lets access to the mailbox through various clients. I have a problem when someone is using Outlook/Outlook Express, and creates or reads a mailbox folder with non-english characters. I have a web based application, which does a proper encoding of these folder names using UTF-7 as de...

Updating the default font in outlook 2002

I have been asked to create a vbscript that will set the default font for users in Outlook 2002. I have got some code that alters three registry keys and is supposed to update the font details. The keys are being updated in the registry but have no effect on Outlook, I have restarted outlook and rebooted the machine and the font remain...

Outlook 2003 - Add an icon column to a View?

I want to add a custom column to the Inbox which is a Yes/No column. I want an icon to show in the Yes case. How can I do this? Everything I've looked up is either about adding a column through the View.XML property, through UserProperties.Add with addToFolderFields = true, or through Field Chooser. There are also a lot of forums whe...

Adding Tasks in Outlook 2007 through code?

Hello I'd like Asterisk (open-source IP PBX) to log missed incoming calls as Tasks in Outlook 2007. Has someone successfully done this type of thing, ie. driving Outlook from code? Thank you. ...

get file icon for Outlook appointment (.msg)

I've read http://stackoverflow.com/questions/462270/get-file-icon-used-by-shell and the other similar posts - and already use SHFileInfo to get the associated icon for any given extension, and that works great. However, Outlook uses ".msg" for mail and appointment items (if you drag an email and drag an event onto your desktop, the resu...

Programmatically using Outlook "voting" functionality

Is there a way to programmatically access the "voting" feature of Outlook email? I'd like to be able to send emails with voting enabled, and also get the replies (preferably without polling). Thanks! ...