outlook

How to find count of appointment items copied in Outlook 2007

In Outlook 2007 When a user has two calendars say Test and actual calendar and he goes to View All appointment in test calendar, copy say around 20 to 30 appointments and paste them in actual calendar's "All Appointment items view, how to get a message box saying so many items copied. And to add further to my comment above if the copy/p...

Outlook 2007 Html table td elements

I try to make newsletter compitable wiht Outlook 2007, but Outlook rendering engine isn't very logical. Following code is not making borders as width of 1 pixel like in Firefox and other rendering engines, but it adds some extra space between some of these td-elements. Is there a workaround for this issue ? <table> <tr> <td width="0" s...

Getting Outlook::_MailItem from Outlook::Attachment (embedded email)

I'm writing an Outlook Addin using VC/ATL. This particular addin takes selected email messages and writes them to disk. It also writes all of the associated attachments to disk. We then read everything in to our application outside of Outlook. Using the Outlook object model, this is pretty straightforward as both _MailItem and Attachmen...

Registering custom url protocl handler that Outlook recognizes?

Good morning, I've successfully created a little app that registers itself under a custom uri protocol ('irma:') following the msdn entry at http://msdn.microsoft.com/en-us/library/aa767914(VS.85).aspx This works perfectly fine when opening such a link manually via the shell/cmd etc, but when sending out links like that, outlook does n...

Smart quotes in a MimeMessage not showing up correctly in Outlook

Our application takes text from a web form and sends it via email to an appropriate user. However, when someone copy/pastes in the infamous "smart quotes" or other special characters from Word, things get hairy. The user types in he said “hello” to me—isn’t that nice? But when the message appears in Outlook 2003, it comes out l...

Remove Confirmation Box vbs script

I have the following code where i could send mail through my configured outlook. I can run this vbs using a rule in my outlook which in turn send a mail to the email specified in the script But i am getting a confirmation box asking a virus or not while running this script to send a mail. How to get rid of this confirmation box to mak...

Form Contols in Outlook Interface

I want to make an interface that looks like Outlook. In the center pane, outlook contains a styled list that has multiple lines of formatted text and icons. What control would I use to achieve this effect? Thanks. ...

How can an add-in add a NavigationModule in Outlook 2007?

How can I a NavigationModule to the Outlook 2007 Navigation Pane? I'd like to do it through the API but other solutions are good too. ...

How can I dump emails from an Outlook .pst file into a MySQL database?

What would be the easiest way to take a Outlook pst file and export all of the emails into a MySQL database? ...

Outlook VBA: UserForm not responding (can't close, button click event doesn't fire)

I've created a simple UserForm in my Outlook VBA macro - I can make the form visible using this code: VBA.UserForms.Add (PasswordForm.Name) PasswordForm.Show (Modal) ...and the *UserForm_Initialize()* event does in fact fire. But clicking on the "Submit" button on the form does nothing - the SubmitButton_Click() event (which was auto...

VSTO and Outlook 2003 Context menus

Hi Guys, I want to have outlook 2003/2007 integration with my application using VSTO. with outlook 2007 it's OK - i have all the hooks i need but with outlook 2003 i can't find how to add conext menu item to the mail items in the inbox. I didn't find any event handler for populating the context menu like the one in the 2007 version. D...

Outlook 2007 addins for filtering attachments accordingly to recipients.

My question is that I need to send attached mail to domain users and non domain users. Domain users will receive .lnk of the attached file where as non domain users will receive physical file. Now I am doing by capturing send event of outlook and internally divided mail in two parts for domain users I crated .lnk of the file and attache...

Any way to extend or modify drag-and-drop in Outlook with VSTO?

I have an add-in I'm working on in Outlook that relies on drag-and-drop to save an Outlook file to a file automagically. The problem is that the default behaviour is to use the email's subject line as the filename, and emails with extremely long subject lines send an error as there's not enough space in 250 characters to store all of it ...

COM Error 0x80004003 (Invalid Pointer) access MS Outlook contacts

I am some ATL code that uses smart COM pointers to iterate through MS Outlook contacts, and on some PC's I am getting a COM error 0x80004003 ('Invalid Pointer') for each contact. The same code works fine on other PCs. The code looks like this: _ApplicationPtr ptr; ptr.CreateInstance(CLSID_Application); _NameSpacePtr ns = ptr->GetName...

How do I create an Outlook macro that changes email signature based on recipient domains?

I'd like to use an Outlook macro to change my email signature depending on which domain I'm emailing. So if I'm only emailing internally (my companies domain) then I use a short signature, but if at least one recipient is external then I use a long signature. Is that possible? I'm guessing I need to intercept some sort of "Send" event ...

How to copy an entire single email from outlook?

Our website allows visitors to use their own email client to send in sales questions to our sales staff. For various reasons, we do not want to switch to a contact form. In the past, these emails come into myself, and I just forward them on to various sales reps here in our office. My end goal is to figure out a way get the email in...

Outlook macro to jump to (open) IMAP Inbox

I am using Outlook to sync mail with GMail via IMAP. Unfortunately, Outlook's default shortcut to go to the Inbox (Shift+Ctrl+I) opens the original Inbox, not the new default IMAP Inbox (which I have specified as the new Outlook default e-mail account). I'd like to create a macro that I can bind to another keystroke, which will open th...

How to read Outlook nickname list file (.NK2)?

Anyone know how to read Outlook nickname list file (.NK2)? Any document on how its format is? ...

Outlook template file

Hi I have an OFT outlook template that has input text boxes. I just have a link for a web page to that OFT, and all what the user has to do is to click on that link (which point to a local oft file) and the outlook on the local machine will open that template. Everything is working fine except for the startup position of the cursor. T...

Outlook 2003 add-in stops loading

I created an Outlook 2003 add-in using C# 2.0 in visual studio 2005. This add-in adds a button to the toolbar when someone is replying to or creating a new email. When the user clicks on the button to send an email, the code records this information to the database. This plug-in is used by our sales and marketing teams. IT tells me that ...