public class ERIMAP extends Object
Constructor and Description |
---|
ERIMAP() |
Modifier and Type | Method and Description |
---|---|
void |
closeConnection() |
void |
closeFolder(com.sun.mail.imap.IMAPFolder folder,
boolean expunge) |
NSArray<ERMessage> |
getMessages(com.sun.mail.imap.IMAPFolder folder) |
NSArray<ERMessage> |
getMessages(com.sun.mail.imap.IMAPFolder folder,
int firstMsg,
int lastMsg) |
String |
imapHost() |
void |
openConnection(String imapUser,
String imapPassword) |
com.sun.mail.imap.IMAPFolder |
openFolder(String folderName,
int mode) |
void |
setImapHost(String _imapHost) |
public void openConnection(String imapUser, String imapPassword) throws javax.mail.AuthenticationFailedException, javax.mail.MessagingException, IllegalStateException
javax.mail.AuthenticationFailedException
javax.mail.MessagingException
IllegalStateException
public void closeConnection() throws javax.mail.MessagingException
javax.mail.MessagingException
public com.sun.mail.imap.IMAPFolder openFolder(String folderName, int mode) throws javax.mail.MessagingException, javax.mail.FolderNotFoundException
javax.mail.MessagingException
javax.mail.FolderNotFoundException
public void closeFolder(com.sun.mail.imap.IMAPFolder folder, boolean expunge) throws javax.mail.MessagingException
javax.mail.MessagingException
public NSArray<ERMessage> getMessages(com.sun.mail.imap.IMAPFolder folder) throws javax.mail.MessagingException
javax.mail.MessagingException
public NSArray<ERMessage> getMessages(com.sun.mail.imap.IMAPFolder folder, int firstMsg, int lastMsg) throws javax.mail.MessagingException
javax.mail.MessagingException
public void setImapHost(String _imapHost)
public String imapHost()
Copyright © 2002 – 2020 Project Wonder.