outlook

Problem with Outlook.Explorer.SelectionChange event

I attach to Outlook.Explorer.SelectionChange event. Event handler makes a call to an assembly that retrieves some data from web services. After one call to that assembly my event handler is no longer called when SelectionChange occurs. Any ideas? This seems to be somehow related to the assembly itself, not what it is doing. Simply cre...

Connecting to an existing Outlook process

Hi, I'm building an application that opens existing mail messages in Outlook. The user may or may not already be running Outlook. All works well if Outlook is not running, but if it's already running I get a COM error (80080005). The internet seems to indicate that this can happen if the existing Outlook process is running with a higher...

how to connect asp.net web application with outlook?

Hi, I have created a we application for managing the contacts. I want to save the selected contact to current user's outlook contact list. how to do this? I am using asp.net + c#.net. please guide me. Edited : I have done this by following this link. http://www.c-sharpcorner.com/uploadfile/rambab/outlookintegration10282006032802am/ou...

How to pass string indexes for OleVariant

Hi I'm converting the following example code to Delphi: http://msdn.microsoft.com/en-us/library/bb176406%28v=office.12%29.aspx My code is something like: var vTable, vRow: OleVariant; begin .... while vTable.EndOfTable = False do begin vRow := vTable.GetNextRow; sEmail := vRow['Email1Address']; ShowMessage(sEmail)...

how to add the new contact in outlook from c# ?

Hi all, I am having the asp.net application that is collecting the information form the .aspx page.And on UI there is a button "Save to Outlook" . i just want to click , and want to save the filled information (in the input controls like first name, last name, email id ..etc.) as new contact in the outlook of who is currently using the a...

Outlook Add-in targeting 2007 & 2010

I have an Outlook Add-in that I have developed for Outlook 2007. I am working on having this add-in work on Outlook 2010 as well. My add-in is an adjoining region on the appointment/meeting request window that displays a WPF control. The add-in installs fine on Outlook 2010 but when I go to the appointment/meeting request window I have a...

Can I add an Outlook Attachment from a PictureBox image?

Hi, I have an image in my VB.NET Picture box. I would like to attach it to the email message I'm sending through Outlook without having to save it to the drive anywhere. Is it possible to do such a thing? Here's what I have so far (taken from here): Public Class email Dim app As Microsoft.Office.Interop.Outlook.Application Dim...

Options programming Outlook -

Basically I would like a strater on programming outlook (2007+) which would let me know the different programming models available and pro / cons of each. The plugin I have in mind, will take email from a certain sender, whose body is in Xml format (I know email is not intended to deliver data, but this piece of communication is in pl...

How do I determine if an Exchange mail item is an auto reply message?

I have a .NET application that polls an Exchange email mailbox for new messages on a scheduled basis. Further processing happens when new messages are found in the email mailbox. I've encountered an issue with the processing when auto reply messages are received in the mailbox [e.g. auto reply rule, or Out of Office messages]. I nee...

access the outlook contacts with windows service.

Hi, How to access the configured outlook (2007) contact database through the windows service or web service. Means I want to get contact list of outlook (configured with pop3 server), & add new contact from my web application which will connect with this windows service or Web service. And upload the new contact list? I am using asp.net...

How do I separate inline images and attaches using MAPI?

My program uses MAPI for working with Exchange mailboxes. The problem is if a user fires up Outlook, adds a file as an attachment and also opens Paint, selects a region there, copies it into clipboard and pastes into the message body the resulting message showns two attachments. More specifically, the program calls IMAPIMessage::GetAtta...

what is Open XMl file for office 2007 ?

Hi, What is the open xml file for office 2007. In fact I want to know open xml file for the outlook so that I can add new contact in outlook. please guide me. ...

how to open vCard bydefault in outlook 2007/03 ?

Hi, I have generated the the vCard from asp.net + c# application. While ending up. browsers pops up for "open with /Save as" box. I don't want to appear this box. rather than that , I want to directly set the generated .vcf file to open with outlook 2007 or 03. what hae to do ? My code is: System.Web.UI.HtmlTextWriter htmlWrite = new H...

outlook web access api returns only 100 records.

Hi, I am trying to retrieve Global Address List from Exchange using OWA api. But it returns only 100 records. Is there any way i can retrieve more than 100 records using OWA api or any other API? Note: I require to retrieve data from Global Address List from Exchange Thanks in advance. ...

Applicaion.AdvancedSearch not filtering when run on a Mounted mailbox contacts folder

We are using OL 2003 and are building an addin in which we use Application.AdvancedSearch. We use this API to get filtered contact lists. Works just fine on most machines. On some however, the search result brings back all contacts seemingly ignoring the filter. Its certainly not a code issue - it works fine on most machines. Advanced ...

MAPI_E_FAILONEPROVIDER from Redemption

I'm trying to user Redemption to update a user's Outlook contacts. The user I'm affecting is passed in the exchangeUser, call him "Target User". This code works when I run it logged in as myself: public OutlookFolders(string outlookRootFolder, string exchangeUser, string mailServer) { var session = new RDOSessionClass(); ...

Sending email from webpage using Outlook

I have a webpage that has a button that sends a letter on the page to an email recipent. Currently we are use Lotus Notes and with VB script, we are able to create an object of Lotus Notes and one of the properties for this object is PutInFolder. After the user clicks on the email button, the script will send the email and also put save...

Create Outlook Calendar through .net application

Is it possible to create a shared calendar in Outlook programmatically through a WebService, I am looking for behaviour similar to the calendar integration in SharePoint? The calendar would need to be read only and would not need to reflect changes back to the WebService (at this time) ...

Import contacts of outlook group mail to mobile

I just want to know how can we import contacts numbers (mobile numbers)from outlook into nokia mobile. We are using outlook 2007 and nokia mobile phone with PC suite 7.0 version. ...

Get link/path to email in Outlook?

I'm working on an application that's supposed to take a link to an email from Outlook and store it in a database. I've been looking at the Microsoft.Office.Interop.Outlook API but I can't find something that could be used for this. Any thoughts? ...