I have been attempting to use CDO to send email. I can get this to work with GMail (had to create an app password in Google account and activate 2-factor authentication because it is a personal account).
None of the example code I've found will work for Outlook and my live.com email. I don't subscribe to Office 365 and not a business environment, just me at home. Seems this worked years ago with "smtp-mail.outlook.com" as the smtpserver but maybe that was at work before I retired. Is there any way to use CDO with outlook from home network?