I am trying to build a macro, which creates an Email (Outlook) and saves it in DRAFTS folder of the Shared Mailbox.
The macro works all as expected except that it saves the Email in DRAFTS fodler of my personal mailbox. I want it to be saved in DRAFTS folder of SharedMailbox.
Below is the code. I also tried '.SentOnBehalfOf' but with no luck.
With OutMail
.To = "[email protected]"
.Subject = "This is the Subject line"
.Body = "Hi there"
.Attachments.Add ("C:\test.txt")
.SendUsingAccount = "[email protected]"
.Save
End With