outlook

Outlook ole error 800A01A8 when closing it with more than 10 outlook-explorer windows

I have written an Outlook plugin in Delphi 2009 that opens a database connection and does some tasks to accompany my main application. When Outlook is now closed it raises an 800A01A8 ole error, but only if you had about 10 outlook-explorer windows open. Another important point is that that only happens occasionally when you use File\Exi...

Programatically generated HTML email is classified as junkmail by Outlook

I've got a C# application going that needs to send out an html email via smtp. The email gets sent just fine, but the default security setting on outlook (Low) classifies it as junk email. It's not exactly a showstopper issue, but this is rather annoying, especially since the junk folder turns off html. I don't want to have to make ever...

Sending Outlook 2007 Meeting Request with HTML Body

I know that Outlook.ApointmentItem.Body only supports plain and rich text formats. But my requirement is to send the Appointment with a Html body. Currently I am saving the ApointmentItem as an ics file and attaching it to the e-mail. This works but the outcome that I am looking for is that it is received as a meeting request. I.e. I rec...

Outlook Addin in C# - How to add button/group in New Mail (next to signatures)

I'm having some trouble understanding Outlook terms (CommandBarPopup, CommandBarButton etc) like what is what in Outlook so please be patient. I would like to create couple of things: I would like to create new group (or just button but i read it's not possible to add a button to an existing group in ribbon) on new mail next to Signat...

Menu and update to the main pane (WPF)

I am trying to build a project where Menu is to the left of the screen (eg. Tree view in Outlook). And when I click on individual items in the tree view on the left the main pane updates (Similar to Outlook). Can anyone provide some sample code or links to sample code that I can use as reference? I am sorry if this is ambiguous. Any hel...

Setting categories using VBA on a selection does not seem to work in Outlook 2007

I'm trying to set the mail message categories for the current selection. When I run the macro I end up in only a single message being set to the given categorie. I Use the following code (and have also tried to use a do until..loop using the selection.count): Sub SetSelectionComplete() Dim mailMsg As MailItem For Each mailMsg I...

Outlook Interop: Password protected PST file headache

Okay, I have no problem identifying the .PST file using the Outlook Interop assemblies in a C# app. But as soon as I hit a password protected file, I am prompted for a password. We are in the process of disabling the use of PSTs in our organization and one of the steps is to unload the PST files from the users' Outlook profile. I need t...

Is it possible for Visual Studio to use default colors when pasting into other applications (eg. Outlook)?

I have a custom color theme within visual studio which uses a dark background which looks great, however when I copy & paste into Outlook I would like outlook to use the default formatting, is this possible? My current workaround is to simply paste into a single cell table, reset the background color on the text to none and apply a back...

Undelete a contact in outlook

I have an application written in Delphi that adds / updates contacts in outlook. The problem I'm having is that if the contact has been deleted in Outlook, the code still finds the contact and updates it - and the contact still remains deleted. Is there a way I can determine if the contact is deleted or undelete the contact? Roughly t...

The host 'smtp' could not be found.

I am getting the following error while sending mail by click of a button in MS access form I am using sendObject to send mail using vba code. The host 'smtp' could not be found. Please verify that you have entered the server name correctly. Account: 'pop3', Server: 'smtp', Protocol: SMTP, Port: 25, Secure(SSL): No, Socket ...

Limit on mail body when posting a mailto: form

I've got a HTML form with a lot of input fields, which I use to populate an email. I learned today that using the GET-method will limit the size of what's posted. But from what I can tell, there is no limit when using POST. Well, there probably is since I believe that this is probably my problem. My emails aren't opening in the email cli...

C# Calendar Appointments capture

I am trying to capture the entries for calendar events from Outlook in my C# code and I am having trouble in capturing the recurring records. They seem to show up everyday even though if I make a recurring record for a week/month. Any suggestions on how it can be done? Here is a summary of what I am doing: 1. Fetching all folders presen...

How can I send two emails via javamail such that outlook will put them in the same conversation?

At some point, I've sent an email and it is processed and received by an exchange server and then viewed by an outlook client. At a later point, I send another email where it is a reply/related to the 1st email. I want outlook to know that they are related and group them together when I group emails by conversation. A couple of caveats...

How to run background task in Outlook 2007 add-in efficiently?

I was hoping someone could point me in the right direction as far as how to run background task in Outlook 2007 while preserving a good User experience. I have a process that loops through each item in a default Outlook calendar and sends information (subject, location, etc.) to a back-end server. I have tried ThreadPool.QueueUserWorkIte...

Outlook Calendar Sync with custom calendar

We have our own custom calendar in our portal which is developed in Java. Is there a way to sync this calendar with Outlook calendar. I can sync this calendar with Google Calendar as Google Calendar API is available. Does anyone know any documentation or links where I can read about this? Thanks ...

Auto accept outlook VBA

Is there a VB macro or some sort of add-on out there that will allow me to auto accept invitations in outlook by sender or by folder? I was thinking about doing a VB script for this but I don't want to re-invent the wheel? ...

Microsoft Outlook interop throws COMException (0x84130003)

I can't seem to find a thing on what this exception code indicates on Google or MSDN, and it's occurring intermittently and without a pattern I can discern. Has anyone run across this before? The failure seems to occur on the final line here: Dim olApp As New Outlook.Application Dim olNS As Outlook.NameSpace = olApp.GetNamespace("MAPI")...

sending outlook meeting request through asp.net application

Can anyone please send me the code to sending meeting request through .net web application? ...

Outlook Folder Browse Dialog???

Hello there, I'm hoping someone could help me with a quick point in the right direction. ALL I NEED is the Outlook folder browser dialog call. I am developing some plugins for Outlook using C# and this is a crucial part for both plugins. Hopefully, it is like a standard DialogResult that passes back folder information (selected folder) ...

Outlook 2003 Form Regions

I am creating an Outlook 2003 version of a Outlook 2007 add-in for appointment items. Is it possible create a form region in Outlook 2003 for appointment items? If not, is there a work around to achieve the same level of functionality? Thanks ...