public void setSubject(Object subject) throws Exception { if (subject == null || subject == Undefined.instance) { return;
public void setSubject(Object subject) { if (subject == null || subject == Undefined.instance) { return; }  try { message.setSubject(MimeUtility.encodeWord(subject.toString())); } catch (Exception mx) { System.err.println("Error in MailObject.setSubject(): "+mx); setStatus(SUBJECT);
    public void setSubject(Object subject) throws Exception {        if (subject == null || subject == Undefined.instance) {            return;        }        message.setSubject(MimeUtility.encodeWord(subject.toString()));    }