outlook

Outlook Plugin (C#)

I am working on an application which captures the inbound and oubound e-mails for MS Outlook. My plugin seems to be working fine except for one case -- when I directly attach a file to it from Windows explorer (Go to the location of the file, right click it and do "Send To->Mail Recepient"). Whenever I try this the plugin does not seem t...

How to create a button in a outlook window for a mail from a inbox (double click on mail) ????

I am programmer rookie, and I have to create outlook 2007 add-in. I should create a button on the ribbon or taskbar but on the window for the single mail from the inbox. You know, when you double click on mail in inbox, the new window appears. And in that window I need a button which opens a new form with some treeview. Main problem for ...

Iterating over outlook emails very slow

Hello, Using COM access via PowerShell, I want to retrieve certain properties from Outlook folder items. The folder is a shared Exchange folder that has been synchronized in offline mode and outlook is put offline (should be no server access). I use this query, where $pt is MAPIFolder $ol = new-object -comobject "Outlook.Application" $...

<o:p>&nbsp;</o:p> < o : p > & nbsp ; < / o : p > display error

Hello Whenever i receive an email from MS outlook i get this tag < o : p > & nbsp ; < / o : p > (without the spaces) which display's as ? in a <>. Browser page charset encoding is UTF-8 when i change it to ISO-8859-1 the symbol disappears but my other characters goes wrong. I have to use UTF-8 How can i remove this tag sequence. PHP ...

Using Outlook through VSTO

Hi, I am writing a small Excel VSTO application. In one of the windows the user writes a full name of a recipient and I want to resolve the recipient's exchange address. I got it to resolve names fine - but when you use a name that is used by more than one person the resolve fails. When you do this in outlook a dialogue shows up which a...

Saving E-Mails into a Silverlight Application

We have an Silverlight applications for tracking Sales Leads. In this application files can be attached to the Sales Leads using the File Open dialog and a file upload module. This works great. In a perfect world, the client wants to be able to drag and drop e-mails onto the lead in the silverlight application. I know that this is a ...

Outlook Calendar capture events

I am trying to capture the entries for calendar events from Outlook in my C# code and I am having trouble in capturing the recurring records. They seem to show up everyday even though if I make a recurring record for a week/month. Is there a workaround for it? ...

C#:Security issue while accessing outlook from C# program when published as a site

I am trying to send an outlook appointment from my asp.net page and it works fine when i am running in my VS2008 IDE.But when i published this and configured as a virtual directory, While trying to execute the same, i am getting the below error. Retrieving the COM class factory for component with CLSID {0006F03A-0000-0000-C000-00000000...

executing copy command in a batch file

hi I'm using a windows copy command to perform auto file backup of Microsoft outlook files for a domain users. the problem exists after 6 month of using this batch file is that the .pst file size for each user is growing and the copy operation is getting too long to complete. i want to know are there any way to copy only the changed bi...

is it possible to delete an email from outlook or outlookexpress programatically?

Hi, I want to know if it is possibel to create a COM component to monitor emails commin into Outlook 2007? I mean I just want to develop an addin kind of component which when loaded to Outlook should monitor the emails. Monitoring emails in the sense, is it possible to note the from email? and perfom some action such as delete that emai...

Integrate Outlook with SharePoint 2007

I have a requirement in SharePoint site home page. A Webpart to be created with just a label/button "Inbox". When clicked the "Inbox", a dialog box or small window should open showing all the new (unopened) emails. This should be something similar like when logged in Yahoo messenger, a pop up windows shows all the emails. How to create...

Adding calendar entries programmatically in the local environment ie. for Outlook

Hi, I'm looking for a way to add or delete events that can be viewed through outlook on the same machine that my program is running. I'm looking for a low pain / low setup solution, and will be accessing this through java. - Just to ellaborate on that last point, it should be completely local, with no reliance on a network being accessib...

Outlook Calendar Macro (copy appointments)

I'm basically trying to figure out how to create a macro in Outlook that allows me to create an appointment with a specific category, that then copies the appointment from the user's local calendar to an Exchange shared calendar (provided it has the right category). Does anyone have a bit more insight into the Outlook object model on ho...

Silverlight 4 and Outlook 2010 Out of Browser

Dear StackOverflowers; How/what is the best way to access a user outlook while out of browser in Silverlight ? I'm looking for sample code to start making queries on a user e-mail box after the user installs a silverlight app. I know this busts most if not all of the silverlight security sandboxes, but installing elevates the app trus...

Why can't I send mail with Perl's Net::SMTP?

I use Net::SMTP to automate emails. I want to get notification if someone use email into Outlook I used this: $smtp->datasend("Disposition-Notification-To: to.me\@domain.com"); The email sent succesfully but the Outlook client is not getting the notification. Here is a snippet of the code: $smtp = Net::SMTP->new("my mail host");...

Using VB6 to search for existence of DataFile in Outlook

Hi, I am wanting to write an Add-In for Outlook 2003 which, when Outlook is opened, search for the existence of a datafile called DMSDataStore and if it doesn't exist will install the datafile. I have managed to create the Add-In using VB6 and it runs when I open Outlook. However I haven't found the best/easiest way to search for the ...

Outlook VBA: add category on open item

Is it possible in Microsoft Outlook VBA to catch the Open event of any mail item that gets opened? I'd like to add a category label to any mail item I have opened, to have an alternative 'unread' option I could script against for something else. I've tried this: Private Sub MailItem_Open() MsgBox "test" End Sub ...

Is it possible to rename Outlook Category programmatically?

We are developing Outlook 2007 add-in. For testing outlook category renaming I've added the following code block var session = Application.Session; var categories = session.Categories; var category1 = session.Categories[1]; //catefory1.Name is "Group1" before executing line below category1.Name = "TEST!!!"; Marshal.ReleaseComObj...

SMSAccount Class on Windows Mobile 6.1

Hello everyone! I'm writing an application for a Windows Mobile phone in VB.Net, and I would like to read SMSs from the phone's memory. According to MSDN, the SMSAccount class is what I need: 'SmsAccount Class 'Provides access to a Outlook Mobile Short Message Service (SMS) account, the account's SMS folders, and the SMS messages they ...

How can I get a user's external e-mail address from a MapiRecipDesc?

I need to know how to get an e-mail address using MAPI. When I examine the contents of a MapiRecipDesc structure (returned, for instance, by a call to MAPIAddress()) I see that the lpszAddress field contains not a normal SMTP address, but what appears to be some sort of an Exchange server query: EX:/o=MMS/ou=Exchange Administrative G...