"ApiUsageException", String.format("No recipients specified.")); this.sender = mailUtil.getSender(); if (StringUtils.isBlank(this.sender)) throw helper.cancel(new ERR(), null, "no-sender",
public void init(Helper helper) { this.helper = helper; this.sender = mailUtil.getSender(); if (omename == null) throw helper.cancel(new ERR(), null, "no-omename"); if (email == null) throw helper.cancel(new ERR(), null, "no-email"); helper.allowGuests(); this.helper.setSteps(1); }