outlook-2003

Automated processing of an Email in C#

Hi All, Similar question as this one but for a Microsoft Environment. Email --> Exchange Server -->[something] For the [something] I was using Outlook 2003 & C# but it feels messy (A program is trying to access outlook, this could be a virus etc) Microsoft.Office.Interop.Outlook.Application objOutlook = new Microsoft.Office.Interop.O...

User Control in Folder Home Page Doesn't Initialize

I am programming Outlook 2003 using Visual Studio 2008. Add-in uses embedded user control in folder's home page, exactly as it was recommended. Here is HTML code that is using: <html><head><style type="text/css">body{overflow: hidden}</style></head> <body rightmargin = '0' leftmargin ='0' topmargin ='0' bottommargin = '0' onload='OnBod...

How to create vertical seperator between controls on an outlook command bar?

I am creating an outlook 2003 addin which adds some dropdown and button on each mail item opened.I have created a command bar and have added the controls to that command bar . But if i look at the standard tool bar on mail message, each button is seperated by a vertical bar but in my tool bar there is no seperator. How can i create the v...

Can I read an Outlook (2003/2007) PST file in C#?

Is it possible to read a .PST file using C#? I would like to do this as a standalone application, not as an Outlook addin (if that is possible). If have seen other SO questions similar to this mention MailNavigator but I am looking to do this programmatically in C#. I have looked at the Microsoft.Office.Interop.Outlook namespace but t...

Get Exchange folder size using Redemption.dll fails when used from Outlook2007

I am using Redemption.dll (Version 4.7.0.1026- latest) in an Outook (2003/2007) Add-in where i need to retrieve the exchange mail box size. To get the folder size, I am using the function get_Fields(): foreach (RDOStore store in rdoSession.Stores) { int size = 0; if (store.StoreKind == TxStoreKind.skPrimaryExchangeMailbox) { /...

Using Redemption (Outlook) with a user other than the logged in user - and getting errors

I'm using Redemption dll (http://www.dimastr.com/redemption/) and I've created an exe that accesses my mail box. I run the exe in Windows Scheduler under my username and it works fine, I get an email sent to me (see below code). When I change the runas username in Scheduler to someone else and try to access their mail box Profile I get...

Does the SaveAs method in Microsoft.Office.Outlook.Interop have a maximum file size?

Is there some type of undocumented file size limit when using this method to save to a UNC path? http://msdn.microsoft.com/en-us/library/microsoft.office.interop.outlook._mailitem.saveas.aspx I made an Outlook add-on that copies the currently selected email(s) to a network server. Works great until you try to save an email that has man...

Programmatically set synchronization profile on Outlook 2003

I know that Outlook does not provide any way to configure synchronization profile in the famous MAPI. It only provide API to syncStart/SyncEnd a defined sync profile, with one exception call "Application Folders" I am now using PRF to setup the Outlook, but it is difficult to read and I cannot find a reference to do an advance customiza...

VSTO CommandBarButton position

I'm writing a VSTO add-in to add a button the Standard toolbar for all new MailItems in Outlook 2003. I've got it mostly finished, but I can't see to work out how to set the button's position on the taskbar - ideally I'd like to place it right next to the Send button. Here's the code I have so far. Private Sub colInsp_NewInspector(By...

Outlook Form

Hello, i had to modify an existing form, which i did and saved it on my desktop as .oft file. My problem is that when ever i send this form i have an old signature that shows. for instance, if i double click the .oft file i see the body with that old signature and then my newer one below it. I would like to delete that old signature tha...

More outlook VSTO help...

I posted an article here (http://stackoverflow.com/questions/1095195/how-do-i-set-permissions-on-my-vsto-outlook-add-in) and I was able to build my installer. I thought that once the installer built itself, everything would work fine. I was wrong. It works on about half of the PC's I've run the installer on. My problem is that the othe...

What *is* an IPM.DistList?

I'm trying to get the recipient addresses within an IPM.DistList that is stored in a public folder (of type contacts) in Exchange 2003. The typeName of the object (once I get hold of it) is a Message (with a parent object being a Messages collection) and the messageType is "IPM.DistList". I can find all sorts of things about IPM.DistLi...

Script to modify outlook (2003) contacts

I'm trying to clean up my outlook 2003 contacts, which has become a rather ugly mess of various formatting, etc. Basically, I have a bunch of contacts, in the form of either: 0xxxxxxxxx [ten digits, starting with 0] 0xxxxxxxx [nine digits, starting with 0] 0xxxxxxxx (xxxxx) [the same nine digits above with the last five repeated in par...

Send e-mail through VBA

Hi, I am currently testing how to send an e-mail automatically using VBA within Outlook 2003, to start I have copied the below from the help files: Sub CreateHTMLMail() 'Creates a new e-mail item and modifies its properties' Dim olApp As Outlook.Application Dim objMail As Outlook.MailItem Set olApp = Outlook.Application ...

runtime error 287 when sending mail using vba in access 2003

Hello! I am currently writing a vba macro to send e-mails and the messages are created but do not sent as an error is generated. My current code is: Function CreateHURMail(Filename) Dim olApp As Outlook.Application Dim objMail As Outlook.MailItem Set olApp = New Outlook.Application Set objMail = olApp.CreateItem(olMailItem) With obj...

Creating a new email in Outlook including email body text

On a corporate intranet where all of our users are using Outlook 2003 I have a need to allow a user to click a link that opens a new email window with a prepopulated message body, subject and To line. The body text requirement eliminates a simple option like a MailTo link. I know there is an EML format Outlook uses, but I don't see how ...

php mail headers for outlook - the email arrives empty to outlook, and great to gmail to yahoo

mail($to, $subject, $message, $headers); the $header is: From: [email protected] Reply-To: [email protected] Content-Type: text/html; charset=iso-8859-1 X-Mailer: PHP/5.2.5 MIME-Version: 1.0 I built $header with those line and I changed the order in every way, putting the Mime in the beginning, at the end, moving the from ...

Outlook 2003 Plugin not receiving resize events

I have an Outlook 2003 plugin that I am developing in C# using VSTO in Visual Studio 2008, and I am having some trouble with resizing when using Word 2003 as the composer. The plugin adds an extra panel to the bottom of the compose window (shrinking the main compose window slightly.) The extra panel contains a RichTextBox and a few othe...

VSTO - Add custom task to a Send and Receive group

I am writing an Outlook addin. I am using VS2008 and my customer is using MS Office 2003. It is a synchronization addin I am writing, and I couldn't create my own scheduler running next to the send and receive job in outlook, but mostly I would like to add my sync-job to these tasks in the Send and Receive group. I have tried to look a...

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...