i am searching for the terms to change the Header information.
My wish is to take a Mail and change the From, To, CC, BCC address.
What i know is that ich can change the to address with "oMessage.ClearRecipients" and than add the new with "oMessage.AddRecipient".
Maybe i have the wrong terms for the others.
"oMessage.FromAddress" dont change the From.
Here my little try
Code: Select all
Sub TEST(oMessage) oMessage.ClearRecipients() Call oMessage.AddRecipient("test1", "firstname.lastname@example.org") oMessage.FromAddress = "email@example.com" oMessage.Subject = "TEST" oMessage.Save End Sub
Kind Regards Niels