You should set Outgoing mail sever , Authentication required , User Name ,and password. After you filled theses values you can Test it from Test email tab.
For more information, you can read the official document from Microsoft:
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.