sensu-plugins / sensu-plugins-mailer

This plugin is an email handler for Sensu.
http://sensu-plugins.io
MIT License
17 stars 37 forks source link

Changed mail_to to become a set to remove duplicate addresses. #41

Closed blasterspike closed 7 years ago

blasterspike commented 8 years ago

Pull Request Checklist

Is this in reference to an existing issue?

Unknown

General

Changed mail_to to become a set to remove duplicate addresses. Previously it was generating a to address that contained duplicate addresses:

bob@bob.com, bob@bob.com, bob@bob.com

Now, the addresses are entered into a set, and then the to address string generated from the set (has the effect of removing duplicates):

bob@bob.com

Hope that makes sensu :-)

Known Compatablity Issues

Unknown