Nov 22 2023 04:21 AM
Hello everyone!)
Who knows? When a user sends an email from a shared mailbox, the email gets sent to the shared mailbox, but not to the sent personal mailbox.
Set-Mailbox email address removed for privacy reasons -MessageCopyForSentAsEnabled $False is enabled for a shared mailbox.
What setting does this do in a personal mailbox
Nov 22 2023 05:01 AM
Hi @AlexWhite_,
the Exchange PowerShell command Set-Mailbox -MessageCopyForSentAsEnabled $False is utilized to adjust the configuration of existing mailboxes.
When this command sets the MessageCopyForSentAsEnabled parameter to $False for a shared mailbox, it signifies that when a user sends an email from this shared mailbox, a copy of the sent email will not be stored in the Sent Items folder of the user's personal mailbox.
To ensure that a copy of the sent email is saved in the Sent Items folder of the user's personal mailbox, you should set the MessageCopyForSentAsEnabled parameter to $True for the shared mailbox. The following PowerShell command accomplishes this:
Set-Mailbox -Identity "SharedMailbox" -MessageCopyForSentAsEnabled $TrueReplace "SharedMailbox" with the actual identity of your shared mailbox.<br /><br />After executing this command, whenever a user sends an email from the shared mailbox, a copy of the sent email will be preserved in the Sent Items folder of both the shared mailbox and the user's personal mailbox.<br /><br /><a href="https://techcommunity.microsoft.com/t5/exchange/set-mailbox-not-working/m-p/2160178" target="_blank" rel="noopener">Set-Mailbox Not Working - Microsoft Community Hub<br /></a>Set-Mailbox (ExchangePowerShell) | Microsoft Learn<br /><br /><br />
Replace "SharedMailbox" with the actual identity of your shared mailbox.
After executing this command, whenever a user sends an email from the shared mailbox, a copy of the sent email will be preserved in the Sent Items folder of both the shared mailbox and the user's personal mailbox.
Set-Mailbox Not Working - Microsoft Community Hub
Set-Mailbox (ExchangePowerShell) | Microsoft Learn
Please click Mark as Best Response & Like if my post helped you to solve your issue.
This will help others to find the correct solution easily. It also closes the item.
If the post was useful in other ways, please consider giving it Like.
Kindest regards,
Leon Pavesic
(LinkedIn)
Nov 22 2023 11:45 AM
Set-Mailbox -Identity "SharedMailbox" -MessageCopyForSentAsEnabled $false
If I do this command with $true for a shared box, then 2 copies of the e-mail appear in my “Sent” folder in the shared mailbox. But the "Sent Items" folder in my personal mailbox is also empty.
Nov 27 2023 06:59 AM
SolutionReply to myself 😃
If in a registry \HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\16.0\Outlook\Preferences\DelegateSentItemsStyle REG_DWORD=1 then there will not be no one copies in "sent items" folder in my user's mailbox
If in a registry REG_DWORD=0 then there will be
there link to description
Nov 27 2023 06:59 AM
SolutionReply to myself 😃
If in a registry \HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\16.0\Outlook\Preferences\DelegateSentItemsStyle REG_DWORD=1 then there will not be no one copies in "sent items" folder in my user's mailbox
If in a registry REG_DWORD=0 then there will be
there link to description