I've set up an Outlook rule that filters for the emails I care about. The action I want to take is to run an external program (python script) to parse each such email. Can someone advise on how to do this? I know of the SHELL function, but I need a way to pass the body of the email to my external program.
I have zero experience with ...
Hi,
I'm looking to create a WPF textbox control that acts similar to the email recipient textboxes in Outlook (the To, Cc and Bcc inputs). I don't necessarily care that much about auto-completion (i've found millions of examples for that), but what I'm really struggling with is how to have delimited text entries in the textbox behave as...
Hi!
How to find items in Outlook inbox by from email?
This version works and finds email:
String sCriteria = "[From] = 'Sebastian Nowak'";
Outlook.Items filteredItems = inbox.Items.Restrict(sCriteria);
This version doesn't work, doesn't find any mail:
String sCriteria = "[From] = '[email protected]'";
Outlook.Items filteredItems =...
Hi,
I work for a company that develops a CRM tool and offers integration with MS Office(2003 & 2007) from windows XP to 7. (I'm working using Win7)
My task is to call an Outlook instance (using C#) from this CRM tool when the user wants to send an email and prepopulate with data of the CRM tool (email, recipient, etc..)
All of this al...
Hi,
Does anyone know how to search the Global Address Book on the exchange server? It seems the 'Address Book' is different to a public contact list, hence this popular example code (or similar) points to a completely different set of contacts:
Outlook.Application app = new Outlook.Application();
Outlook._NameSpace olNS = app.GetNamesp...
Hi
I'm developing a Smart card Minidriver and I'm trying to Sign an Email using Outlook 2007.
I have implemented all of the necessary functions in the minidriver.
I'm able to create a "Smartcard User" certificate and save it and it's private key on the smartcard (using Microsoft Certificate Services via the Minidriver).
When I try to...
I am displaing one particular mail message. I wonder if i can change display preferences. I want to change options to display pictures embedded in mail body. I access to mail in that way:
Outlook.Application outLookApp = new Outlook.Application();
Outlook.Inspector inspector = outLookApp.ActiveInspector();
Outlook.NameSpace nameSpace = ...
I have to generate an email at end of the day (daily-status) which is templated. I have add tasks to different list and on the top, I have to have count of these tasks such as:
X Tasks: 2 of 5
Y Tasks: 3 of 5
X Tasks:
X Task 1
X Task 2
Y Tasks:
Y Task 1
Y Task 2
Y Task 3
I don't want write co...
Hello all,
we are using an an outlook macro for incoming emails to unzip the attachments, log them in sql server and copy them to a special working folder where a windows service processes them.
The problems are:
the user must be logged in at the
server otherwise the macro wont run.
I think there is no workaround for
...
Okay, the specs have changed on this one somewhat. Maybe someone can help me with this new problem.
Manually, what the user is doing is opening an new message in Outlook (2007 now) which has the "From..." field exposed. They open this up, select a certain account from the Global Address List, and send the message on behalf of that accou...
Hi I have an Outlook form that I'd like to provide ready access to by adding a button or link to it on the outlook toolbar. How can I customize the toolbar to do this?
Essentially, a single click of the button on the toolbar should bring up the custom form.
This should work in Outlook 2003 and 2007 (preferably). If it only works in 2...
Hi all. I want to write a macro for Outlook that is called when I click the X. I want the Application_Quit() subroutine to stop the program from quitting, then minimize it instead. I can figure out the minimization, but how to I prevent it from quitting?
...
How can I integrate services like Google or Microsoft and use information from the user like Google Calendar information. For example, how would I sync the Microsoft Outlook notes with an app on Android?
...
My native raw C++ program uses MAPI to traverse the tree in the Exchange Server.
Sometimes when I call HrGetOneProp() on a IMAPIFolder* pointer to retrieve PR_DISPLAY_NAME it fails with HRESULT 0x80040115. It only happens for one particular folder, all other folders names are retrieved allright.
Outlook 2003 running on the same machine...
In my outlook I have 1 exchange connection and 2 Personal Folders.
I want to go fetch ALL items from the calendars and contacts so I use:
/**
* Create outlook application
*/
Outlook.Application oApp = new Outlook.Application();
Outlook.NameSpace oNS = oApp.GetNamespace("mapi"...
Hi,
I am trying to transform my Outlook2003 into the closest thing to gmail.
I started to use categories, which are pretty similar to labels in gmail. I can assign categories automatically with rules, and I can add categories manually.
I have also created "search folders", that show all mails with a given category, if they are not in...
Based on http://support.microsoft.com/kb/306108 I'd like to create a custom rule that shows a custom UserForm instead of the plain old MsgBox. What I wrote was this:
Dim alerts As CustomAlerts
Sub CustomMailMessageRule(Item As Outlook.MailItem)
alerts.Messages.AddItem Item.Subject
alerts.Show
End Sub
CustomAlerts is a UserForm...
I have a pst that has a bunch of emails I want to print using the Microsoft Document Image Writer so that I have a folder, //lawyers/ediscovery/emails/ that has 00001.tiff 00002.tiff etc. In Word or Excel, I can pass the Workbook or Document a filepath to the PrintOut method, but the Outlook MailItem interop's PrintOut doesn't take any a...
As part of my Outlook Addin I would like to add a control to the Ribbon which has the same format as the 'Home\Quick Steps' and 'View\Arrangement' controls. Does anyone know if these can be created by Addins?
...
I have a list of People and E-Mail addresses that my client would like to be able to download and then import into their GAL (Global Address List) in Outlook. Right now it is in a DataGrid. Several questions...
Is that possible?
What format do I need to put the list into so that it can be imported?
How do I import it?
I haven't bee...