Skip to content
This repository was archived by the owner on Feb 13, 2025. It is now read-only.

Conversation

@pradeepbbl
Copy link
Contributor

We have noticed when a post action notification triggered bosun also trying to send mail with empty 'To' address

2018/02/05 12:15:30 error: notify.go:49: sending email: Must specify at least one From address and one To address
2018/02/05 12:17:30 error: notify.go:205: failed to send alert to [] Must specify at least one From address and one To address

This patch will validate the 'To' address slice length and stop trying sending mail if it's empty

Thanks,

@captncraig captncraig merged commit 7234211 into bosun-monitor:master Mar 2, 2018
clinta pushed a commit to clinta/bosun that referenced this pull request Mar 9, 2018
@pradeepbbl pradeepbbl deleted the fix_bad_email branch March 16, 2018 10:04
pradeepbbl added a commit to pradeepbbl/bosun that referenced this pull request Mar 21, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants