Echoing prior responses, Jakarta Mail (formerly JavaMail) supports OAuth2. Here are some ways to get Jakarta Mail on z/OS:
J1. If you have at least a relatively recent release of CICS Transaction Server for z/OS then you should have CICS Liberty with Jakarta Mail. You may also be interested in the CICS Event Consumer sample code: https://github.com/cicsdev/cics-event-consumer J2. If you have WebSphere Application Server for z/OS (which includes a WebSphere Liberty license for z/OS) then you should have Jakarta Mail. J3. Open Liberty includes Jakarta Mail and is available here: https://openliberty.io If you'd like a Liberty distribution *with IBM support* on z/OS then please choose one of the first two options. Python is another vehicle that provides support for sending e-mails from z/OS with OAuth2 support. Colin Paice describes how in this article: https://colinpaice.blog/2023/02/21/sending-an-email-from-z-os/ For more information on the IBM Open Enterprise SDK for Python please visit: https://www.ibm.com/products/open-enterprise-python-zos There are probably some other options, but this list is a good starter set I think. ————— Timothy Sipples Senior Architect Digital Assets, Industry Solutions, and Cybersecurity IBM zSystems/LinuxONE, Asia-Pacific [email protected] ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
