outlook

"One or more parameter values are not valid" while saving task using outlook api

I'm using outlook api for sending task in a web application application. I'm also trying to save task, for saving task it gives error - "Could not complete the operation. One or more parameter values are not valid." private static void CreateTaskO(Request instance, string email, string msgBody) { Microsoft.Office.Interop.Ou...

Does Outlook 2003 support task requests from Outlook 2007?

I use Outloop with IMAP (gmail). I have two gmail accounts and two PCs. On the fist one Outlook 2007 is installed, Outlook-2003 is on the second. A task request was created in Outlook-2007 and sent to the user. The user received this request in Outlook 2003. But it is not a task request. It's just a email with an attachement. So the user...

Java, Jacob and Microsoft Outlook events: Receiving "Can't find event iid" Error

I am writing a Java program that interacts with Microsoft Outlook using the Jacob library (bridges COM and Java). This program creates a new MailItem, displaying its Inspector window to the user. I wish to subscribe to the inspector's Close event to know when the user is finished editing their mail item. To subscribe to the event, I fol...

outlook calendar connectivity with java web service

We currently have a java/jsp online web service that includes it's own custom calendar. I am trying to do some research into the possibility of connecting it to a users outlook. Our basic needs that are most simple is some way to sent the person a meeting request that can be added to their outlook from our service. I know the ideal sol...

Outlook 2007 : VBA Macro: GUI update (HourGlass for Mouse Pointer) not happening?

I have a simple VBA program to download attachments from a Mail Item; I'm launching a Macro (that is a 'sub' in a Module), which does a 'Form.Show' to launch a User Form. There is a button on the User Form to kick of the actual download - the download sub is located back in the Module code, not the form code. Here's the code I'm using f...

How can I add multiple email addresses in Outlook field "To" via C#?

Hi all, Anybody know how can I add multiple email addresses in Outlook field "To" via C#? foreach (var to in mailTo) newMail.To += to + "; "; When I try do it how I described this above I receive next kind of string: [email protected]@[email protected] ...

Why does Microsoft.Office.Interop.Outlook.Excecption exist?

Why did microsoft's API team recreate an Exception class in Microsoft.Office.Interop.Outlook that would conflict with the System Namespace's Exception class? Does it have to do with the unmanaged nature of interacting with the Office Suite? Why should it be used instead of System.Exception? ...

Why attachment size given by Outlook programming interface is always wrong?

Hi, Trying to use Outlook Interop in C#, I noticed a curious thing. First I get the size of an attachment with Attachment.Size property. Second, I save the attachment to a file using Attachment.SaveAsFile method. Comparing the real size of a saved file and a size given by Outlook, I notice that the real, saved file is always smaller...

Read HTML Body from Outlook MSG file

How can I read the HTML body from an Outlook.MSG file using Delphi code. I have been using Scalabiums smmsg component, but it only the body text returns a value, the the html body property always returns an empty string. Thanks, Phillip. ...

Outlook eventID in Google calendar

I am writing an Outlook add-in which sync with Google calendar. EventID of Outlook calendar is in binary format which I can convert into HEX string (contains characters between 0-9/A-F). I wanted to know whether Google calendar eventID is HEX string or not. So that I can directly store Outlook calendar eventID in Google calendar and vice...

Send email via Powershell and Outlook

Hi, I have a .msg file on my filesystem. With powershell I can open a Outlook window with the message simply like this: Invoke-Item "MY MAIL.msg" How to change the subject and forward it to a given address via Powershell? Thanks in advance ...

Outlook MAPI store provider. Managed?

Is it possible to create MANAGED (.NET) Outlook MAPI store provider? How? I'm a complete novice in Outlook world, but don't wont to fiddle with all that COM droppings. ...

Outlook HTMLBody only returning limited formatting

My outlook MailItem objects are only returning limited HTML formatting. I need to be able to get the complete HTML formatting... I get the following message: <!-- Converted from text/plain format --> Below is a snippet of the stripped down HTML, followed by the correct HTML <!-- Converted from text/plain format --> <P><FONT SIZE=2>...

Creating .ICS files, adding to outlook

Hi, I am creating a simple application that will allow users to download .ICS files, and import them into their chosen calendar application/site. I am happy with the creation process, but have a question regarding opening them in outlook. (will be developed in C#, ASP.NET) When I do open one, it adds a new calendar, and doesn't add th...

How do I read a .msg Outlook attachment in Outlook VBA/Scripting?

Hi, I've got a script that's trying to open text attachments and append them to the message body. I have it working for text documents but I ideally need it working for .msg attachments too. At the moment it just doesn't read the object. Can anyone help? Thanks! Sub RunAScriptRuleRoutine(MyMail As MailItem) Dim strID As String Dim ...

Creating Outlook Email Draft via C# Application

I am in the estimating phase of a project, and one requirement is that my application will create draft emails (with attachments) in MS-Outlook, which the user can then review and send. The app is written in WPF. The clients will have either Outlook 2003 or Outlook 2007. The files that need to be attached will already exist on the fil...

Is using GetProcessesByName the best way to check if a process is running?

Even though the topic title explains most of the question, I'd like to sketch out the scenario so you understand in what context this question is put. I have an application which is like an Outlook contacts list. It gets all the contacts from Outlook and the result is that they're displayed in a data grid view. Now, instead of starting ...

How to extract embedded images from a draft Outlook email - and reconstruct for sending via System.Net.Mail.SmtpClient

I have an Outlook email (in HTML format) that's been saved as a draft. I want to programmatically extract the embedded images (not the attachments - that's easy!), save them somewhere, and then reconstruct the emails programatically for sending via a System.Net.Mail.SmtpClient. I can get at the HTML easily enough. I can also extract t...

Perform CRUD for todos/tasks/appointments from Outlook?

How can I perform CRUD (Create, Read, Update, Delete) for todos/tasks/appointments/etc from Outlook. Does Microsoft have a data api like Google that I can use to interact with Microsoft applications? I prefer this in C++ (Microsoft Visual C++), but Java will also work. ...

Script to write contents of incoming outlook messages to file

Hi I'd like to automatically write incoming outlook messages to a text-file on the drive. How can i do this? Thanks. ...