lib 1003225 // (JavaMail) import javax.mail.*; import javax.mail.internet.*; static Folder gandiDefaultFolder(S user, S pass) ctex { new Properties props; props.setProperty("mail.store.protocol", "imaps"); Session session = Session.getInstance(props, null); Store store = session.getStore(); store.connect("mail.gandi.net", user, pass); ret store.getDefaultFolder(); }