By design, Outlook saves sent emails from shared mailboxes on the main account sent items folders. The users often find this behaviour annoying and ask for a solution.

Shared mailbox

After sending the message from the shared folder (Test Mail 2), the sent email is saved on the Test Mail 1 sent items folder

Sent items 1

Adding a new DWORD into the registry can make Outlook save that sent items on the proper mailbox:

TypeDWORD
NameDelegateSentItemsStyle
Value1
KeyHKEY_CURRENT_USER\Software\Microsoft\Office\XX.X\Outlook\Preferences

XX.X must be replaced by any of these values based on the Outlook version:

Outlook 201616.0
Outlook 201315.0
Outlook 201014.0

For example, for Outlook 2016:

Outlook Registry DelegateSentItemsStyle

Now lets in which mailbox is stored the sent email:

Sent items 2

Remember this solutions only works when using the Outlook cached mode.

Instead of changing the registry, we also can configure the mailbox as an Exchange mailbox (like the main account) instead of as a shared one:

Exchange accounts

This way the mails are also stored on the sending mailbox