}
StringMember attachmentNumber = new StringMember("AttIndication", "0", 10, "URL", 'T', false);
StringMember readIndication = new StringMember("ReadIndication", (String) sqlRow.get("readstatus"), 10, "URL", 'T', true);
StringMember priority = new StringMember("Priority", (String) sqlRow.get("Priority"), 10, "URL", 'T', true);
EmailListElement ele = new EmailListElement(messageID);
ele.put("MessageID", intmem);
ele.put("Subject", subject);
ele.put("From", fromAddress);
ele.put("To", toAddress);
ele.put("Received", dateReceived);
ele.put("Size", messageSize);
ele.put("AttIndication", attachmentNumber);
ele.put("ReadIndication", readIndication);
ele.put("Priority", priority);
ele.put("EmailFolder", emailFolderID);
StringBuffer sb = new StringBuffer("00000000000");
sb.setLength(11);
String str = (new Integer(i)).toString();
sb.replace((sb.length() - str.length()), (sb.length()), str);