Looking for an email notification solution

Copper Contributor

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.

1 Reply

Hi @JimBob ,

 

one solution that comes to my mind is to work with redirections from corporate e-mail addresses:

- create shared mailboxes in Exchange Online with a corporate email address (do not require a license)

- create an inbox rule for each shared mailbox which redirects incoming mails to the respective Slack channel