Processes in Microsoft 365 for setting up Office apps, redeeming product keys, and activating licenses.
Hello, I'm Diane, an M365 Apps & Services MVP specializing in Outlook.
Our MSP is informing me that this functionality won't work soon as basic authentication is being depreciated by microsoft and I should change things over to use a paid service or update the code to use OAuth. << You need to ask them if they can re-enable SMTP AUTH for your account. If you have admin rights to use powershell, you can change it your self. https://learn.microsoft.com/exchange/clients-and-mobile-in-exchange-online/authenticated-client-smtp-submission
Are you only sending to internal addresses or do you send to internet addresses? This article has options for configuring devices - https://learn.microsoft.com/exchange/mail-flow-best-practices/how-to-set-up-a-multifunction-device-or-application-to-send-email-using-microsoft-365-or-office-365
If you want to update your code, I recommend the Q&A forums - developers and admins familiar with the process hang out there - https://docs.microsoft.com/en-us/answers/products/office