The sender email address _must_ be mailbox enabled
The Login User Name account must have the Send As or Send on Behalf permission for Sender Address account
https://docs.microsoft.com/en-us/exchange/mail-flow-best-practices/how-to-set-up-a-multifunction-device-or-application-to-send-email-using-office-3
https://support.microsoft.com/en-gb/help/4057306/preparing-for-tls-1-2-in-office-365
https://docs.microsoft.com/en-us/microsoft-365/enterprise/urls-and-ip-address-ranges?view=o365-worldwide#skype-for-business-online-and-microsoft-teams