Category "outlook"

Find all email addresses corresponding to an ambiguous name

User has a column with names (or name, surname) to send email. When there are several with the same name and surname the macro is selecting the first matching.

How to reference a Subfolder of Archive?

I'm using Outlook 365 - Microsoft Exchange(owa). I have written a script that looks for emails in my Outlook Inbox with any subject line containing "PHI Attriti

Deleting mails from shared mailbox, one at a time, is very slow

I have a macro in Excel to delete mails older than 30 days from folders and subfolders in a shared mailbox. I have a sub for looping through each subfolder and

What are all the possible expression keys used in Outlook .find .restrict method?

I can't come across the full list anywhere, it makes life creating tools for outlook particularly painfull. I am creating series of tools in WPF integrating wi

Outlook email to pdf on python

I would like to convert outlook mails from the sent box into pdf. Is there a library for this? I have not found anything on the internet.

Outlook event: On change 'From Address'

Does any one know if it is possible to hook into the event when a user changes the 'From' address drop-down in Outlook 2016: I've gotten as far as testing ou

PowerShell - Automate loading .pst files into Outlook and exporting individual .msg items inside

I am currently working on a project where I have been given a lot of .pst files. These files contain individual .msg files inside which I need to run an analysi

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