I have created multiple SendEmailV2 codes in an app, and all are sending from a shared mailbox successfully for my whole team.
My problem is that the sent email is staying in their own "Sent Items" folder, even though it is sending from the shared address.
I need the sent items to be in the shared mailbox for record keeping purposes, is this possible?
This is my code (simplified):
Office365Outlook.SendEmailV2(
"recipient@email.com" ,
"Subject",
"Body",
{From: "sharedmailbox@email.com"})
I have tried including "ReplyTo: "sharedmailbox@email.com" " after the "From:" field, this successfully sent as well however this had no effect on where the sent email sat, it was still in my personal sent items.