ABX Send Email via MS Exchange 2019 with Python
No external services required :)
If you have reviewed some of my other posts here on automationpro.co.uk, you will know that I am a fan of the ABX functionality in vRA8. Something that I have been wanting to accomplish for a while is sending an email from an ABX. There are some awesome posts out there on how to do this with public providers, such as Gmail or using Amazons Simple Email Service (SES) as documented in this great post. The problem I have with these methods is the reliance on using an external email provider service. I really wanted to send an email using an internal MS Exchange Server that I have in my lab environment. I will not lie, this took quite a few late nights to get right and I attempted to use multiple python libraries, but in the end this is what worked for me.
Read more at https://automationpro.co.uk