Category "outlook"

Identifying default outlook profile

I have managed to return all the profiles using this registry path:- HKEY_CURRENT_USER\Software\Microsoft\Office\xx.0\Outlook\Profiles\Outlook\9375CFF0413111d3B

Outlook interop code throws "message has been changed" error the second time when the code tries to save a mail item

First of all, this problem only happens on a few client machines and I can not replicate it on any of my test machines. So I have the following test code in LI

Exchange version from VSTO Add-In

Is there a simple way to retrieve the Exchange version from a VSTO Add-In. I noticed here that WMI might be an option. I would like to avoid powershell.

Best way to change the "From" address on an arriving email in Outlook's VBA script?

My overall goal is to change the "From" sender on an incoming email to something else. Specifically, I get chat logs from Zopim chat and they're all coming fro

How does Outlook know if an MSG file has been sent?

If you start writing an email in Outlook and drag it from Drafts to your desktop, Outlook will open it with the Send button available and all fields modifiable.

What is the VBA property for: Server folder contains x items?

I like to compare the amount of items in each folder on the Exchange server with the amount of items in my local Outlook file. In Outlook I can use the followi

Sending e-mail with Indy doesn't show attachment in Outlook

I have the following problem. I've created a Windows service that sends e-mail with .xls attachments. If I open the e-mail with Windows Live Mail or Web Mail, i

Outlook RecurrencePattern.Exceptions.Count NOT updated after occurrence modified or deleted

I'm seeing a situation where the RecurrencePattern.Exceptions object, at least the Count property in Outlook 2010, is not always being updated after an occurren

How to convert Outlook messages to text maintaining double-byte character set?

I have a code to convert outlook emails into text. Works great except for emails received with DBCS (double-byte character set) from CJK (Chinese/Japanese/Korea

Automation error in global address list lookup

I'm trying to look up a person's email address using the Outlook global address list. Here is the VBA code I use to do it. 'Snip If firstName <>

How to refresh ActiveInspector?

I changed the sender data in the currently open mail. This is well done by the following code: Sub AktiveMailSetVonHotline() Dim oMail As Outlook.MailItem

How to reference server inbox instead of offline inbox?

I want to iterate through my entire Outlook inbox, including messages stored on the MS Exchange Server. However, when I reference my Outlook inbox via: NameSp

Embed picture in outlook mail body excel vba

I am trying to embed a range from a worksheet as an image in outlook mail body. It's saving the picture correctly but I only see blank image in the outlook mail

how to find mail that was send by MailItem.Display()

I have following requirement : Allow the user to drag & drop an email from outlook to a datagrid Prepare a reply mail, and show it so the user can review a

Outlook Advanced Search on property GlobalAppointmentID

Alright so I'm needing some help here. I working with Outlook 2007 PIA (Outlook add-in) and using the advanced search. I'm trying to write a DASL filter for the

PropertyAccessor SchemaName (Outlook MailItem attachment)

I'm trying to generate Outlook HTML-Mail with embedded image from my C# application. I've found out that I have to attach the image and referencing it in the HT

GetExchangeUser() returns null when Outlook 2016 uses Cached Exchange Mode

Developing for: Outlook 2016 Add-In: VSTO (C#) My company is running on O365 (Exchange) and I am developing an add-in which collects their exchange user inform

How do I resolve Runtime Error -2147219712 (80040600):` The operation failed

The following code snippet works in Windows 10 / Outlook 2013. In Windows 10 / Outlook 2016 I get an error at the .send line: Run-time error -2147219712 (80040

Disable outlook security warning when executing an Excel VBA code

My ultimate goal is to give any piece of information on contacts in Outlook or MS Exchange and get their name and email address without encountering any warning

Cannot retrieve the "Received Date" from an Outlook Meeting by using Powershell

I have been trying (unsuccesfully) to obtain the "Received Date" for the meetings in my Calendar by using this script. At first, I thought I could use the Crea