IMAP 서버 확장 목록
Contents
[
Hide
]
Aspose.Email ImapClient 서버가 지원하는 IDLE, UNSELECT, QUOTA 등과 같은 확장 기능을 검색할 수 있게 해줍니다. 이는 특정 기능을 사용하기 전에 확장의 가용성을 판단하는 데 도움이 됩니다. 해당 getCapabilities() 메서드는 지원되는 확장 유형을 문자열 배열 형태로 반환합니다. 다음 코드 스니펫은 확장을 검색하는 방법을 보여줍니다.
// For complete examples and data files, please go to https://github.com/aspose-email/Aspose.Email-for-Java
// Connect and log in to IMAP
ImapClient client = new ImapClient("imap.gmail.com", "username", "password");
String[] getCapabilities = client.getCapabilities();
for (String getCap : getCapabilities) {
System.out.println(getCap);
}