Element hostElement = mailElement.addElement(N_MAILHOST).addAttribute(A_NAME, host.getHostname()).addAttribute( A_PORT, Integer.toString(host.getPort())).addAttribute(A_ORDER, host.getOrder().toString()).addAttribute( A_PROTOCOL, host.getProtocol());
host.getHostname()).addAttribute(A_PORT, Integer.toString(host.getPort())).addAttribute( A_ORDER, host.getOrder().toString()).addAttribute(A_PROTOCOL, host.getProtocol()).addAttribute( A_SECURITY, host.getSecurity());