Hallo,
wie kann ich eine Email in ein anderes Postfach verschieben?
Bsp:
Postfach 1
-Posteingang //von hier
-Junk
-etc.
Postfach 2
-Posteingang // nach hier
-etc.
Mein bisheriger Code: (schließt email, und markiert als ungelesen)
wie kann ich eine Email in ein anderes Postfach verschieben?
Bsp:
Postfach 1
-Posteingang //von hier
-Junk
-etc.
Postfach 2
-Posteingang // nach hier
-etc.
Mein bisheriger Code: (schließt email, und markiert als ungelesen)
Visual Basic-Quellcode
- Sub CloseAndUnread()
- Dim myolapp As Outlook.Application
- Dim myinspector As Outlook.Inspector
- Dim myItem As Outlook.MailItem
- Set myolapp = CreateObject("Outlook.Application")
- Set myinspector = myolapp.ActiveInspector
- Set myItem = myinspector.CurrentItem
- myItem.Close olSave
- myItem.UnRead = True
- //Hier soll der Code stehen
- End Sub
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von „ibot3“ ()