org.jenkinsci.plugins.pollmailboxtrigger.mail
Class MailReader
java.lang.Object
org.jenkinsci.plugins.pollmailboxtrigger.mail.Logger.HasLogger
org.jenkinsci.plugins.pollmailboxtrigger.mail.MailReader
public class MailReader
- extends Logger.HasLogger
Allows us to read mail using the imap protocol.
- Author:
- Nick Grealy
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MailReader
public MailReader(Logger logger,
String host,
String storeName,
String username,
String password,
Properties properties)
connect
public MailReader connect()
throws javax.mail.MessagingException
- Throws:
javax.mail.MessagingException
folder
public MailWrapperUtils.FolderWrapper folder(String folderName)
throws javax.mail.MessagingException
- Throws:
javax.mail.MessagingException
close
public void close()
Copyright © 2004-2014. All Rights Reserved.