706
questions
0
votes
0
answers
42
views
Set default PST file to MS365 account profile configured in Outlook
I am using Profman dll to create new Outlook profile for M365 user account. The Outlook client version installed is 2016. I have used RPC-over-HTTP or MAPI-over-HTTP to connect to an M365 mailbox as ...
0
votes
1
answer
34
views
Unable to add second account in existing profile in Outlook MAPI C++
I have a plugin developed in MAPI C++ which interacts with our server using SOAP APIs.
I am able to create profile and it works fine. But when I try to add second account of same server in existing ...
0
votes
1
answer
31
views
VSTO Outlook: Using IOlkAccountManager to manage accounts operations
I have tried to detect accounts addition from Outlook without success. Here it is my previous post.
I have heard something about the interface IOlkAccountManager so I have tried to implement it but it ...
0
votes
1
answer
66
views
MAPI cannot read all entries of the global address list (GAL) anymore in Exchange Online since January 2024
I have a MAPI application that uses a MAPI online profile to read all mail users of the global address list (GAL). Since January 2024 only 500 entries can be read from the GAL in Exchange Online.
The ...
1
vote
1
answer
45
views
Micrsoft Graph : How to make mail Snoozed
I'm trying to create 'snooze' function with outlook using Graph api (or sdk).
If 'snooze' mail with 1 hours later, the mail moves to 'snooze' folder. After 1 hours later the mail is back to inbox mail ...
3
votes
1
answer
477
views
MAPI not launching New Outlook as default MailTo client (C#)
I have some code that uses MAPI to launch the default email client. However, when the default MailTo client is set to New Outlook, MAPI launches the old Outlook client instead. This is causing the ...
0
votes
1
answer
160
views
Open an embedded msg attachment
I have a Microsoft Outlook msg file which has an embedded msg file. I can get the attachment, save it as a file, but I cannot access it as a msg object.
I am using C, I cannot use C++ or C# or any ...
0
votes
0
answers
19
views
Conversation Index Child Block breakdown
Anyone know how the breakdown of individual child blocks changes when the conversation index starts with an additional reserved byte? Normally the conversation index only starts with 01.. sometimes ...
0
votes
1
answer
31
views
Outlook Conversation Index double reserved byte?
Why do some conversation index values start with what looks like 2 reserved bytes? Are both part of the FILETIME structure? Or should one be omitted when converting FILETIME?
Example as per below -
...
0
votes
1
answer
100
views
Get .msg Copy by Criteria 'PR_INTERNET_MESSAGE_ID'
This post serves as an open collaboration forum
Pretext:
Outlook (v2038) and Exchange (5.5) have a couple of built-in ways to search messages for a User's and Admin's view using specific criteria such ...
0
votes
0
answers
46
views
VBA DASL Filters / PR_INTERNET_MESSAGE_ID Search
I'm attempting to implement a VBA Module within Outlook (v2038) that will allow you to search your mailbox using the Internet Message ID of a message. I've stumbled my way across the internet on how ...
0
votes
0
answers
72
views
What cause MAPI_E_TABLE_TOO_BIG in HrQueryAllRows method?
I'm applying a set of PR_ANR restriction to my MAPI table(IMAPITable).The goal for this query is to match input strings with accounts in GAL.
The error raised only when the input string is "x&...
0
votes
1
answer
168
views
red-flag mail not showing in todo folder of outlook
We are using an Outlook plugin that utilizes MAPI in C++/vc++. However, when the 'Mail red Flag' is activated by someone, it does not display in the To-Do tasks.
expecting red flag mail should be ...
0
votes
0
answers
103
views
Email Body Blank/Empty When Mail Is Sent from Draft
We are facing an issue where, Outlook send an empty body email when the mail is sent from Drafts folder. This issue started after updating the outlook to latest build 2311 (Build 17029.20108).
We have ...
0
votes
2
answers
299
views
Creating a MSG using MsgKit - how to use AddProperty-method?
I am using this tool
https://github.com/Sicos1977/MsgKit
to create a MSG-file, then display and send it with Outlook.
I need to add the property "BillingInformation", so that after sending, ...
0
votes
2
answers
87
views
How to get the EntryID of a mailitem that is encrypted
In a VSTO Outlook C# addin I want to loop through a folder of items that are all encrypted mailitems and get the EntryID or MAPIOBJECT as I plan to send it on to extended MAPI.
foreach (object ...
0
votes
1
answer
81
views
How to set PR_HTML where string contains Unicode characters
In a VSTO C# Outlook addin I am copying the OOM HTMLBody text from one message and then adding it to a new message via PR_HTML with either IMAPIProp::SetProps or IMAPIProp::OpenProperty. I need to ...
0
votes
1
answer
49
views
Are some MAPI named properties known and thus always return the same Tag when using GetIDsFromNames with MAPI_CREATE?
In my c# VSTO Outlook project I am using the GetNamesFromIDs to get a property name from one message and then adding it to a second message with GetIDsFromNames with the MAPI_CREATE flag set so that ...
0
votes
0
answers
173
views
Outlook MAPI IConverterSession->MAPIToMIMEStm returns the different stream output with or without PR_BODY when converting the same MSG File To EML
When trying to convert the MSG-File stored with Microsoft Outlook 15.0 to EML using Outlook 2016 MAPIToMIMEStm API returns different stream output when this API is called multiple times without ...
2
votes
0
answers
121
views
How to get Outlook Property Names using extended MAPI GetNamesFromIDs
I am trying to view property names from an Outlook message using extended MAPI, ie the contents of a MAPINAMEID structure.
I get a list of property tags for a message and then I am passing the below ...
0
votes
1
answer
25
views
How to get the "mailbox of origin" of email
let's suppose I copy a message from a shared mailbox [email protected] to a user mailbox [email protected]. Is there a way to detect programmatically that initially the email was created/received in ...
0
votes
1
answer
326
views
How to convert .eml to .msg in java for free [duplicate]
Requirement
We are calling API..The API need .msg file in request.
Logic
I have .eml file in my local diskspace, I want to convert into .msg in java for free.
Code Snippet :
String msg_file_path="...
1
vote
1
answer
504
views
Delphi MapiSendMail returns MAPI_E_USER_ABORT
I´m calling MapiSendMail like this:
lErrorCode := MapiSendMail(0, GetModuleHandle(nil), lMessage, MAPI_DIALOG or MAPI_LOGON_UI or MAPI_NEW_SESSION, 0);
On my dev server (Win 2016) this returns 0 and ...
0
votes
0
answers
69
views
Using added account in VSTO Outlook add-in before restart
We are developing a VSTO Outlook add-in and need to get an added account on the same Outlook run, not after restart. In C# properties it is not available.
Using MAPI in C++ DLL we can get the accounts,...
0
votes
2
answers
295
views
Enable autoreply with certain date for Outlook
This VBA code is in Excel. The version is Office 365.
The error raised is
Type mismatch
in SetProperty xxxxx0X661E001F and also 0x661F0040.
I tried to change the strMessge to variant or change to ...
0
votes
0
answers
344
views
Why does mapi32.dll on Windows Server 2022 prevent calling CoInitializeSecurity within the same application?
I'm working on a project that uses mapi32.dll to access Microsoft Exchange Server from a Windows Server 2022 machine. I noticed that whenever CoInitializeSecurity is called within the same application ...
0
votes
1
answer
68
views
Outlook ask for Pwd on Redemption - LogonHostedExchangeMailbox
Working with Redemption Dll version 6.3.0.6164
When I try to send a mail from a program, always appears a popup from Outlook asking for the password.
And if i enter the pwd, they ask again, and again,...
0
votes
2
answers
238
views
How to extract Error-Code from REPORT.IPM.Note.NDR outlook object using Python
I am trying to extract certain details from an outlook mailbox. I want to extract bounced emails and get the error code of why these emails were bounced.
I know with using regular expression I can ...
0
votes
0
answers
29
views
How to set mapi properties FHaveWrittenTracking & UnifiedTracking
Can someone tell how to set mapi properties FHaveWrittenTracking & UnifiedTracking? And what are there property values?
0
votes
1
answer
380
views
Redemption "Error: Microsoft Exchange is not available" after moving mailboxes to Exchange 2016
I'm facing troubles migrating some mailboxes from Exchange 2010 to Exchange 2016 because they are still used by an old application as part of some B2B flows. The application uses an old version of the ...
0
votes
2
answers
67
views
VSTO: Get long-term EntryID from Microsoft.Office.Interop.Outlook.Folder query
I'm wondering if it's possible to get the long-term entry id from a Microsoft.Office.Interop.Outlook.Folder query. I can successfully query the table, but the entry id is always the short-term entry ...
0
votes
0
answers
91
views
Redemption with O365 and Creating New Profiles
I'm so glad to see Redemption has survived into the 2020s! I used to use redemption many many years ago & LOVED it. I'm curious, how does it go with profile creation on Win11 / Outlook 365?
I need ...
0
votes
2
answers
73
views
Why is the EntryID Changing in VSTO? The MailItem is not moving folders
I'm writing some code in C# that matches a pattern from the subject and then ingests the email. To initialize my datastore, I go through the current Microsoft.Office.Interop.Outlook.Table.
while (!...
1
vote
1
answer
93
views
Recipients become zero after updating HTMLBody of occurrence Outlook Redemption
UPDATE
Ultimate goal is to send the updated body to the existing recipients of the meeting occurrence.
I'm trying to update HTMLBody of occurrence of existing meeting with number of recipients.
After ...
0
votes
1
answer
40
views
How to get MAPI Note Color in Outlook ost or pst files?
Need to mention that I'm using a 3rd party pst + ost reader and parser, so not using MS objects, just a how to query.
Just wanna know how new Outlook 2021 works to store the MapiNoteColor?
Long time ...
0
votes
1
answer
537
views
IPM.Note.Secure vs IPM.Note.SMIME
Anyone knows what are these 2 here:
https://learn.microsoft.com/nl-nl/office/vba/outlook/concepts/forms/item-types-and-message-classes
IPM.Note.Secure :: Encrypted notes to other people
IPM.Note....
-1
votes
2
answers
94
views
Create IPM.OLE.CLASS Exception item in Outlook
I need to create an exception IPM.OLE.CLASS item in Outlook
So need to delete or change one appointment instance of a recurring appointment
Maybe I could not do it correctly, all have IPM.Note class :(...
0
votes
1
answer
63
views
How to call the MAPI API IOlkAccountManager::SetOrder successfully
I wrote the following code in my application to set the order for the outlook accounts, but it crashes it. I can see API GetOrder successfully returning all configured accounts details (i.e. 3 ...
1
vote
2
answers
493
views
python: win32com bulk save attachment error - server admin has limited number of items
I am looping through entryIds stored in a dataframe (loaded from a csv file) and accessing the messages by dispatching win32com.client to access Outlook MAPI and save email attachments to a local ...
0
votes
1
answer
279
views
How to display in Outlook, using VBA, a list of emails based on their EntryID (based on a list of EntryIDs stored in MS Access)
I have an Access DB that interacts with Outlook, including capturing the EntryID of selected emails as needed (which are stored in a table in Access)
I have code that allows users to view any email ...
0
votes
0
answers
34
views
After saving email with an attachment into a depository, open it again, the attachment seems to have extra duplicate extension
We have an Outlook add-in that uses MAPI. But after we save an email with attachment such as excel file, "Sample.xlsx" into our depository, then reopen it from the depository, it shows the ...
0
votes
0
answers
82
views
Outlook Authentication issue for M365 outlook profile created programmatically via Profman
We have a solution to create a new default profile on end user's windows machine when the whole organization is moving to a new M365 tenant ( moving from old M365 tenant to a new M365 tenant). We are ...
0
votes
2
answers
84
views
What if I call GetProps immediately after SetProps in MAPI?
I have a question in MAPI.
If I invoke SetProps for a property, then without invoking the SaveChanges function, I invoke GetProps immediately for that property, what will happen?
Based on my own test, ...
0
votes
2
answers
137
views
Outlook deferredDeliveryTime goes to outbox and If application is closed it does not send
I am building an Outlook Add-in that is using the Outlook mailitem property deferredDeliveryTime in order to postpone the sending of the message. Everything works fine but I have realized that if I ...
1
vote
0
answers
97
views
PHP mapiHTTP interface
I'm trying to build a PHP mapiHTTP interface to solve RCA (https://testconnectivity.microsoft.com/) Exchange Server->Outlook connectivity test. I was able to create a valid ActiveSync response to ...
0
votes
1
answer
62
views
PidlidPrivate in MAPI will not hide the message
I am checking PidlidPrivate property in MAPI.
Based on https://learn.microsoft.com/en-us/office/client-developer/outlook/mapi/pidlidprivate-canonical-property, this property can hide the message.
So I ...
0
votes
1
answer
25
views
Different values for PidlidPrivate property in MAPI?
I am studying a MAPI property called PidLidPrivate. I find it has different values in different official document.
In https://learn.microsoft.com/en-us/office/client-developer/outlook/mapi/...
1
vote
1
answer
219
views
Can't delete email using MAPI
I've created Outlook 2019 add-in in C# and trying to use DeleteMessages method from MAPI to delete single email. However I'm always getting E_INVALIDARG as a result (look at code below).
I've checked ...
0
votes
2
answers
83
views
Outlook, Folder EntryId changes at runtime
I have an issue with sentfolder EntryId from Outlook.
I work with sentfolder
I have 2 Accounts.
My account (dafault(Exchange)): all works perfect.
The second account(additional(Exchange)) has:
...
0
votes
2
answers
574
views
MAPI_E_FAILONEPROVIDER error is thrown when the user is logged off and Outlook 2016/2019 is accessed in a windows application using MAPI
In a Windows application, calling OpenMsgStore function is throwing error when I am trying to open the default primary store for 'Outlook' 2016 Outlook profile only when the user is logged off. When ...