440441442443444445446447448449450
new String[] {to, from, type.toString()}); if (subject != null) { message.addChild(new Element("subject", subject)); } if (thread != null) { message.addChild(new Element("thread", thread)); } return new Packet(message); } }