I usually use this test to find out if the email is incoming or outgoing.
But now i see that Emails sent via the Outlook Android Application return .ReceivedByName = "My name"
and Emails sent by TypeApp (Android) return a Internet Message Header !
Const PR_TRANSPORT_MESSAGE_HEADERS =...
How can I determine to which address an email has been sent?
Suppose I have a primary email address email@example.com and one (or more) email address alias firstname.lastname@example.org.
In the Outlook object model, the email was received by my Exchange account and that's all.
Of course I can get...
Is there a faster method to enumerate all OUTLOOK FOLDERS and SUBFOLDERS ?
Perhaps DASL and Application.AdvancedSearch ?
I want to make a ".pickfolder" alternative.
Private Sub ListSubFolders()
Dim OL As Outlook.Application
Dim olNS As Outlook.NameSpace
Dim objFolder As...
I need to use "folders icons" for an application.
Is there a way to extract dynamically (vba) these ICONS from OUTLOOK , or from a local file ?
Now, i used files from What do the Outlook icons mean? - HowTo-Outlook
is it possbile to add "Body" to Table from GetTable ?
Dim oFolder As Outlook.Folder
Dim oTable As Table
Dim i, oRow, r, arr
Set oFolder = Application.Session.PickFolder
criteria = "[MessageClass]='IPM.Note' or...
I need your opinion on my current project.
I have a a shared mailbox, and 2 or more users. Each user has the program.
When a new Email is added in the Inbox Folder of this shared mailbox, i want to Print it just once.
No problem for printing it.
s my test for whether only the first that...
What is the best pratice for catching Mailitem events ? (response, forward, etc...)
i saw in this article : VBA Sample: Do Something When Reply is Clicked
Private WithEvents oExpl As Explorer
Private WithEvents oItem As MailItem
Private bDiscardEvents As Boolean...
I have an issue with vba code when i use .getConversation.GetTable
If we are in mode "Online with Exchange server" or ""Connected to Microsoft Exchange" it's ok
But if we are just "Online" (when it's an Additional Mailbox), it's KO there is no line in the table.
additionnal Mailbox but...
It has been several times that the restrict method returns birthdays, which does not match my filter
What is the reason?
Dim myItems As Outlook.Items
Dim currentAppointment As Object
Dim myAppointments As Object
I want to extend a code from Mickael BAUER.
From an Mailitem i want to display an explorer with this Email selected
BUT IF THE FOLDER IS mark "Show as conversation", the code is wrong
how select an Email in cconversation mode ?
how turn off/on conversation mode for just this folder ...
I would like to programmatically identify the email address on which i received this email.
Knowing that I have an account EXCHANGE, with aliases.
To do this manually you must open the email and click on File / properties and search "to:" in internet HEADER.
I need this to stop...
I need to get properties from an Outlook Mailitem to know if there is a "follow up" (task for me) on this Email and if right i want to get reminder details.
Dim oItem As Object
Set oItem = ActiveInspector.CurrentItem
Dim pa As...