Category "outlook"

Add a teams-calendar to outlook

In microsoft teams I created a new team and added a new tab - the channel calendar. And now my aim is to include this teams channel calendar to my outlook. Olde

Loop on outlook folders and save all emails into local drive

I now know I can specify emails from which Outlook folders to save to my local drive using the following code: inbox = outlook.GetDefaultFolder(6).Folder("Inbox

How can Outlook addin detect when an account is removed

I get accounts from Outlook like below. Outlook.NameSpace ns = null; Outlook.Accounts accounts = null; Outlook.Account account = null; string

Access private appointments in a shared calendar from Outlook add-in

I develop an Outlook VSTO add-in in C#. I need to read existing appointments from shared calendars to see busy time slots. I have the publishing editor permissi

Getting contacts from Exchange instead of Outlook

I am currently developing an application to be used internally only at work. I need to get the currently logged in user's contacts to use in the application and

Check if email is digitally signed using VB.Net

I would like to know if it's possible, using VB.Net, to check if an e-mail is digitally signed and who is the issuer of the certificate. Using Extended MAPI Wr

How to capture the MessageID of an email that was just sent in Outlook using VBA

I generate an email in vba and send it. I have a class which includes the send event for that email so I am able to tell if the email has been sent. My issue is

VSTO - Outlook how to trace email from Message ID

I'm developing a VSTO add-in for Outlook, Now I get a bounce back email, which included message ID. How can I trace the original email from this message ID in

.SendUsingAccount selection for .onmicrosoft.com custom domain account

I set up a custom domain for my Microsoft 365 business account ("@company.com" is the custom domain which is really "@company.onmicrosoft.com"). I have two othe

Search string syntax for Restrict method

I'm trying to pull a set of five emails from a specified Outlook folder based on two conditions - the (partial) subject line, and received between two specified

How can I reset recurring meeting in vba?

I wrote vba script to duplication my main calendar to another calendar, including recurring meeting. All is well except when the organizer do out-of-order modif

How to use multiple conditions in single DASL filter query in C#? (Syntax) (for advancedSearch() method)

screenshot 1: screenshot 2: BACKGROUND: Currently I am searching for a word in the subject of email in VSTO add-in. My syntax is: string filter = "urn:sc

How do I use IConnectionPoint to capture the "Forward As Attachment" event?

In this article, How to detect Outlook Events ..., Dmitry Streblechenko outlines how to subscribe to Outlook Events not listed in the TypeLibrary. Would these

How to Detect if Office 365 web addin is installed or not?

We have a desktop app with which we want to integrate Office 365 calendar. We will have our users provide their consent by authorising the app in office 365. I

Downloading Email body and attchments in .MSG format in Web Outlook

Is it possible to download email body and attachments in a file in .MSG format in Outlook Web? I am working on an Outlook 365 Web addin and I require to downl

How to reorder Outlook PST mailbox/store in folder pane?

I'm using Outlook 2016 and I have two PST files listed below my default Exchange mailbox/store. In the Folder Pane, I can click and drag the PST mailbox/store a

Error when creating new RDOSession using RedemptionLoader

Below is my code: RDOSession pstSession = null; string binPath = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location); RedemptionLoader.DllLocation6

A LDAP recipient not being resolved correctly when calling Recipient.Resolve

I am developing an outlook Addin c# using outlook object model. My Addin code needs to resolve the recipient in order to act on it based on its resolved type (A

C#: Save selected outlook message as eml file

I created an add-on for outlook using c#. It is proposed to connect to external Document Management System(DMS) and upload documents/emails into it. And now I w

How to Give 'PickFolder' dialogue a title

I'm writing some code in which the user will need to pick both a source folder and destination folder using: Set SourceFolder = GetObject("", "Outlook.Applicat