outlook

Outlook - Email - HTML - CSS - Right-align content

Hello, I am trying to create a report that will be delivered via email. Outlook is a required application in our environment. The content of the report is HTML and it uses table-based layout. Some of the content needs to be right-aligned. However, Outlook does not appear to be displaying the content as being right-aligned in a table ce...

Outlook Redemption GetFolderFromPath on public folders

When I try to access a public folder using Session.GetFolderFromPath I get an error "Error in IMAPITable.FindRow: MAPI_E_NOT_FOUND" at >>: Type COMType = Type.GetTypeFromProgID("fkvbmapi.FKRDOSession"); RDOSession session = Activator.CreateInstance(COMType) as RDOSession; Session.LogonExchangeMailbox(user, server); >>RDOFolder folder = ...

Enumerating Outlook Mailbox using Visual Studio

I have the following class which is intended to return the subject line of all the emails in a folder It is Visual Studio 2008 against Outlook 2007 running on Windows 7 64bit using System; using System.Windows; using System.Collections.Generic; using System.Linq; using System.Text; using Microsoft.Office.Interop.Outlook; namespace Mar...

possible to intercept and rewrite email on outlook client side using ironpython?

I want to intercept and transform some automated emails into a more readable format. I believe this is possible using VBA, but I would prefer to manipulate the text with Python. Can I create an ironpython client-side script to pre-process certain emails? EDIT: I believe this can be done with outlook rules. In Outlook 2007, you can do...

Associating custom ribbon with custom form region - Outlook 2007, C#

Hello, Is there any way how can I associate custom ribbon (custom tabs and buttons I created in VS designer) with a custom form region? I know that I can extend the existing windows with my ribbon (such as Compose message, Contacts...), but how can I create a new tab with custom ribbons at the top and custom form region at the bottom. ...

Starting a new Outlook 2007 Message from C# .NET

Hello, I'm looking for the most barebones complete example, to launch Outlook 2007 with a new message started via C# .NET (I happen to be using VS2008 .NET 3.0) Here's what I'm trying: using System; using System.Collections.Generic; using System.Text; using Microsoft.Office.Interop.Outlook; namespace CreateMessage { class Progra...

How to create a MAPI32.dll stub to be able to "send as attachment" from MS Word?

Microsoft Word has "send as attachment" functionality which creates a new message in Outlook with the document attached. I would like to replace Outlook with a custom mail agent, but I do not know how to achieve this. Now my mail agent is simply a program that runs, and takes a file name as parameter. As far as I know, "send as attac...

Visual Basic 6: Read MSG files and extract content

Hi, I would like to read MSG file stored on the filesystem and do the following: Read the body text of the msg file. Open and save the attachments in the MSG file. Is it possible using the msoutl.olb#Microsoft Outlook 10.0 Object Library? I would like to avoid using Outlook Redemption v. 4.7 based on question MSG Read Stackoverflo...

Customising CRM Contacts address list

There are 2 customisation tasks I have been asked about on the Outlook client CRM Contacts address list:- 1) Adding/removing columns to the list 2) Allow users to select email 1 or email2 for a contact. In CRM, there are 2 out of the box email fields, but the only one you can select in the address list is email1. For this to happen, th...

Looking for an ASP.NET planning control

Hi, I'm looking for a planning control (like Outlook's calendar for example) for ASP.NET. I found a lot of non-free controls, but none free (even on http://asp.net control gallery). Does anyone know about a free planning control? Thanks. ...

Outlook Automation from c# - suppressing validation messages.

Hello All, I am invoking a new meeting window from my outlook addin and allowing user to create new meeting and send. When user does not enter subject or location, i am validating (with yes/no buttons to continue) them and when i call .send() method on outlook interop object it is also validating and popping up the message. So, its doub...

Dragging items from my C# app into Outlook 2003/2007?

In Outlook 2003/2007 you can drag files from Explorer into its main window and message editing windows to attach a file. But how can I use my own C# app in place of Explorer to do this? Do I need to extend Outlook (by hooking into COM events or otherwise), or does my C# app need to do something special in its drag/drop event handlers? ...

show a folder as an e-mail address book

Hi, I have a folder in my OutLook 2007. I want to automate the process of showing the folder as an email address book using visual basic. Thank you, ...

Firing a macro on saving a calendar event - Outlook VBA

Hi, I'm trying to automate the adding of a keyphrase to events added to my outlook calendar (depending on the type of the event, want to add different keyphrases so that my smartphone profile switching software will correctly switch the profile depending on what I'm doing...) Ideally, I'd want to hook an onsave event for calendar items...

Outlook Tasks Body field - how to set formatted text programmatically?

Hello. I would like to know more about Outlook Tasks Body field (place where you put formatted text inside) - I assume it uses RTF to render it? (Because I tried using html, it didn't render, it just outputs tags in plain text). Can I change it so Outlook would render Html? I`m trying to sync outlook against some data using this Stssy...

Is Outlook-friendly HTML code different from code for a conventional web page?

My web-app has to deliver db-generated content by email. The HTML need not include javascript but _does have to include images and CSS. It's a safe bet that most users will be viewing this in Outlook. Are general guidelines different for html destined for email vs. IE? ...

MS Access Outlook integration

Good day!! I'm just new to outlook. Can i do update/delete contacts,appointments,tasks to outlook using ms access? is it the same behavior with the all versions of outlook? Thanks ...

C# close Outlook "Outbox is not empty" dialog programmatically

I have a program that sends information in the background using Outlook. I want to avoid having the user deal with the "Outbox is not empty" message that appears when a user tries to close Outlook when an email is in the outbox. because in most cases the email in the outbox will not be an email they sent themselves. I am able to get a ...

How to save email as draft in Outlook 2003 programmatically?

I am working on an VB.NET app which constructs emails programmatically. This app can be used by different people at the same time so I thought that having a "central" email mailbox would be appropriate. The users would then have "links" (not sure of the correct term) to that central mailbox through their local copy of Outlook. I want ...

Create an external table in access with outlook contacts programmatically

I'm not sure if this is possible, but i would like to create an external table in access with outlook contacts programmatically. I've searched in the Microsoft Access object model, but couldn't find a method or property that enables you to do so. I need this for synchronizing contact persons between outlook and an application I'm buildi...