S
smalolepszy
I have a MailItem and now I want to know if it's incoming or outgoing
messages.
How I can do it?
Sub mail()
Dim a As MAPIFolder
Set a = GetNamespace("MAPI").GetFolderFromID("000000000ED585E585F16145AD566483B11F919242840000")
Dim iAs Integer
Dim b As MailItem
For i = 1 To a.items.Count
Set b = a.items.Item(i)
Next i
End Sub
messages.
How I can do it?
Sub mail()
Dim a As MAPIFolder
Set a = GetNamespace("MAPI").GetFolderFromID("000000000ED585E585F16145AD566483B11F919242840000")
Dim iAs Integer
Dim b As MailItem
For i = 1 To a.items.Count
Set b = a.items.Item(i)
Next i
End Sub