Our company uses Office 365 for their email product. I want to send an email notification from Jenkins if a build fails. We use an API to send jobs, so the user(s) are not seeing the actual job.
The problem is the users want these emails sent to (preferably) a Slack channel, or (not as preferable) an MS Teams channel. Both of the email addresses for these channels end in a non-corporate domain name. While we can send email from our email to those addresses, Jenkins is configured, for security reasons, to not be able to send email to anything that does not end in a corporate domain.
No, it is not possible, under corporate policy to change the Jenkins behavior, so we need a work around solution to this. Thanks for any input.