Your browser was unable to load all of the resources. They may have been blocked by your firewall, proxy or browser configuration.
Press Ctrl+F5 or Ctrl+Shift+R to have your browser try again.

email error with no recips. #3064

jclx ·
After upgrading from QB 4 to QB 5 we are getting email errors.

It seems QB 4 checked for empty email list was empty.
EmailNotifier.java
if (!toList.isEmpty()) {
....
MiscUtils.sendMail
}

But in QB 5 it doesn't check and we get errors on our build if a user doesn't have an email specified.
Error:
At least one of to, cc or bcc must be supplied
at org.apache.tools.ant.taskdefs.email.EmailTask.execute(EmailTask.java:511)
at com.pmease.quickbuild.util.MiscUtils.sendMail(MiscUtils.java:112)
at com.pmease.quickbuild.plugin.notifier.email.EmailNotifier.notify(EmailNotifier.java:113)
  • replies 0
  • views 2466
  • stars 0