I've just set up a shared mailbox in Exchange 365 and given users permission to send as, read, and manage it. However, when they send emails from the shared mailbox, it shows up as coming from their personal email instead of the shared mailbox's address. In my previous job, I used a PowerShell script to make the mailbox send emails as itself and also store sent emails in its own sent items folder, but I can't recall the script now. Can anyone help me out with this?
4 Answers
To ensure that emails sent from the shared mailbox are saved in its sent items, you'll need to run a PowerShell command. Use this one: `Set-mailbox -Identity -MessageCopyForSendOnBehalfEnabled $true -MessageCopyForSentAsEnabled $true`. This should do the trick! Just replace `` with the actual identifier of your shared mailbox.
It sounds like you may be dealing with the saved outbound mail issue. If that's the case, you can fix it from the client's side if they're using Outlook 2016 or later. You can adjust the settings in the Windows Registry. Just add this key: `HKEY_CURRENT_USERSoftwareMicrosoftOffice16.0OutlookPreferencesDelegateSentItemsStyle` with a value of `1`.
I think I get what you mean now. So, when john.smith sends an email from the marketing shared mailbox, it's showing up as coming from john.smith's email instead of [email protected]? You might just need to teach john to manually select the 'From' field when sending emails.
From what I know, it's not possible to set it to send emails automatically as the shared mailbox without manual configuration. You can give users send-as permission, but they'll have to manually select the shared mailbox in the 'From' field for replies. There may be add-ins for this, but I'm not familiar with any.

Actually, there is a way to set this up globally for the shared mailbox using Exchange Online PowerShell, which is better than using a registry key method.