StringBuffer buf = new StringBuffer();
buf.append(name);
buf.append(":");
for (int i = 0; i < mailboxList.size(); i++) {
buf.append(mailboxList.get(i).toString());
if (i + 1 < mailboxList.size())
buf.append(",");
}
buf.append(";");
return buf.toString();