When composing a message from a shared mailbox, by default when the message is ‘sent’, it is copied to the Sent Items for the user composing the message and not the Sent Items folder on the shared mailbox. Well, conveniently there is a way to enable this option in Exchange 2016 and Office365.
I don’t understand why this option is not turned on by default because it accounts for a message sent from a shared mailbox yet there is no historical record of the message being sent from the mailbox. Apart from journaling if it is enabled or a third party software/ service.
1 2 |
#To enable it for emails Sent As the shared mailbox, set the enable flag to true and run the cmdlet: Set-Mailbox <mailbox-name> -MessageCopyForSentAsEnabled $True |
1 2 |
#To enable it on all shared mailboxes, use this cmdlet: Get-Mailbox -ResultSize unlimited -Filter {(RecipientTypeDetails -eq 'SharedMailbox')} | Set-Mailbox -MessageCopyForSentAsEnabled $True |
1 2 |
#If the email was Sent On Behalf of the shared mailbox, use Set-Mailbox <mailbox-name> -MessageCopyForSendOnBehalfEnabled $True |
1 2 |
#To disable it for emails Sent As the shared mailbox, use this cmdlet: Set-Mailbox <mailbox-name> -MessageCopyForSentAsEnabled $False |
1 2 |
#To disable if the email was Sent On Behalf of the shared mailbox, use Set-Mailbox <mailbox-name> -MessageCopyForSendOnBehalfEnabled $False |