outlook-2007

Outlook 2007 - clear categories when I clear flag

When I clear the flag on an email, how can I set a rule (or create a script) to clear the categories (if any) that I've assigned to the email? ...

Blackberry ESS standalone mode & Outlook 2007

I launch Blackberry ESS in standalone mode. However I don't have Outlook Express on my computer. Instead I have Outlook 2007 on my computer. I set up an email account in Outlook 2007 which uses 'localhost' as its pop3/smtp server. The port numbers I used are the same as those in http://www.blackberryforums.com/developer-forum/5590-sendin...

Why Outlook2k7addin DLL remains loaded when I am returning E_FAIL from onConnection?

Hi, I havea a COM Addin for Outlook. Its supposed to work with Outlook 2k-2k3-2K7 and it does. We now are in a process to use new Ribbon UI (.NET based) for Outlook 2k7 and hence do not want the addin to load if we are running Outlook 2k7. I do not have much knowledge about addins, as I have recently started with this project, but what ...

Is there a list of IDs for the Outlook MAPI namespace?

I'm working on an Outlook add-in and I'm looking for a complete list that relates that MAPI properties to there names that is a little less vague than this. There is plenty of documentation on how to access those properties, but I'm not having much luck finding anything that tells me what any of the properties are. P.S. I've seen this...

Is there a program to preview an HTML ad in outlook 2007?

So like many online companies, we send e-mail advertisements. Outlook 2007 has some quirky HTML rules so things that look fine in any browser, when sent to Outlook 2007, look horrific. Is there a program where I can preview what the HTML would look like in Outlook 2007? ...

Create a button that links to a website from within an Outlook 2007 signature

Apparently, Outlook 2007 no longer supports embedded HTML code within signatures. I had no difficulty adding a DONATION button to my signature, but I'm unable to link from that button to a website. Does anybody have a suggestion to accomplish this? ...

iCalendar to force the 'Accept/Decline' buttons to appear in an updated event instance for Outlook?

Does anyone know what iCalendar conditions I need to force the 'Accept/Decline' buttons to appear in an updated meeting message for Outlook 2007? Is there a combination of regular iCalendar fields, or some X-MICROSOFT fields I'm missing out on to force a re-accept? Our updates come far enough after the initial message to make a re-acc...

Outlook Automation from a web application to create appointments

Is it a standard practice to automate outlook from a web application using ActiveX technology? How does this compare with a web scheduler like telerik's RadScheduler + telerik's Exchange Provider to schedule an appointment from the web application itself? Thanks, Sendhil ...

Outlook 2007 - Email Flag Status

This might be a duplicate of this question? Is there a way in Outlook 2007 using VBA to set a follow-up flag on an email object? It looks like it was supported in Outlook 2003 with .FlagStatus property, but I can't find it in 2007. In advance, thanks! I got a vote for this to be moved to SuperUser and considering this is VBA, it seem...

How to programmatically rename an Outlook 2007 item attachment?

How do i programmatically change the filename of an Outlook item attachment. Ideally I'd like it to be something like this: Outlook.DocumentItem d; foreach (object ob in oFolder.Items) { d=(Outlook.DocumentItem)ob; d.Attachments[1].FileName = "xyz.pdf"; } Please ignore assumption about there being an attachment, Im only interested...

Outlook 2007 never seems to shut down when instructed to

Currently working on a VBScript to automate some of the dirty PST ingestion work I do, and I've found something problematic after upgrading from Outlook 2003 to 2007. (Had to upgrade to get around a RTF Body issue in OL2003 ..) Even after you instruct Outlook to close the PST store, Log off and then destroy the object (set objNS = Noth...

Outlook 2007 AddIn cannot move, or delete MailItem from Drafts folder

I have tried many permutations of the same code, and always with the same result - the Outlook 2007 AddIn seems to be unable to remove the MailItem from the drafts folder - so a 'move' operation actually becomes a 'copy', and a 'delete' operation does nothing. (Note: The AddIn was responsible for creating the item in the Drafts folder i...

Outlook 2007 vsto send email with HTML content

Hi, I am developing the addin for the outlook 2007 using VSTO. One of the function is to capture the send event, then force convert the email format to HTML and then insert a link to the bottom of the email message content. Following is my code to convert the email content to html format: mailItem.BodyFormat = OlBodyFormat.olFormatHTML...

Is there any way to add a specific category and flag an email in VBA?

I normally go through my email and flag anything for follow up and categorize for: Phone Call Email Talk To Setup meeting Is there any way in a Outlook VBA macro, I can (in a single macro), both flag an item for follow and set one of the above categories on it? ...

Why doesn't this Outlook 2007 VBA work (I'm trying to remove a flag programatically)?

I have some code that adds a flag to an email but when I try this code below to remove it, it doesn't seem to have any effect in Outlook 2007. Public Sub Clear() Dim objOutlook As Outlook.Application Dim objInspector As Outlook.Inspector Dim strDateTime As String ' Instantiate an Outlook Application...

VSTO - Outlook 2007 - Display form before send message???

Hi, I'm new to Outlook add-in programming and not sure if this is possible: I want to display a pop-up form (or selection) and ask for user input at the time they click Send. Basically, whenever they send out an email (New or Reply), they will be asked to select a value in a dropdown box (list items from a SQL database, preferrably). B...

C# Outlook 2007 add-in: Recursive parsing of mail items.

Hi all, I'm writing an add-in for Outlook to parse all mails within a folder by clicking on a custom context menu button. I've got the button hooked up, but when trying to use the foreach loop within the folder to check the mail items it only seems to check the first one. I grab the folder details here: void Application_FolderContextM...

Addins tab missing in Outlook 2007 ribbon.

I can see Addins tab is missing from Outlook 2007 ribbon on some PCs. In most cases it's there. But in some cases Addins tab is hidden so all addins buttons are not available. Is there a way to display it? ...

Get email folder from MailItem via MAPI interface

I'm creating a program to automatically generate reports from incoming email attachments and it is almost complete save for one area. The incoming emails are automatically filtered into folders which differentiate which client and server they originate from. I can't figure out how to get the path of the folder from the email Item. I'm u...

Is it possible to create a custom mail storage for MS Outlook 2007?

I know that Outlook stores all mail in a .PST file. Is it possible to create a custom storage engine for outlook 2007? I would like to have the functionality similar to 'Personal folders', but have a new node of folders where everything is stored in a SQL Server database. Is Outlook extensible enough to allow swapping the internal s...