class ToProcessor extends GenericMailet {

    @Override
    public void init() throws MailetException {
        debug = isDebug();
        processor = getInitParameter("processor");
        if (processor == null) {
            throw new MailetException("processor parameter is required");
        }
        noticeText = Optional.ofNullable(getInitParameter("notice"));
    }

}