Exchange accounts on iphone

Does anyone know how to stop exchange accounts from deleting my mail automatically from my inbox, after some days, on my iPhone? I want my inbox emails to stay there until I delete them manually from my phone. Thanks in advanced.
you can change that in the settings.
although my exchange doesnt auto delete any of my emails, so im not sure why yours is. maybe a bug?
Settings> Mail contacts and calendars Tap on your account. Look for mailbox behaviors.

Original thread: https://forums.imore.com/threads/exchange-accounts-on-iphone.211635/