Runtime error “-2147024809” Moving Sent Mails To SentMail-Folder of secondary account
问题 I have two accounts open in Outlook. When I send a Mail via the secondary account it appears in the sent folder of the primary account. I want to move the sent mail to the sent folder of the secondary account whenever I send mail. Option Explicit Private WithEvents inboxItems As Outlook.Items Private Sub Application_Startup() Dim outlookApp As Outlook.Application Dim objectNS As Outlook.NameSpace Set outlookApp = Outlook.Application Set objectNS = outlookApp.GetNamespace("MAPI") Set