Currently pipeline is able to send mail for some the manually added email ids . Under the harness project of pipeline create a project group and add members in it to get the mails .
pending feedback
Log In
Prateek Mittal
pending feedback
A
Abhishek Thamman
under review
Hi Secure Swordfish,
Thanks for your feature request. This is already possible using the User Group Notification Preferences feature. To send your pipeline notifications to a group of users, follow these steps:
- Ensure that the users are present i a user group.
- Open the User Group details under Account/Organization/Project settings > Access Control> User Groups. Click on the concerned user group.
- Under Notification Preferences, select Email/Alias.
- Enter any group email addresses where Harness can send notifications. Alternatively, to send email to all users present in the user group, check the option: "Send email to all users part of the user group"
- Go to the pipeline for which you wish to send the notifications. In Pipeline Studio, click on "Notify".
- Set up a new notification rule or choose an existing one. Under the "Notification Method" step of configuring a rule, select Channel Type as Email. Now click on "Select User Group(s)" and choose the user group that was set up above. Save the rule.
For more details please refer to our documentation:
- Notification Preferences for a User Group: https://developer.harness.io/docs/platform/role-based-access-control/add-user-groups/#edit-notification-preferences
- Pipeline Notifications: https://developer.harness.io/docs/continuous-delivery/x-platform-cd-features/cd-steps/notify-users-of-pipeline-events/
Please let me know if this works for you. If not, we can discuss further.
Regards,
Abhishek Thamman
S
Secure Swordfish
Abhishek Thamman it will send mails via harness-io mail server ?
A
Abhishek Thamman
Secure Swordfish: If you choose to send email notifications via the Harness Platform, then notifications will be sent using the Harness SaaS default SMTP server. Otherwise, if you choose to send email via a Harness Delegate, you will be required to add SMTP configuration.