Category "outlook"

Searching olFolderSentMail by domain of email address with VBA

I want to find mail in the olFolderSentMail folder, using the domains of the email addresses, with VBA. When I make an advanced filter in Outlook, the result co

Get primary SMTP mail from department in Outlook addressbook

I achieved resolving Names with this code from an example: Function MailSuchen(strSuchen As String) Dim objEmpfaenger As Outlook.Recipient Dim objExchBe

How to choose the signature automaticaly?

I have several signatures in html format. I need to choose one of the signatures according to the domain included in To: and CC: label. The code below merges t

Get the failure reason from a mail in outlook

I am doing some automation on outlook mail box, previously it was lotus notes.So i am looking for equivalent properties in outlook. The lotus notes mail items h

Outlook - Shared Mailbox - Quick Steps

I am wondering if there is a way to use your own Outlook quick steps in emails using a shared Mailbox? I have seen the way of using MFCMAPI to export the Quick

How can I track an event in outlook if any user is adding or deleting outlook category

In my case suppose an outlook script is running on an extra system based on excel rules for email categorizations. Now (ABC) mail box is configured on extra sys

slow performance of outlook addin to get contact item for distribution list

I have the following code it takes lot of time to retrieve contact items from the distribution list, exchange server. Is there anything can be done to tune it s

DASL query to restrict tp emails which have recipients outside our organization

I would like to restrict emails which have recipients outside our organization using my domain. Is there a way to restrict emails using NOT LIKE condition? I am

Weird characters in email body

I have a little problem with VBScript. There is how it should work. It is a simply code that should go through all emails in particular folder, get particular e

MS Outlook 2016 - Macro VBA search by conversation not all flagged as done

Is there a way to create a search folder in Outlook, that returns only conversations where not all emails in the thread/conversation have been flagged as comple

How to Open Outlook file attachment directly not saving it? ( with C# VSTO)

I need to open mail file attachment directly from mail. Let say I have .txt file. I have already attached it to my mail. But now I need to open it, change some

How do you copy RTF attachments into a new mailitem?

I am working with C# Outlook Object Model (with a little bit of C++ extended MAPI for decoding TNEF for RTF mails) and am trying to find a way to get the attach

.SentOnBehalfOf and .SendUsingAccount on forward

I go into a shared inbox and forward an email as myself, to my boss, using HTML formatting. I wrote VBA code that works on every step except changing the From l

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