Questions tagged [outlook-2016]
246 questions
1
vote
2 answers
ICS file rendering raw HTML when opened in Microsoft Outlook 2016 but not in MS Outlook 2013
I have ICS file which is created from T4 template as follows.
BEGIN:VCALENDAR
PRODID:-//Microsoft Corporation//Outlook 11.0 MIMEDIR//EN
VERSION:2.0
BEGIN:VEVENT
DTSTART:20190129T013000Z
DTend:20190129T023000Z
SUMMARY;ENCODING=QUOTED-PRINTABLE:…

Hasitha
- 150
- 1
- 13
1
vote
1 answer
"Interface not supported" ComException when setting RDOSession.MAPIObject
My addin is encountering the error on some client machines when trying to set as RDOSession.MAPIObject= application.Session.MAPIObject in a C# based com add-in.
The code is executed in the main thread, RDOSession object is created through redemption…

Tim
- 45
- 8
1
vote
2 answers
Send mail with "Send As" or change sender
I'm making a script to automate Outlook 2016. I have one account with two different inboxes from clients.
At the end of the script, I need to send an email from the name of the inbox the script is run from. I'm authorized to send email in the name…

LCabaAres
- 15
- 1
- 10
1
vote
2 answers
Windows 10 / Office 2016 - Selected item is not attaching when I run my macro
For some reason, I can't get the selected item which would be an email from my inbox to attach as an attachment when I create a new mail from my macro. I'm using Windows 10 / Outlook 2016. I had this working in Windows 7 Office 2010, but I'm not…

BWS
- 13
- 2
1
vote
1 answer
Outlook 2016 Add-in Dialog Height and Width Swapped
I’m working on an add-in for Microsoft Outlook. Since the August 1 update of Outlook 2016 (Version 1807, Build 10325.20082), we have seen that dialogs that are being opened with displayDialogAsync() are displaying incorrectly (see code sample…

K. Yu
- 11
- 3
1
vote
0 answers
Outlook VSTO Sending Under Shared MailBox is Sent "On Behalf Of"
There are 2 Exchange (Office 365) inbox accounts personal@mail.com and shared@mail.com.
From Outlook 2016 when composing a new email, I can normally select the "From" and set it to shared@mail.com and the recipient gets it as shared@mail.com. If I…

Adam
- 3,872
- 6
- 36
- 66
1
vote
1 answer
Searching in shared folder limited to 250 in Outlook
At work we are using Outlook 2016 and we have a shared folder. I am trying to count those emails in a subfolder of this shared folder which have a specified text in their body. I got one solution, but that is too slow (there is thousands of emails…

donmichael
- 68
- 6
1
vote
1 answer
Treating Item As MailItem
I am creating an VBA application in Outlook 2016. It analyzes an incoming email and takes its subject line to search for duplicate (or close to duplicate) subject lines. I use a for-each loop to go through a list of Items (which are emails within…

KevinThePepper23
- 98
- 9
1
vote
1 answer
Automatically Remove Warning in Email Body
Our Corporate Exchange admin decided to protect users from phishing by adding a bold red warning in the body of every incoming external email, just in case it might be a phishing attempt. bc MOST of my email is external, this has become obnoxious. I…

tawm
- 33
- 1
- 6
1
vote
2 answers
How can I use vba to create a rule to move sent items to folder?
In Outlook (2016 or 365), I would like to use VBA to create a rule that moves items I send to a specific person.
I've got most of the code done (lifted from a Microsoft code sample), but I can't figure out what the condition fields should get. I…

JimG
- 31
- 5
1
vote
2 answers
How to trigger ItemChange when a Task is updated?
I took this code from the internet to automatically send the tasks that are completed to a specific folder ("Completed Tasks"). It didn't work, I would click to complete the task and it wouldn't get moved.
I put msgboxes to pop up at three parts of…

user9245034
- 21
- 5
1
vote
0 answers
Enabling Run-a-Script option in Rules Wizard (Windows 7, Outlook 2016)
The "Run a script" option is disabled for security by a Windows update.
Here https://www.slipstick.com/outlook/rules/outlook-2016-run-a-script-rules/ you can see the difference before and after the update: "start a application" is missing. If you…

Sascha
- 4,576
- 3
- 13
- 34
1
vote
1 answer
Outlook VBA macro to search by colour category
I want to make a VBA macro to search ALL folders including my online archive by colour category RED
Don't have a clue where to start with this!
I have a text search one but this obviously doesn't do colours.
Sub SearchMacro()
Dim myOlApp As New…

Matt
- 14,906
- 27
- 99
- 149
1
vote
2 answers
Outlook 2016 doesn't display the html
I have an email in html that should works in all platofrms, however I have an issue in Outlook 2016 that the content is not being displayed.
My email has

Uri Margalit
- 11
- 4
1
vote
1 answer
How to open appointment item from ribbon button click
I need to open Outlook appointment item from ribbon button click.
var item = control.Context as Inspector;
AppointmentItem appointmentItem = item.CurrentItem as AppointmentItem;
if (appointmentItem != null)
{
if…

Prateek
- 335
- 1
- 2
- 9