A B C D E F G H I K L M N O P Q R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AbstractServer - Class in com.icegreen.greenmail
- AbstractServer(ServerSetup, Managers) - Constructor for class com.icegreen.greenmail.AbstractServer
- acquire() - Method in class com.icegreen.greenmail.mail.MovingMessage
- added(int) - Method in class com.icegreen.greenmail.imap.ImapSessionFolder
- added(int) - Method in interface com.icegreen.greenmail.store.FolderListener
- addListener(FolderListener) - Method in class com.icegreen.greenmail.imap.ImapSessionFolder
- addListener(FolderListener) - Method in interface com.icegreen.greenmail.store.MailFolder
- addRecipient(MailAddress) - Method in class com.icegreen.greenmail.mail.MovingMessage
- ALL - com.icegreen.greenmail.imap.commands.SearchKey
- ALL - Static variable in class com.icegreen.greenmail.util.ServerSetup
- ALL - Static variable in class com.icegreen.greenmail.util.ServerSetupTest
- ALL_FLAGS - Static variable in class com.icegreen.greenmail.store.MessageFlags
- ALREADY_EXISTS_LOCALLY - Static variable in exception com.icegreen.greenmail.store.FolderException
- ALREADY_EXISTS_REMOTELY - Static variable in exception com.icegreen.greenmail.store.FolderException
- ANSWERED - com.icegreen.greenmail.imap.commands.SearchKey
- ANSWERED - Static variable in class com.icegreen.greenmail.store.MessageFlags
- ApopCommand - Class in com.icegreen.greenmail.pop3.commands
- ApopCommand() - Constructor for class com.icegreen.greenmail.pop3.commands.ApopCommand
- appendMessage(MimeMessage, Flags, Date) - Method in class com.icegreen.greenmail.imap.ImapSessionFolder
- appendMessage(MimeMessage, Flags, Date) - Method in interface com.icegreen.greenmail.store.MailFolder
- astring(ImapRequestLineReader) - Method in class com.icegreen.greenmail.imap.commands.CommandParser
-
Reads an argument of type "astring" from the request.
- atom(ImapRequestLineReader) - Method in class com.icegreen.greenmail.imap.commands.CommandParser
-
Reads an argument of type "atom" from the request.
- ATOM_CHARValidator() - Constructor for class com.icegreen.greenmail.imap.commands.CommandParser.ATOM_CHARValidator
- authenticate(String) - Method in class com.icegreen.greenmail.pop3.Pop3State
- authenticate(String) - Method in interface com.icegreen.greenmail.user.GreenMailUser
- authenticate(String) - Method in class com.icegreen.greenmail.user.UserImpl
- AUTHENTICATED - Static variable in class com.icegreen.greenmail.imap.ImapSessionState
- AuthorizationException - Exception in com.icegreen.greenmail.imap
-
Thrown when a user attempts to do something (e.g.
- AuthorizationException(String) - Constructor for exception com.icegreen.greenmail.imap.AuthorizationException
-
Construct a new
AuthorizationException
instance.
B
- BAD - Static variable in interface com.icegreen.greenmail.imap.ImapConstants
- badResponse(String) - Method in class com.icegreen.greenmail.imap.ImapResponse
-
Writes a standard untagged BAD response, together with a descriptive message.
- base64(ImapRequestLineReader) - Method in class com.icegreen.greenmail.imap.commands.CommandParser
-
Reads a base64 argument from the request.
- BCC - com.icegreen.greenmail.imap.commands.SearchKey
- BEFORE - com.icegreen.greenmail.imap.commands.SearchKey
- bindTo - Variable in class com.icegreen.greenmail.AbstractServer
- BODY - com.icegreen.greenmail.imap.commands.SearchKey
- build() - Method in class com.icegreen.greenmail.imap.commands.SearchTermBuilder
- BYE - Static variable in interface com.icegreen.greenmail.imap.ImapConstants
- byeResponse(String) - Method in class com.icegreen.greenmail.imap.ImapResponse
C
- CAPABILITIES - Static variable in interface com.icegreen.greenmail.imap.ImapConstants
- CC - com.icegreen.greenmail.imap.commands.SearchKey
- checkClientTrusted(X509Certificate[], String) - Method in class com.icegreen.greenmail.util.DummyTrustManager
- checkData(SmtpState) - Method in class com.icegreen.greenmail.smtp.SmtpManager
- checkRecipient(SmtpState, MailAddress) - Method in class com.icegreen.greenmail.smtp.SmtpManager
- checkSender(SmtpState, MailAddress) - Method in class com.icegreen.greenmail.smtp.SmtpManager
- checkServerTrusted(X509Certificate[], String) - Method in class com.icegreen.greenmail.util.DummyTrustManager
- clearMessage() - Method in class com.icegreen.greenmail.smtp.SmtpState
-
To destroy a half-contructed message.
- close() - Method in class com.icegreen.greenmail.pop3.Pop3Connection
- closeConnection() - Method in interface com.icegreen.greenmail.imap.ImapSession
-
Closes the connection for this session.
- closeConnection() - Method in class com.icegreen.greenmail.imap.ImapSessionImpl
- closeConnection(String) - Method in interface com.icegreen.greenmail.imap.ImapSession
- closeConnection(String) - Method in class com.icegreen.greenmail.imap.ImapSessionImpl
- com.icegreen.greenmail - package com.icegreen.greenmail
-
GreenMail is an intuitive and easy-to-use test suite of email servers for testing purposes.
- com.icegreen.greenmail.foedus.util - package com.icegreen.greenmail.foedus.util
- com.icegreen.greenmail.imap - package com.icegreen.greenmail.imap
- com.icegreen.greenmail.imap.commands - package com.icegreen.greenmail.imap.commands
- com.icegreen.greenmail.mail - package com.icegreen.greenmail.mail
- com.icegreen.greenmail.pop3 - package com.icegreen.greenmail.pop3
- com.icegreen.greenmail.pop3.commands - package com.icegreen.greenmail.pop3.commands
- com.icegreen.greenmail.smtp - package com.icegreen.greenmail.smtp
- com.icegreen.greenmail.smtp.commands - package com.icegreen.greenmail.smtp.commands
- com.icegreen.greenmail.store - package com.icegreen.greenmail.store
- com.icegreen.greenmail.user - package com.icegreen.greenmail.user
- com.icegreen.greenmail.util - package com.icegreen.greenmail.util
- commandComplete(ImapCommand) - Method in class com.icegreen.greenmail.imap.ImapResponse
-
Writes a standard tagged OK response on completion of a command.
- commandComplete(ImapCommand, String) - Method in class com.icegreen.greenmail.imap.ImapResponse
-
Writes a standard tagged OK response on completion of a command, with a response code (eg READ-WRITE) Response is writen as:
- commandContinuationRequest() - Method in class com.icegreen.greenmail.imap.ImapRequestLineReader
-
Sends a server command continuation request '+' back to the client, requesting more data to be sent.
- commandError(String) - Method in class com.icegreen.greenmail.imap.ImapResponse
-
Writes a standard BAD response on command error, together with a descriptive message.
- commandFailed(ImapCommand, String) - Method in class com.icegreen.greenmail.imap.ImapResponse
-
Writes a standard NO response on command failure, together with a descriptive message.
- commandFailed(ImapCommand, String, String) - Method in class com.icegreen.greenmail.imap.ImapResponse
-
Writes a standard NO response on command failure, together with a descriptive message.
- CommandParser - Class in com.icegreen.greenmail.imap.commands
- CommandParser() - Constructor for class com.icegreen.greenmail.imap.commands.CommandParser
- CommandParser.ATOM_CHARValidator - Class in com.icegreen.greenmail.imap.commands
- CommandParser.CharacterValidator - Interface in com.icegreen.greenmail.imap.commands
-
Provides the ability to ensure characters are part of a permitted set.
- CommandParser.DigitCharValidator - Class in com.icegreen.greenmail.imap.commands
- CommandParser.NoopCharValidator - Class in com.icegreen.greenmail.imap.commands
- commandResponse(ImapCommand, String) - Method in class com.icegreen.greenmail.imap.ImapResponse
- Config - Class in com.icegreen.greenmail
- Config() - Constructor for class com.icegreen.greenmail.Config
- consume() - Method in class com.icegreen.greenmail.imap.ImapRequestLineReader
-
Consumes the current character in the reader, so that subsequent calls to the request will provide a new character.
- consumeChar(ImapRequestLineReader, char) - Method in class com.icegreen.greenmail.imap.commands.CommandParser
-
Consumes the next character in the request, checking that it matches the expected one.
- consumeLine() - Method in class com.icegreen.greenmail.imap.ImapRequestLineReader
- consumeLiteral(ImapRequestLineReader) - Method in class com.icegreen.greenmail.imap.commands.CommandParser
-
Reads an argument of type "literal" from the request, in the format: "{" charCount "}" CRLF *CHAR8 Note before calling, the request should be positioned so that nextChar is '{'.
- consumeQuoted(ImapRequestLineReader) - Method in class com.icegreen.greenmail.imap.commands.CommandParser
-
Reads a quoted string value from the request.
- consumeWord(ImapRequestLineReader, CommandParser.CharacterValidator) - Method in class com.icegreen.greenmail.imap.commands.CommandParser
-
Reads the next "word from the request, comprising all characters up to the next SPACE.
- convertUidsToIdRangeArray(List<Long>) - Static method in class com.icegreen.greenmail.util.GreenMailUtil
- copy(Reader, Writer) - Static method in class com.icegreen.greenmail.foedus.util.StreamUtils
- copyMessage(long, MailFolder) - Method in class com.icegreen.greenmail.imap.ImapSessionFolder
- copyMessage(long, MailFolder) - Method in interface com.icegreen.greenmail.store.MailFolder
- copyStream(InputStream, OutputStream) - Static method in class com.icegreen.greenmail.util.GreenMailUtil
-
Writes the content of an input stream to an output stream
- create() - Method in interface com.icegreen.greenmail.user.GreenMailUser
- create() - Method in class com.icegreen.greenmail.user.UserImpl
- create(String) - Static method in class com.icegreen.greenmail.imap.commands.SearchTermBuilder
- createAndAddNewWaitObject(int) - Method in class com.icegreen.greenmail.smtp.SmtpManager
- createMailbox(MailFolder, String, boolean) - Method in class com.icegreen.greenmail.store.InMemoryStore
- createMailbox(MailFolder, String, boolean) - Method in interface com.icegreen.greenmail.store.Store
-
Creates a mailbox under the supplied parent with the given name.
- createMailbox(GreenMailUser, String) - Method in interface com.icegreen.greenmail.imap.ImapHostManager
-
Returns a reference to a newly created Mailbox.
- createMailbox(GreenMailUser, String) - Method in class com.icegreen.greenmail.imap.ImapHostManagerImpl
- createPrivateMailAccount(GreenMailUser) - Method in interface com.icegreen.greenmail.imap.ImapHostManager
-
Registers a user with the ImapHost, creating a personal mail space and INBOX for that user.
- createPrivateMailAccount(GreenMailUser) - Method in class com.icegreen.greenmail.imap.ImapHostManagerImpl
- createServerSocket() - Method in class com.icegreen.greenmail.util.DummySSLServerSocketFactory
- createServerSocket(int) - Method in class com.icegreen.greenmail.util.DummySSLServerSocketFactory
- createServerSocket(int, int) - Method in class com.icegreen.greenmail.util.DummySSLServerSocketFactory
- createServerSocket(int, int, InetAddress) - Method in class com.icegreen.greenmail.util.DummySSLServerSocketFactory
- createSocket() - Method in class com.icegreen.greenmail.util.DummySSLSocketFactory
- createSocket(String, int) - Method in class com.icegreen.greenmail.util.DummySSLSocketFactory
- createSocket(String, int, InetAddress, int) - Method in class com.icegreen.greenmail.util.DummySSLSocketFactory
- createSocket(InetAddress, int) - Method in class com.icegreen.greenmail.util.DummySSLSocketFactory
- createSocket(InetAddress, int, InetAddress, int) - Method in class com.icegreen.greenmail.util.DummySSLSocketFactory
- createSocket(Socket, String, int, boolean) - Method in class com.icegreen.greenmail.util.DummySSLSocketFactory
- createUser(String, String, String) - Method in class com.icegreen.greenmail.user.UserManager
D
- DataCommand - Class in com.icegreen.greenmail.smtp.commands
-
DATA command.
- DataCommand() - Constructor for class com.icegreen.greenmail.smtp.commands.DataCommand
- date(ImapRequestLineReader) - Method in class com.icegreen.greenmail.imap.commands.CommandParser
-
Reads a "date" argument from the request.
- dateTime(ImapRequestLineReader) - Method in class com.icegreen.greenmail.imap.commands.CommandParser
-
Reads a "date-time" argument from the request.
- debugRequest(boolean, ImapSession) - Method in class com.icegreen.greenmail.imap.ImapRequestLineReader
- debugResponse(ImapSession) - Method in class com.icegreen.greenmail.imap.ImapResponse
- DeleCommand - Class in com.icegreen.greenmail.pop3.commands
- DeleCommand() - Constructor for class com.icegreen.greenmail.pop3.commands.DeleCommand
- delete() - Method in interface com.icegreen.greenmail.foedus.util.Resource
- delete() - Method in class com.icegreen.greenmail.foedus.util.StringBufferResource
- delete() - Method in interface com.icegreen.greenmail.user.GreenMailUser
- delete() - Method in class com.icegreen.greenmail.user.UserImpl
- deleteAllMessages() - Method in class com.icegreen.greenmail.imap.ImapSessionFolder
- deleteAllMessages() - Method in interface com.icegreen.greenmail.store.MailFolder
- DELETED - com.icegreen.greenmail.imap.commands.SearchKey
- DELETED - Static variable in class com.icegreen.greenmail.store.MessageFlags
- deleteMailbox(MailFolder) - Method in class com.icegreen.greenmail.store.InMemoryStore
- deleteMailbox(MailFolder) - Method in interface com.icegreen.greenmail.store.Store
-
Deletes the supplied mailbox from the store.
- deleteMailbox(GreenMailUser, String) - Method in interface com.icegreen.greenmail.imap.ImapHostManager
-
Deletes an existing MailBox.
- deleteMailbox(GreenMailUser, String) - Method in class com.icegreen.greenmail.imap.ImapHostManagerImpl
- deleteUser(GreenMailUser) - Method in class com.icegreen.greenmail.user.UserManager
- deliver(MovingMessage) - Method in interface com.icegreen.greenmail.user.GreenMailUser
- deliver(MovingMessage) - Method in class com.icegreen.greenmail.user.UserImpl
- deliver(MimeMessage) - Method in interface com.icegreen.greenmail.user.GreenMailUser
- deliver(MimeMessage) - Method in class com.icegreen.greenmail.user.UserImpl
- deregisterHandler(Object) - Method in class com.icegreen.greenmail.AbstractServer
- deselect() - Method in interface com.icegreen.greenmail.imap.ImapSession
-
Moves the session out of
ImapSessionState.SELECTED
state and back intoImapSessionState.AUTHENTICATED
state. - deselect() - Method in class com.icegreen.greenmail.imap.ImapSessionFolder
- deselect() - Method in class com.icegreen.greenmail.imap.ImapSessionImpl
- destroy(Object) - Method in class com.icegreen.greenmail.util.Service
- DigitCharValidator() - Constructor for class com.icegreen.greenmail.imap.commands.CommandParser.DigitCharValidator
- doProcess(ImapRequestLineReader, ImapResponse, ImapSession, boolean) - Method in interface com.icegreen.greenmail.imap.commands.UidEnabledCommand
- DRAFT - com.icegreen.greenmail.imap.commands.SearchKey
- DRAFT - Static variable in class com.icegreen.greenmail.store.MessageFlags
- DummySSLServerSocketFactory - Class in com.icegreen.greenmail.util
-
DummySSLServerSocketFactory - NOT SECURE Contains a hardcoded memory store for convenience in testing by avoiding having to manually setup, install, and generate keystore / keys
- DummySSLServerSocketFactory() - Constructor for class com.icegreen.greenmail.util.DummySSLServerSocketFactory
- DummySSLSocketFactory - Class in com.icegreen.greenmail.util
-
DummySSLSocketFactory - NOT SECURE
- DummySSLSocketFactory() - Constructor for class com.icegreen.greenmail.util.DummySSLSocketFactory
- DummyTrustManager - Class in com.icegreen.greenmail.util
-
DummyTrustManager - NOT SECURE
- DummyTrustManager() - Constructor for class com.icegreen.greenmail.util.DummyTrustManager
E
- EIGHT_BIT_ENCODING - Static variable in interface com.icegreen.greenmail.imap.ImapConstants
- emailReceived() - Method in class com.icegreen.greenmail.smtp.SmtpManager.WaitObject
- endLine(ImapRequestLineReader) - Method in class com.icegreen.greenmail.imap.commands.CommandParser
-
Consumes the request up to and including the eno-of-line.
- eol() - Method in class com.icegreen.greenmail.imap.ImapRequestLineReader
-
Moves the request line reader to end of the line, checking that no non-space character are found.
- equals(Object) - Method in class com.icegreen.greenmail.user.UserImpl
- execute(Pop3Connection, Pop3State, String) - Method in class com.icegreen.greenmail.pop3.commands.ApopCommand
- execute(Pop3Connection, Pop3State, String) - Method in class com.icegreen.greenmail.pop3.commands.DeleCommand
- execute(Pop3Connection, Pop3State, String) - Method in class com.icegreen.greenmail.pop3.commands.ListCommand
- execute(Pop3Connection, Pop3State, String) - Method in class com.icegreen.greenmail.pop3.commands.NoopCommand
- execute(Pop3Connection, Pop3State, String) - Method in class com.icegreen.greenmail.pop3.commands.PassCommand
- execute(Pop3Connection, Pop3State, String) - Method in class com.icegreen.greenmail.pop3.commands.Pop3Command
- execute(Pop3Connection, Pop3State, String) - Method in class com.icegreen.greenmail.pop3.commands.QuitCommand
- execute(Pop3Connection, Pop3State, String) - Method in class com.icegreen.greenmail.pop3.commands.RetrCommand
- execute(Pop3Connection, Pop3State, String) - Method in class com.icegreen.greenmail.pop3.commands.RsetCommand
- execute(Pop3Connection, Pop3State, String) - Method in class com.icegreen.greenmail.pop3.commands.StatCommand
- execute(Pop3Connection, Pop3State, String) - Method in class com.icegreen.greenmail.pop3.commands.TopCommand
- execute(Pop3Connection, Pop3State, String) - Method in class com.icegreen.greenmail.pop3.commands.UidlCommand
- execute(Pop3Connection, Pop3State, String) - Method in class com.icegreen.greenmail.pop3.commands.UserCommand
- execute(SmtpConnection, SmtpState, SmtpManager, String) - Method in class com.icegreen.greenmail.smtp.commands.DataCommand
- execute(SmtpConnection, SmtpState, SmtpManager, String) - Method in class com.icegreen.greenmail.smtp.commands.HeloCommand
- execute(SmtpConnection, SmtpState, SmtpManager, String) - Method in class com.icegreen.greenmail.smtp.commands.MailCommand
- execute(SmtpConnection, SmtpState, SmtpManager, String) - Method in class com.icegreen.greenmail.smtp.commands.NoopCommand
- execute(SmtpConnection, SmtpState, SmtpManager, String) - Method in class com.icegreen.greenmail.smtp.commands.QuitCommand
- execute(SmtpConnection, SmtpState, SmtpManager, String) - Method in class com.icegreen.greenmail.smtp.commands.RcptCommand
- execute(SmtpConnection, SmtpState, SmtpManager, String) - Method in class com.icegreen.greenmail.smtp.commands.RsetCommand
- execute(SmtpConnection, SmtpState, SmtpManager, String) - Method in class com.icegreen.greenmail.smtp.commands.SmtpCommand
- execute(SmtpConnection, SmtpState, SmtpManager, String) - Method in class com.icegreen.greenmail.smtp.commands.VrfyCommand
- existsResponse(int) - Method in class com.icegreen.greenmail.imap.ImapResponse
- expectsParameter() - Method in class com.icegreen.greenmail.imap.commands.SearchTermBuilder
- expunge() - Method in class com.icegreen.greenmail.imap.ImapSessionFolder
- expunge() - Method in interface com.icegreen.greenmail.store.MailFolder
- expunge(long) - Method in class com.icegreen.greenmail.imap.ImapSessionFolder
- expunge(long) - Method in interface com.icegreen.greenmail.store.MailFolder
- expunged(int) - Method in class com.icegreen.greenmail.imap.ImapSessionFolder
- expunged(int) - Method in interface com.icegreen.greenmail.store.FolderListener
- expungeResponse(int) - Method in class com.icegreen.greenmail.imap.ImapResponse
F
- fetchResponse(int, String) - Method in class com.icegreen.greenmail.imap.ImapResponse
- FLAGGED - com.icegreen.greenmail.imap.commands.SearchKey
- FLAGGED - Static variable in class com.icegreen.greenmail.store.MessageFlags
- flagList(ImapRequestLineReader) - Method in class com.icegreen.greenmail.imap.commands.CommandParser
-
Reads a "flags" argument from the request.
- flagsResponse(Flags) - Method in class com.icegreen.greenmail.imap.ImapResponse
- flagsUpdated(int, Flags, Long) - Method in class com.icegreen.greenmail.imap.ImapSessionFolder
- flagsUpdated(int, Flags, Long) - Method in interface com.icegreen.greenmail.store.FolderListener
- FolderException - Exception in com.icegreen.greenmail.store
-
Thrown on an inappropriate attempt to reference a mailbox.
- FolderException(String) - Constructor for exception com.icegreen.greenmail.store.FolderException
-
Construct a new
MailboxException
instance. - FolderException(String, String) - Constructor for exception com.icegreen.greenmail.store.FolderException
-
Construct a new
MailBoxException
instance. - FolderException(String, String, String) - Constructor for exception com.icegreen.greenmail.store.FolderException
-
Construct a new
MailBoxException
instance. - FolderListener - Interface in com.icegreen.greenmail.store
- forceConnectionClose(String) - Method in class com.icegreen.greenmail.imap.ImapHandler
- format(Flags) - Static method in class com.icegreen.greenmail.store.MessageFlags
-
Returns IMAP formatted String of MessageFlags for named user
- FROM - com.icegreen.greenmail.imap.commands.SearchKey
G
- getAcceptedIssuers() - Method in class com.icegreen.greenmail.util.DummyTrustManager
- getAddressList(Address[]) - Static method in class com.icegreen.greenmail.util.GreenMailUtil
- getAllMessages() - Method in interface com.icegreen.greenmail.imap.ImapHostManager
- getAllMessages() - Method in class com.icegreen.greenmail.imap.ImapHostManagerImpl
- getAsString() - Method in interface com.icegreen.greenmail.foedus.util.Resource
- getAsString() - Method in class com.icegreen.greenmail.foedus.util.StringBufferResource
- getAttributes() - Method in class com.icegreen.greenmail.store.SimpleStoredMessage
- getAttributes() - Method in interface com.icegreen.greenmail.store.StoredMessage
- getBindAddress() - Method in class com.icegreen.greenmail.util.ServerSetup
- getBindTo() - Method in class com.icegreen.greenmail.AbstractServer
- getBody(Part) - Static method in class com.icegreen.greenmail.util.GreenMailUtil
- getBodyAsBytes(Part) - Static method in class com.icegreen.greenmail.util.GreenMailUtil
- getBodyStructure(boolean) - Method in interface com.icegreen.greenmail.store.MailMessageAttributes
-
Provides the Body Structure information for this message.
- getBodyStructure(boolean) - Method in class com.icegreen.greenmail.store.SimpleMessageAttributes
-
Provides the Body Structure information for this message.
- getChildren(MailFolder) - Method in class com.icegreen.greenmail.store.InMemoryStore
- getChildren(MailFolder) - Method in interface com.icegreen.greenmail.store.Store
- getClientAddress() - Method in class com.icegreen.greenmail.pop3.Pop3Connection
- getClientAddress() - Method in class com.icegreen.greenmail.smtp.SmtpConnection
- getClientHostname() - Method in interface com.icegreen.greenmail.imap.ImapSession
- getClientHostname() - Method in class com.icegreen.greenmail.imap.ImapSessionImpl
- getClientIP() - Method in interface com.icegreen.greenmail.imap.ImapSession
- getClientIP() - Method in class com.icegreen.greenmail.imap.ImapSessionImpl
- getCommand(String) - Method in class com.icegreen.greenmail.imap.commands.ImapCommandFactory
- getCommand(String) - Method in class com.icegreen.greenmail.pop3.commands.Pop3CommandRegistry
- getCommand(String) - Method in class com.icegreen.greenmail.smtp.commands.SmtpCommandRegistry
- getContent() - Method in class com.icegreen.greenmail.mail.MovingMessage
- getDefault() - Static method in class com.icegreen.greenmail.util.DummySSLServerSocketFactory
- getDefault() - Static method in class com.icegreen.greenmail.util.DummySSLSocketFactory
- getDefaultCipherSuites() - Method in class com.icegreen.greenmail.util.DummySSLServerSocketFactory
- getDefaultCipherSuites() - Method in class com.icegreen.greenmail.util.DummySSLSocketFactory
- getEmail() - Method in class com.icegreen.greenmail.mail.MailAddress
- getEmail() - Method in interface com.icegreen.greenmail.user.GreenMailUser
- getEmail() - Method in class com.icegreen.greenmail.user.UserImpl
- getEmailCount() - Method in class com.icegreen.greenmail.smtp.SmtpManager.WaitObject
- getEnvelope() - Method in interface com.icegreen.greenmail.store.MailMessageAttributes
-
Provides the Envelope structure information for this message.
- getEnvelope() - Method in class com.icegreen.greenmail.store.SimpleMessageAttributes
-
Provides the Envelope structure information for this message.
- getExpunged() - Method in class com.icegreen.greenmail.imap.ImapSessionFolder
- getFirstUnseen() - Method in class com.icegreen.greenmail.imap.ImapSessionFolder
- getFirstUnseen() - Method in interface com.icegreen.greenmail.store.MailFolder
- getFlags() - Method in class com.icegreen.greenmail.store.SimpleStoredMessage
- getFlags() - Method in interface com.icegreen.greenmail.store.StoredMessage
- getFlagUpdates() - Method in class com.icegreen.greenmail.imap.ImapSessionFolder
- getFolder() - Method in class com.icegreen.greenmail.pop3.Pop3State
- getFolder(GreenMailUser, String) - Method in interface com.icegreen.greenmail.imap.ImapHostManager
-
Returns a reference to an existing Mailbox.
- getFolder(GreenMailUser, String) - Method in class com.icegreen.greenmail.imap.ImapHostManagerImpl
- getFolder(GreenMailUser, String, boolean) - Method in interface com.icegreen.greenmail.imap.ImapHostManager
-
Returns a reference to an existing Mailbox.
- getFolder(GreenMailUser, String, boolean) - Method in class com.icegreen.greenmail.imap.ImapHostManagerImpl
- getFullName() - Method in class com.icegreen.greenmail.imap.ImapSessionFolder
- getFullName() - Method in interface com.icegreen.greenmail.store.MailFolder
- getHeaderAsBytes(Part) - Static method in class com.icegreen.greenmail.util.GreenMailUtil
- getHeaders(Part) - Static method in class com.icegreen.greenmail.util.GreenMailUtil
- getHeloName() - Method in class com.icegreen.greenmail.smtp.SmtpConnection
- getHierarchyDelimiter() - Method in interface com.icegreen.greenmail.imap.ImapHostManager
-
Returns the hierarchy delimiter for mailboxes on this host.
- getHierarchyDelimiter() - Method in class com.icegreen.greenmail.imap.ImapHostManagerImpl
- getHighVal() - Method in class com.icegreen.greenmail.imap.commands.IdRange
- getHighVal() - Method in class com.icegreen.greenmail.imap.commands.MsnRange
- getHost() - Method in interface com.icegreen.greenmail.imap.ImapSession
-
Provides the Imap host for this server, which is used for all access to mail storage and subscriptions.
- getHost() - Method in class com.icegreen.greenmail.imap.ImapSessionImpl
- getHost() - Method in class com.icegreen.greenmail.mail.MailAddress
- getImap() - Method in class com.icegreen.greenmail.util.GreenMail
- getImapHostManager() - Method in class com.icegreen.greenmail.Managers
- getImapHostManager() - Method in class com.icegreen.greenmail.user.UserManager
- getImaps() - Method in class com.icegreen.greenmail.util.GreenMail
- getInbox(GreenMailUser) - Method in interface com.icegreen.greenmail.imap.ImapHostManager
-
Returns a reference to the user's INBOX.
- getInbox(GreenMailUser) - Method in class com.icegreen.greenmail.imap.ImapHostManagerImpl
- getInputStream() - Method in interface com.icegreen.greenmail.foedus.util.Resource
- getInputStream() - Method in class com.icegreen.greenmail.foedus.util.StringBufferResource
- getInternalDate() - Method in interface com.icegreen.greenmail.store.MailMessageAttributes
-
Provides the date and time at which the message was received.
- getInternalDate() - Method in class com.icegreen.greenmail.store.SimpleMessageAttributes
-
Provides the date and time at which the message was received.
- getInternalDate() - Method in class com.icegreen.greenmail.store.SimpleStoredMessage
- getInternalDate() - Method in interface com.icegreen.greenmail.store.StoredMessage
- getInternalDateAsString() - Method in interface com.icegreen.greenmail.store.MailMessageAttributes
-
Returns IMAP formatted String representation of Date
- getInternalDateAsString() - Method in class com.icegreen.greenmail.store.SimpleMessageAttributes
- getLineCount(String) - Static method in class com.icegreen.greenmail.util.GreenMailUtil
- getLogin() - Method in interface com.icegreen.greenmail.user.GreenMailUser
- getLogin() - Method in class com.icegreen.greenmail.user.UserImpl
- getLowVal() - Method in class com.icegreen.greenmail.imap.commands.IdRange
- getLowVal() - Method in class com.icegreen.greenmail.imap.commands.MsnRange
- getMailbox(MailFolder, String) - Method in class com.icegreen.greenmail.store.InMemoryStore
- getMailbox(MailFolder, String) - Method in interface com.icegreen.greenmail.store.Store
-
Looks up a child mailbox of the supplied parent with the name given.
- getMailbox(String) - Method in class com.icegreen.greenmail.store.InMemoryStore
- getMailbox(String) - Method in interface com.icegreen.greenmail.store.Store
-
Retrieves a mailbox based on a fully qualified name.
- getManagers() - Method in class com.icegreen.greenmail.util.GreenMail
- getMessage() - Method in class com.icegreen.greenmail.mail.MovingMessage
- getMessage() - Method in class com.icegreen.greenmail.smtp.SmtpState
- getMessage(long) - Method in class com.icegreen.greenmail.imap.ImapSessionFolder
- getMessage(long) - Method in interface com.icegreen.greenmail.store.MailFolder
- getMessageCount() - Method in class com.icegreen.greenmail.imap.ImapSessionFolder
- getMessageCount() - Method in interface com.icegreen.greenmail.store.MailFolder
- getMessages() - Method in class com.icegreen.greenmail.imap.ImapSessionFolder
- getMessages() - Method in interface com.icegreen.greenmail.store.MailFolder
- getMessages(MsgRangeFilter) - Method in class com.icegreen.greenmail.imap.ImapSessionFolder
- getMessages(MsgRangeFilter) - Method in interface com.icegreen.greenmail.store.MailFolder
- getMessages(String) - Method in class com.icegreen.greenmail.util.Retriever
- getMessages(String, String) - Method in class com.icegreen.greenmail.util.Retriever
- getMessageSequenceNumber() - Method in class com.icegreen.greenmail.store.SimpleMessageAttributes
-
Provides the current Message Sequence Number for this message.
- getMessageUids() - Method in class com.icegreen.greenmail.imap.ImapSessionFolder
- getMessageUids() - Method in interface com.icegreen.greenmail.store.MailFolder
- getMimeMessage() - Method in class com.icegreen.greenmail.store.SimpleStoredMessage
- getMimeMessage() - Method in interface com.icegreen.greenmail.store.StoredMessage
- getMsn(long) - Method in class com.icegreen.greenmail.imap.ImapSessionFolder
- getMsn(long) - Method in interface com.icegreen.greenmail.store.MailFolder
- getName() - Method in interface com.icegreen.greenmail.imap.commands.ImapCommand
- getName() - Method in class com.icegreen.greenmail.imap.ImapSessionFolder
- getName() - Method in class com.icegreen.greenmail.mail.MailAddress
- getName() - Method in interface com.icegreen.greenmail.store.MailFolder
- getNonDeletedMessages() - Method in class com.icegreen.greenmail.imap.ImapSessionFolder
- getNonDeletedMessages() - Method in interface com.icegreen.greenmail.store.MailFolder
- getNumberOfParameters() - Method in enum com.icegreen.greenmail.imap.commands.SearchKey
- getParameter(int) - Method in class com.icegreen.greenmail.imap.commands.SearchTermBuilder
- getParameters() - Method in class com.icegreen.greenmail.imap.commands.SearchTermBuilder
- getPassword() - Method in interface com.icegreen.greenmail.user.GreenMailUser
- getPassword() - Method in class com.icegreen.greenmail.user.UserImpl
- getPermanentFlags() - Method in class com.icegreen.greenmail.imap.ImapSessionFolder
- getPermanentFlags() - Method in interface com.icegreen.greenmail.store.MailFolder
- getPop3() - Method in class com.icegreen.greenmail.util.GreenMail
- getPop3s() - Method in class com.icegreen.greenmail.util.GreenMail
- getPort() - Method in class com.icegreen.greenmail.AbstractServer
- getPort() - Method in class com.icegreen.greenmail.util.ServerSetup
- getPortOffset() - Static method in class com.icegreen.greenmail.util.ServerSetupTest
- getProtocol() - Method in class com.icegreen.greenmail.AbstractServer
- getProtocol() - Method in class com.icegreen.greenmail.util.ServerSetup
- getQualifiedMailboxName() - Method in interface com.icegreen.greenmail.user.GreenMailUser
- getQualifiedMailboxName() - Method in class com.icegreen.greenmail.user.UserImpl
- getReader() - Method in interface com.icegreen.greenmail.foedus.util.Resource
- getReader() - Method in class com.icegreen.greenmail.foedus.util.StringBufferResource
- getReader() - Method in class com.icegreen.greenmail.smtp.SmtpConnection
- getReceivedMessages() - Method in class com.icegreen.greenmail.util.GreenMail
- getRecentCount(boolean) - Method in class com.icegreen.greenmail.imap.ImapSessionFolder
- getRecentCount(boolean) - Method in interface com.icegreen.greenmail.store.MailFolder
- getRecipientIterator() - Method in class com.icegreen.greenmail.mail.MovingMessage
- getRemoteServer() - Method in exception com.icegreen.greenmail.store.FolderException
- getResponseCode() - Method in exception com.icegreen.greenmail.store.FolderException
- getReturnPath() - Method in class com.icegreen.greenmail.mail.MovingMessage
- getSearchTermParameter(int) - Method in class com.icegreen.greenmail.imap.commands.SearchTermBuilder
- getSelected() - Method in interface com.icegreen.greenmail.imap.ImapSession
-
Provides the selected mailbox for this session, or
null
if this session is not inImapSessionState.SELECTED
state. - getSelected() - Method in class com.icegreen.greenmail.imap.ImapSessionImpl
- getServerAddress() - Method in class com.icegreen.greenmail.smtp.SmtpConnection
- getServerGreetingsName() - Method in class com.icegreen.greenmail.smtp.SmtpConnection
- getServerSetup() - Method in class com.icegreen.greenmail.AbstractServer
- getSession(ServerSetup) - Static method in class com.icegreen.greenmail.util.GreenMailUtil
- getSessionId() - Method in interface com.icegreen.greenmail.imap.ImapSession
- getSessionId() - Method in class com.icegreen.greenmail.imap.ImapSessionImpl
- getSize() - Method in interface com.icegreen.greenmail.foedus.util.Resource
- getSize() - Method in class com.icegreen.greenmail.foedus.util.StringBufferResource
- getSize() - Method in interface com.icegreen.greenmail.store.MailMessageAttributes
-
Provides the sizeof the message in octets.
- getSize() - Method in class com.icegreen.greenmail.store.SimpleMessageAttributes
-
Provides the sizeof the message in octets.
- getSmtp() - Method in class com.icegreen.greenmail.util.GreenMail
- getSmtpManager() - Method in class com.icegreen.greenmail.Managers
- getSmtps() - Method in class com.icegreen.greenmail.util.GreenMail
- getState() - Method in interface com.icegreen.greenmail.imap.ImapSession
- getState() - Method in class com.icegreen.greenmail.imap.ImapSessionImpl
- getStatus() - Method in exception com.icegreen.greenmail.store.FolderException
- getStringParameter(int) - Method in class com.icegreen.greenmail.imap.commands.SearchTermBuilder
- getSupportedCipherSuites() - Method in class com.icegreen.greenmail.util.DummySSLServerSocketFactory
- getSupportedCipherSuites() - Method in class com.icegreen.greenmail.util.DummySSLSocketFactory
- getTmpFile() - Method in class com.icegreen.greenmail.foedus.util.InMemoryWorkspace
- getTmpFile() - Method in interface com.icegreen.greenmail.foedus.util.Workspace
- getUid() - Method in class com.icegreen.greenmail.store.SimpleStoredMessage
- getUid() - Method in interface com.icegreen.greenmail.store.StoredMessage
- getUID() - Method in class com.icegreen.greenmail.store.SimpleMessageAttributes
-
Provides the unique identity value for this message.
- getUidNext() - Method in class com.icegreen.greenmail.imap.ImapSessionFolder
- getUidNext() - Method in interface com.icegreen.greenmail.store.MailFolder
- getUidValidity() - Method in class com.icegreen.greenmail.imap.ImapSessionFolder
- getUidValidity() - Method in interface com.icegreen.greenmail.store.MailFolder
- getUnseenCount() - Method in class com.icegreen.greenmail.imap.ImapSessionFolder
- getUnseenCount() - Method in interface com.icegreen.greenmail.store.MailFolder
- getUser() - Method in interface com.icegreen.greenmail.imap.ImapSession
-
Provides the authenticated user for this session, or
null
if this session is not inImapSessionState.AUTHENTICATED
orImapSessionState.SELECTED
state. - getUser() - Method in class com.icegreen.greenmail.imap.ImapSessionImpl
- getUser() - Method in class com.icegreen.greenmail.mail.MailAddress
- getUser() - Method in class com.icegreen.greenmail.pop3.Pop3State
- getUser(String) - Method in class com.icegreen.greenmail.pop3.Pop3State
- getUser(String) - Method in class com.icegreen.greenmail.user.UserManager
- getUserByEmail(String) - Method in class com.icegreen.greenmail.user.UserManager
- getUserManager() - Method in interface com.icegreen.greenmail.imap.ImapSession
-
Provides the UserManager for this session, to allow session to validate logins.
- getUserManager() - Method in class com.icegreen.greenmail.imap.ImapSessionImpl
- getUserManager() - Method in class com.icegreen.greenmail.Managers
- getWholeMessage(Part) - Static method in class com.icegreen.greenmail.util.GreenMailUtil
- getWriter() - Method in interface com.icegreen.greenmail.foedus.util.Resource
- getWriter() - Method in class com.icegreen.greenmail.foedus.util.StringBufferResource
- GreenMail - Class in com.icegreen.greenmail.util
- GreenMail() - Constructor for class com.icegreen.greenmail.util.GreenMail
-
Creates a SMTP, SMTPS, POP3, POP3S, IMAP, and IMAPS server binding onto non-default ports.
- GreenMail(ServerSetup) - Constructor for class com.icegreen.greenmail.util.GreenMail
-
Call this constructor if you want to run one of the email servers only
- GreenMail(ServerSetup[]) - Constructor for class com.icegreen.greenmail.util.GreenMail
-
Call this constructor if you want to run more than one of the email servers
- GreenMailUser - Interface in com.icegreen.greenmail.user
- GreenMailUtil - Class in com.icegreen.greenmail.util
H
- handleRequest(InputStream, OutputStream, ImapSession) - Method in class com.icegreen.greenmail.imap.ImapRequestHandler
-
This method parses POP3 commands read off the wire in handleConnection.
- handlers - Variable in class com.icegreen.greenmail.AbstractServer
- hashCode() - Method in class com.icegreen.greenmail.user.UserImpl
- hasNonTextAttachments(Part) - Static method in class com.icegreen.greenmail.util.GreenMailUtil
- HEADER - com.icegreen.greenmail.imap.commands.SearchKey
- HeloCommand - Class in com.icegreen.greenmail.smtp.commands
-
EHLO/HELO command.
- HeloCommand() - Constructor for class com.icegreen.greenmail.smtp.commands.HeloCommand
- HIERARCHY_DELIMITER - Static variable in interface com.icegreen.greenmail.imap.ImapConstants
- HIERARCHY_DELIMITER_CHAR - Static variable in interface com.icegreen.greenmail.imap.ImapConstants
I
- IdRange - Class in com.icegreen.greenmail.imap.commands
-
Represents a range of UID values.
- IdRange(long) - Constructor for class com.icegreen.greenmail.imap.commands.IdRange
- IdRange(long, long) - Constructor for class com.icegreen.greenmail.imap.commands.IdRange
- idRangesToString(IdRange[]) - Static method in class com.icegreen.greenmail.util.GreenMailUtil
- idRangeToString(IdRange) - Static method in class com.icegreen.greenmail.util.GreenMailUtil
- IdSet - Interface in com.icegreen.greenmail.imap.commands
- IF_CREATED_LOCAL - Static variable in exception com.icegreen.greenmail.store.FolderException
- IF_CREATED_REMOTE - Static variable in exception com.icegreen.greenmail.store.FolderException
- IMAP - Static variable in class com.icegreen.greenmail.util.ServerSetup
- IMAP - Static variable in class com.icegreen.greenmail.util.ServerSetupTest
- ImapCommand - Interface in com.icegreen.greenmail.imap.commands
-
Represents a processor for a particular Imap command.
- ImapCommandFactory - Class in com.icegreen.greenmail.imap.commands
-
A factory for ImapCommand instances, provided based on the command name.
- ImapCommandFactory() - Constructor for class com.icegreen.greenmail.imap.commands.ImapCommandFactory
- ImapConstants - Interface in com.icegreen.greenmail.imap
- ImapHandler - Class in com.icegreen.greenmail.imap
-
The handler class for IMAP connections.
- ImapHandler(UserManager, ImapHostManager, Socket) - Constructor for class com.icegreen.greenmail.imap.ImapHandler
- ImapHandler(UserManager, ImapHostManager, Socket, AbstractServer) - Constructor for class com.icegreen.greenmail.imap.ImapHandler
- ImapHostManager - Interface in com.icegreen.greenmail.imap
-
A host machine that has an IMAP4rev1 messaging server.
- ImapHostManagerImpl - Class in com.icegreen.greenmail.imap
-
An initial implementation of an ImapHost.
- ImapHostManagerImpl() - Constructor for class com.icegreen.greenmail.imap.ImapHostManagerImpl
-
Hack constructor which creates an in-memory store, and creates a console logger.
- ImapHostManagerImpl(Store) - Constructor for class com.icegreen.greenmail.imap.ImapHostManagerImpl
- ImapRequestHandler - Class in com.icegreen.greenmail.imap
- ImapRequestHandler() - Constructor for class com.icegreen.greenmail.imap.ImapRequestHandler
- ImapRequestLineReader - Class in com.icegreen.greenmail.imap
-
Wraps the client input reader with a bunch of convenience methods, allowing lookahead=1 on the underlying character stream.
- ImapResponse - Class in com.icegreen.greenmail.imap
-
Class providing methods to send response messages from the server to the client.
- ImapResponse(OutputStream) - Constructor for class com.icegreen.greenmail.imap.ImapResponse
- IMAPS - Static variable in class com.icegreen.greenmail.util.ServerSetup
- IMAPS - Static variable in class com.icegreen.greenmail.util.ServerSetupTest
- ImapServer - Class in com.icegreen.greenmail.imap
- ImapServer(ServerSetup, Managers) - Constructor for class com.icegreen.greenmail.imap.ImapServer
- ImapServer(ServerSetup, Managers, AtomicReference<Exception>) - Constructor for class com.icegreen.greenmail.imap.ImapServer
- ImapSession - Interface in com.icegreen.greenmail.imap
-
Encapsulates all state held for an ongoing Imap session, which commences when a client first establishes a connection to the Imap server, and continues until that connection is closed.
- ImapSessionFolder - Class in com.icegreen.greenmail.imap
- ImapSessionFolder(MailFolder, ImapSession, boolean) - Constructor for class com.icegreen.greenmail.imap.ImapSessionFolder
- ImapSessionImpl - Class in com.icegreen.greenmail.imap
- ImapSessionImpl(ImapHostManager, UserManager, ImapHandler, String, String) - Constructor for class com.icegreen.greenmail.imap.ImapSessionImpl
- ImapSessionState - Class in com.icegreen.greenmail.imap
-
Enumerated type representing an IMAP session state.
- INBOX_NAME - Static variable in interface com.icegreen.greenmail.imap.ImapConstants
- includes(int) - Method in class com.icegreen.greenmail.foedus.util.MsgRangeFilter
- includes(int) - Method in class com.icegreen.greenmail.imap.commands.MsnRange
- includes(long) - Method in class com.icegreen.greenmail.imap.commands.IdRange
- includes(long) - Method in interface com.icegreen.greenmail.imap.commands.IdSet
- init(Object) - Method in class com.icegreen.greenmail.util.Service
- InMemoryStore - Class in com.icegreen.greenmail.store
-
A simple in-memory implementation of
Store
, used for testing and development. - InMemoryStore() - Constructor for class com.icegreen.greenmail.store.InMemoryStore
- InMemoryWorkspace - Class in com.icegreen.greenmail.foedus.util
- InMemoryWorkspace() - Constructor for class com.icegreen.greenmail.foedus.util.InMemoryWorkspace
- instance() - Static method in class com.icegreen.greenmail.util.GreenMailUtil
- InternetPrintWriter - Class in com.icegreen.greenmail.util
-
Writes to a wrapped Writer class, ensuring that all line separators are '\r\n', regardless of platform.
- InternetPrintWriter(OutputStream) - Constructor for class com.icegreen.greenmail.util.InternetPrintWriter
-
Constructor that takes a stream to wrap.
- InternetPrintWriter(OutputStream, boolean) - Constructor for class com.icegreen.greenmail.util.InternetPrintWriter
-
Constructor that takes a stream to wrap.
- InternetPrintWriter(Writer) - Constructor for class com.icegreen.greenmail.util.InternetPrintWriter
-
Constructor that takes a writer to wrap.
- InternetPrintWriter(Writer, boolean) - Constructor for class com.icegreen.greenmail.util.InternetPrintWriter
-
Constructor that takes a writer to wrap.
- isArrived() - Method in class com.icegreen.greenmail.smtp.SmtpManager.WaitObject
- isAuthenticated() - Method in class com.icegreen.greenmail.pop3.Pop3State
- isExpressionParameter() - Method in class com.icegreen.greenmail.imap.commands.SearchTermBuilder
- isListWildcard(char) - Method in class com.icegreen.greenmail.imap.commands.CommandParser
- isLoginCommand() - Method in interface com.icegreen.greenmail.imap.commands.ImapCommand
- isMarked() - Method in class com.icegreen.greenmail.imap.ImapSessionFolder
- isMarked() - Method in interface com.icegreen.greenmail.store.MailFolder
- isParameterExpression() - Method in enum com.icegreen.greenmail.imap.commands.SearchKey
- isReadonly() - Method in class com.icegreen.greenmail.imap.ImapSessionFolder
- isRemote() - Method in exception com.icegreen.greenmail.store.FolderException
- isSecure() - Method in class com.icegreen.greenmail.util.ServerSetup
- isSelectable() - Method in class com.icegreen.greenmail.imap.ImapSessionFolder
- isSelectable() - Method in interface com.icegreen.greenmail.store.MailFolder
- isSizeChanged() - Method in class com.icegreen.greenmail.imap.ImapSessionFolder
- isValid(char) - Method in class com.icegreen.greenmail.imap.commands.CommandParser.ATOM_CHARValidator
- isValid(char) - Method in interface com.icegreen.greenmail.imap.commands.CommandParser.CharacterValidator
-
Validates the supplied character.
- isValid(char) - Method in class com.icegreen.greenmail.imap.commands.CommandParser.DigitCharValidator
- isValid(char) - Method in class com.icegreen.greenmail.imap.commands.CommandParser.NoopCharValidator
- isValidForState(Pop3State) - Method in class com.icegreen.greenmail.pop3.commands.ApopCommand
- isValidForState(Pop3State) - Method in class com.icegreen.greenmail.pop3.commands.DeleCommand
- isValidForState(Pop3State) - Method in class com.icegreen.greenmail.pop3.commands.ListCommand
- isValidForState(Pop3State) - Method in class com.icegreen.greenmail.pop3.commands.NoopCommand
- isValidForState(Pop3State) - Method in class com.icegreen.greenmail.pop3.commands.PassCommand
- isValidForState(Pop3State) - Method in class com.icegreen.greenmail.pop3.commands.Pop3Command
- isValidForState(Pop3State) - Method in class com.icegreen.greenmail.pop3.commands.QuitCommand
- isValidForState(Pop3State) - Method in class com.icegreen.greenmail.pop3.commands.RetrCommand
- isValidForState(Pop3State) - Method in class com.icegreen.greenmail.pop3.commands.RsetCommand
- isValidForState(Pop3State) - Method in class com.icegreen.greenmail.pop3.commands.StatCommand
- isValidForState(Pop3State) - Method in class com.icegreen.greenmail.pop3.commands.TopCommand
- isValidForState(Pop3State) - Method in class com.icegreen.greenmail.pop3.commands.UidlCommand
- isValidForState(Pop3State) - Method in class com.icegreen.greenmail.pop3.commands.UserCommand
K
- keepOn() - Method in class com.icegreen.greenmail.util.Service
- KEYWORD - com.icegreen.greenmail.imap.commands.SearchKey
L
- LARGER - com.icegreen.greenmail.imap.commands.SearchKey
- limit(Reader, long) - Static method in class com.icegreen.greenmail.foedus.util.StreamUtils
-
Creates a reader that will return -1 after
len
chars have been read. - ListCommand - Class in com.icegreen.greenmail.pop3.commands
- ListCommand() - Constructor for class com.icegreen.greenmail.pop3.commands.ListCommand
- listMailboxes(GreenMailUser, String) - Method in interface com.icegreen.greenmail.imap.ImapHostManager
-
Returns an collection of mailboxes on this host.
- listMailboxes(GreenMailUser, String) - Method in class com.icegreen.greenmail.imap.ImapHostManagerImpl
- listMailboxes(String) - Method in class com.icegreen.greenmail.store.InMemoryStore
- listMailboxes(String) - Method in interface com.icegreen.greenmail.store.Store
-
Lists all of the mailboxes in the store which have a name matching the supplied search pattern.
- listSubscribedMailboxes(GreenMailUser, String) - Method in interface com.icegreen.greenmail.imap.ImapHostManager
-
Returns an collection of mailboxes on this host.
- listSubscribedMailboxes(GreenMailUser, String) - Method in class com.icegreen.greenmail.imap.ImapHostManagerImpl
- load() - Method in class com.icegreen.greenmail.pop3.commands.Pop3CommandRegistry
- load() - Method in class com.icegreen.greenmail.smtp.commands.SmtpCommandRegistry
- LOCAL_BUT_DELETED - Static variable in exception com.icegreen.greenmail.store.FolderException
- log - Variable in class com.icegreen.greenmail.imap.commands.CommandParser
-
New logger.
- log - Variable in class com.icegreen.greenmail.pop3.Pop3Connection
- log - Variable in class com.icegreen.greenmail.store.SimpleMessageAttributes
- logout() - Method in class com.icegreen.greenmail.util.Retriever
- LOGOUT - Static variable in class com.icegreen.greenmail.imap.ImapSessionState
M
- MailAddress - Class in com.icegreen.greenmail.mail
- MailAddress(String) - Constructor for class com.icegreen.greenmail.mail.MailAddress
- mailbox(ImapRequestLineReader) - Method in class com.icegreen.greenmail.imap.commands.CommandParser
-
Reads a "mailbox" argument from the request.
- mailboxDeleted() - Method in class com.icegreen.greenmail.imap.ImapSessionFolder
- mailboxDeleted() - Method in interface com.icegreen.greenmail.store.FolderListener
- MailCommand - Class in com.icegreen.greenmail.smtp.commands
-
MAIL command.
- MailCommand() - Constructor for class com.icegreen.greenmail.smtp.commands.MailCommand
- MailException - Exception in com.icegreen.greenmail.mail
- MailException() - Constructor for exception com.icegreen.greenmail.mail.MailException
- MailException(String) - Constructor for exception com.icegreen.greenmail.mail.MailException
- MailException(String, Throwable) - Constructor for exception com.icegreen.greenmail.mail.MailException
- MailException(Throwable) - Constructor for exception com.icegreen.greenmail.mail.MailException
- MailFolder - Interface in com.icegreen.greenmail.store
-
Represents a mailbox within an
Store
. - MailMessageAttributes - Interface in com.icegreen.greenmail.store
-
Interface for objects holding IMAP4rev1 Message Attributes.
- MalformedAddressException - Exception in com.icegreen.greenmail.mail
- MalformedAddressException() - Constructor for exception com.icegreen.greenmail.mail.MalformedAddressException
- MalformedAddressException(String) - Constructor for exception com.icegreen.greenmail.mail.MalformedAddressException
- MalformedAddressException(String, Throwable) - Constructor for exception com.icegreen.greenmail.mail.MalformedAddressException
- MalformedAddressException(Throwable) - Constructor for exception com.icegreen.greenmail.mail.MalformedAddressException
- managers - Variable in class com.icegreen.greenmail.AbstractServer
- Managers - Class in com.icegreen.greenmail
- Managers() - Constructor for class com.icegreen.greenmail.Managers
- MessageFlags - Class in com.icegreen.greenmail.store
-
The set of flags associated with a message.
- MessageFlags() - Constructor for class com.icegreen.greenmail.store.MessageFlags
- MovingMessage - Class in com.icegreen.greenmail.mail
-
Contains information for delivering a mime email.
- MovingMessage(Workspace) - Constructor for class com.icegreen.greenmail.mail.MovingMessage
- MsgRangeFilter - Class in com.icegreen.greenmail.foedus.util
- MsgRangeFilter(String, boolean) - Constructor for class com.icegreen.greenmail.foedus.util.MsgRangeFilter
- MsnRange - Class in com.icegreen.greenmail.imap.commands
-
Represents a range of Message Sequence Numbers.
- MsnRange(int) - Constructor for class com.icegreen.greenmail.imap.commands.MsnRange
- MsnRange(int, int) - Constructor for class com.icegreen.greenmail.imap.commands.MsnRange
- msnsToUids(IdRange[]) - Method in class com.icegreen.greenmail.imap.ImapSessionFolder
N
- NAMESPACE_PREFIX - Static variable in interface com.icegreen.greenmail.imap.ImapConstants
- NAMESPACE_PREFIX_CHAR - Static variable in interface com.icegreen.greenmail.imap.ImapConstants
- NEW - com.icegreen.greenmail.imap.commands.SearchKey
- newMimeMessage(InputStream) - Static method in class com.icegreen.greenmail.util.GreenMailUtil
-
Convenience method which creates a new
MimeMessage
from an input stream - newMimeMessage(String) - Static method in class com.icegreen.greenmail.util.GreenMailUtil
-
Convenience method which creates a new
MimeMessage
from a string - nextChar() - Method in class com.icegreen.greenmail.imap.ImapRequestLineReader
-
Reads the next character in the current line.
- nextWordChar() - Method in class com.icegreen.greenmail.imap.ImapRequestLineReader
-
Reads the next regular, non-space character in the current line.
- NO - Static variable in interface com.icegreen.greenmail.imap.ImapConstants
- NON_AUTHENTICATED - Static variable in class com.icegreen.greenmail.imap.ImapSessionState
- NoopCharValidator() - Constructor for class com.icegreen.greenmail.imap.commands.CommandParser.NoopCharValidator
- NoopCommand - Class in com.icegreen.greenmail.pop3.commands
- NoopCommand - Class in com.icegreen.greenmail.smtp.commands
-
NOOP command.
- NoopCommand() - Constructor for class com.icegreen.greenmail.pop3.commands.NoopCommand
- NoopCommand() - Constructor for class com.icegreen.greenmail.smtp.commands.NoopCommand
- NoSuchUserException - Exception in com.icegreen.greenmail.user
- NoSuchUserException() - Constructor for exception com.icegreen.greenmail.user.NoSuchUserException
- NoSuchUserException(String) - Constructor for exception com.icegreen.greenmail.user.NoSuchUserException
- NoSuchUserException(String, Throwable) - Constructor for exception com.icegreen.greenmail.user.NoSuchUserException
- NoSuchUserException(Throwable) - Constructor for exception com.icegreen.greenmail.user.NoSuchUserException
- NOT - com.icegreen.greenmail.imap.commands.SearchKey
- NOT_LOCAL - Static variable in exception com.icegreen.greenmail.store.FolderException
- nstring(ImapRequestLineReader) - Method in class com.icegreen.greenmail.imap.commands.CommandParser
-
Reads an argument of type "nstring" from the request.
- number(ImapRequestLineReader) - Method in class com.icegreen.greenmail.imap.commands.CommandParser
-
Reads an argument of type "number" from the request.
- nzNumber(ImapRequestLineReader) - Method in class com.icegreen.greenmail.imap.commands.CommandParser
-
Reads an argument of type "nznumber" (a non-zero number) (NOTE this isn't strictly as per the spec, since the spec disallows numbers such as "0123" as nzNumbers (although it's ok as a "number".
O
- OK - Static variable in interface com.icegreen.greenmail.imap.ImapConstants
- okResponse(String, String) - Method in class com.icegreen.greenmail.imap.ImapResponse
-
Writes an untagged OK response, with the supplied response code, and an optional message.
- OLD - com.icegreen.greenmail.imap.commands.SearchKey
- ON - com.icegreen.greenmail.imap.commands.SearchKey
- openServerSocket() - Method in class com.icegreen.greenmail.AbstractServer
- openServerSocket() - Method in class com.icegreen.greenmail.imap.ImapServer
- OR - com.icegreen.greenmail.imap.commands.SearchKey
P
- parseIdRange(ImapRequestLineReader) - Method in class com.icegreen.greenmail.imap.commands.CommandParser
-
Reads a "message set" argument, and parses into an IdSet.
- parts - Variable in class com.icegreen.greenmail.store.SimpleMessageAttributes
- PassCommand - Class in com.icegreen.greenmail.pop3.commands
- PassCommand() - Constructor for class com.icegreen.greenmail.pop3.commands.PassCommand
- permanentFlagsResponse(Flags) - Method in class com.icegreen.greenmail.imap.ImapResponse
- POP3 - Static variable in class com.icegreen.greenmail.util.ServerSetup
- POP3 - Static variable in class com.icegreen.greenmail.util.ServerSetupTest
- Pop3Command - Class in com.icegreen.greenmail.pop3.commands
- Pop3Command() - Constructor for class com.icegreen.greenmail.pop3.commands.Pop3Command
- Pop3CommandRegistry - Class in com.icegreen.greenmail.pop3.commands
- Pop3CommandRegistry() - Constructor for class com.icegreen.greenmail.pop3.commands.Pop3CommandRegistry
- Pop3Connection - Class in com.icegreen.greenmail.pop3
- Pop3Connection(Pop3Handler, Socket) - Constructor for class com.icegreen.greenmail.pop3.Pop3Connection
- Pop3Handler - Class in com.icegreen.greenmail.pop3
- Pop3Handler(Pop3CommandRegistry, UserManager, Socket) - Constructor for class com.icegreen.greenmail.pop3.Pop3Handler
- POP3S - Static variable in class com.icegreen.greenmail.util.ServerSetup
- POP3S - Static variable in class com.icegreen.greenmail.util.ServerSetupTest
- Pop3Server - Class in com.icegreen.greenmail.pop3
- Pop3Server(ServerSetup, Managers) - Constructor for class com.icegreen.greenmail.pop3.Pop3Server
- Pop3State - Class in com.icegreen.greenmail.pop3
- Pop3State(UserManager) - Constructor for class com.icegreen.greenmail.pop3.Pop3State
- portOffset - Static variable in class com.icegreen.greenmail.util.ServerSetupTest
- print(Reader) - Method in class com.icegreen.greenmail.pop3.Pop3Connection
- println() - Method in class com.icegreen.greenmail.pop3.Pop3Connection
- println() - Method in class com.icegreen.greenmail.util.InternetPrintWriter
-
Print a line separator.
- println(boolean) - Method in class com.icegreen.greenmail.util.InternetPrintWriter
-
Print a boolean followed by a line separator.
- println(char) - Method in class com.icegreen.greenmail.util.InternetPrintWriter
-
Print a char followed by a line separator.
- println(char[]) - Method in class com.icegreen.greenmail.util.InternetPrintWriter
-
Print a character array followed by a line separator.
- println(double) - Method in class com.icegreen.greenmail.util.InternetPrintWriter
-
Print a double followed by a line separator.
- println(float) - Method in class com.icegreen.greenmail.util.InternetPrintWriter
-
Print a float followed by a line separator.
- println(int) - Method in class com.icegreen.greenmail.util.InternetPrintWriter
-
Print a int followed by a line separator.
- println(long) - Method in class com.icegreen.greenmail.util.InternetPrintWriter
-
Print a long followed by a line separator.
- println(Object) - Method in class com.icegreen.greenmail.util.InternetPrintWriter
-
Print an Object followed by a line separator.
- println(String) - Method in class com.icegreen.greenmail.pop3.Pop3Connection
- println(String) - Method in class com.icegreen.greenmail.smtp.SmtpConnection
- println(String) - Method in class com.icegreen.greenmail.util.InternetPrintWriter
-
Print a String followed by a line separator.
- process(ImapRequestLineReader, ImapResponse, ImapSession) - Method in interface com.icegreen.greenmail.imap.commands.ImapCommand
-
Performs all processing of the current Imap request.
- PROTOCOL_IMAP - Static variable in class com.icegreen.greenmail.util.Retriever
- PROTOCOL_IMAP - Static variable in class com.icegreen.greenmail.util.ServerSetup
- PROTOCOL_IMAPS - Static variable in class com.icegreen.greenmail.util.Retriever
- PROTOCOL_IMAPS - Static variable in class com.icegreen.greenmail.util.ServerSetup
- PROTOCOL_POP3 - Static variable in class com.icegreen.greenmail.util.Retriever
- PROTOCOL_POP3 - Static variable in class com.icegreen.greenmail.util.ServerSetup
- PROTOCOL_POP3S - Static variable in class com.icegreen.greenmail.util.Retriever
- PROTOCOL_POP3S - Static variable in class com.icegreen.greenmail.util.ServerSetup
- PROTOCOL_SMTP - Static variable in class com.icegreen.greenmail.util.ServerSetup
- PROTOCOL_SMTPS - Static variable in class com.icegreen.greenmail.util.ServerSetup
- ProtocolException - Exception in com.icegreen.greenmail.imap
- ProtocolException(String) - Constructor for exception com.icegreen.greenmail.imap.ProtocolException
Q
- quit() - Method in class com.icegreen.greenmail.imap.ImapServer
- quit() - Method in class com.icegreen.greenmail.pop3.Pop3Connection
- quit() - Method in class com.icegreen.greenmail.pop3.Pop3Handler
- quit() - Method in class com.icegreen.greenmail.pop3.Pop3Server
- quit() - Method in class com.icegreen.greenmail.smtp.SmtpConnection
- quit() - Method in class com.icegreen.greenmail.smtp.SmtpServer
- quit() - Method in class com.icegreen.greenmail.util.Service
- QuitCommand - Class in com.icegreen.greenmail.pop3.commands
- QuitCommand - Class in com.icegreen.greenmail.smtp.commands
-
QUIT command.
- QuitCommand() - Constructor for class com.icegreen.greenmail.pop3.commands.QuitCommand
- QuitCommand() - Constructor for class com.icegreen.greenmail.smtp.commands.QuitCommand
R
- random() - Static method in class com.icegreen.greenmail.util.GreenMailUtil
-
Generates a random generated password consisting of letters and digits with a length variable between 5 and 8 characters long.
- random(int) - Static method in class com.icegreen.greenmail.util.GreenMailUtil
- RcptCommand - Class in com.icegreen.greenmail.smtp.commands
-
RCPT command.
- RcptCommand() - Constructor for class com.icegreen.greenmail.smtp.commands.RcptCommand
- read(char[]) - Method in class com.icegreen.greenmail.imap.ImapRequestLineReader
-
Reads and consumes a number of characters from the underlying reader, filling the char array provided.
- readDotTerminatedContent(BufferedReader) - Method in class com.icegreen.greenmail.mail.MovingMessage
-
Reads the contents of the stream until <CRLF>.<CRLF> is encountered.
- readLine() - Method in class com.icegreen.greenmail.pop3.Pop3Connection
- readLine() - Method in class com.icegreen.greenmail.smtp.SmtpConnection
- RECENT - com.icegreen.greenmail.imap.commands.SearchKey
- recentResponse(int) - Method in class com.icegreen.greenmail.imap.ImapResponse
- release(Resource) - Method in class com.icegreen.greenmail.foedus.util.InMemoryWorkspace
- release(Resource) - Method in interface com.icegreen.greenmail.foedus.util.Workspace
- releaseContent() - Method in class com.icegreen.greenmail.mail.MovingMessage
- remoteServer - Variable in exception com.icegreen.greenmail.store.FolderException
- removeListener(FolderListener) - Method in class com.icegreen.greenmail.imap.ImapSessionFolder
- removeListener(FolderListener) - Method in interface com.icegreen.greenmail.store.MailFolder
- removeRecipient(MailAddress) - Method in class com.icegreen.greenmail.mail.MovingMessage
- renameMailbox(MailFolder, String) - Method in class com.icegreen.greenmail.store.InMemoryStore
- renameMailbox(MailFolder, String) - Method in interface com.icegreen.greenmail.store.Store
-
Renames the mailbox with the new name.
- renameMailbox(GreenMailUser, String, String) - Method in interface com.icegreen.greenmail.imap.ImapHostManager
-
Renames an existing MailBox.
- renameMailbox(GreenMailUser, String, String) - Method in class com.icegreen.greenmail.imap.ImapHostManagerImpl
- replaceFlags(Flags, long, FolderListener, boolean) - Method in class com.icegreen.greenmail.imap.ImapSessionFolder
- replaceFlags(Flags, long, FolderListener, boolean) - Method in interface com.icegreen.greenmail.store.MailFolder
- Resource - Interface in com.icegreen.greenmail.foedus.util
- RetrCommand - Class in com.icegreen.greenmail.pop3.commands
- RetrCommand() - Constructor for class com.icegreen.greenmail.pop3.commands.RetrCommand
- Retriever - Class in com.icegreen.greenmail.util
- Retriever(AbstractServer) - Constructor for class com.icegreen.greenmail.util.Retriever
-
Creates a retriever object for a particular server
Example:
GreenMail greenMail = new GreenMail();
...
Retriever r = new Retriever(greenMail.getPop3())
; r.getMessages("bill@microsoft.com");
This will fetch all available messages for Billy using POP3. - RsetCommand - Class in com.icegreen.greenmail.pop3.commands
-
Handles the RSET command.
- RsetCommand - Class in com.icegreen.greenmail.smtp.commands
-
RSET command.
- RsetCommand() - Constructor for class com.icegreen.greenmail.pop3.commands.RsetCommand
- RsetCommand() - Constructor for class com.icegreen.greenmail.smtp.commands.RsetCommand
- run() - Method in class com.icegreen.greenmail.imap.ImapHandler
- run() - Method in class com.icegreen.greenmail.imap.ImapServer
- run() - Method in class com.icegreen.greenmail.pop3.Pop3Handler
- run() - Method in class com.icegreen.greenmail.pop3.Pop3Server
- run() - Method in class com.icegreen.greenmail.smtp.SmtpServer
- run() - Method in class com.icegreen.greenmail.util.Service
S
- search(SearchTerm) - Method in class com.icegreen.greenmail.imap.ImapSessionFolder
- search(SearchTerm) - Method in interface com.icegreen.greenmail.store.MailFolder
- SearchKey - Enum in com.icegreen.greenmail.imap.commands
-
SearchKey as defined in "RFC3501" section "6.4.4.
- SearchTermBuilder - Class in com.icegreen.greenmail.imap.commands
-
Builder for search terms.
- SearchTermBuilder() - Constructor for class com.icegreen.greenmail.imap.commands.SearchTermBuilder
- SEEN - com.icegreen.greenmail.imap.commands.SearchKey
- SEEN - Static variable in class com.icegreen.greenmail.store.MessageFlags
- SELECTED - Static variable in class com.icegreen.greenmail.imap.ImapSessionState
- selectedIsReadOnly() - Method in class com.icegreen.greenmail.imap.ImapSessionImpl
- send(SmtpState) - Method in class com.icegreen.greenmail.smtp.SmtpManager
- sendAttachmentEmail(String, String, String, String, byte[], String, String, String, ServerSetup) - Static method in class com.icegreen.greenmail.util.GreenMailUtil
- sendTextEmail(String, String, String, String, ServerSetup) - Static method in class com.icegreen.greenmail.util.GreenMailUtil
- sendTextEmailSecureTest(String, String, String, String) - Static method in class com.icegreen.greenmail.util.GreenMailUtil
- sendTextEmailTest(String, String, String, String) - Static method in class com.icegreen.greenmail.util.GreenMailUtil
- SENTBEFORE - com.icegreen.greenmail.imap.commands.SearchKey
- SENTON - com.icegreen.greenmail.imap.commands.SearchKey
- SENTSINCE - com.icegreen.greenmail.imap.commands.SearchKey
- Servers - Class in com.icegreen.greenmail.util
-
Deprecated.Use GreenMail.java instead
- Servers() - Constructor for class com.icegreen.greenmail.util.Servers
-
Deprecated.
- Servers(ServerSetup) - Constructor for class com.icegreen.greenmail.util.Servers
-
Deprecated.
- Servers(ServerSetup[]) - Constructor for class com.icegreen.greenmail.util.Servers
-
Deprecated.
- ServerSetup - Class in com.icegreen.greenmail.util
-
Defines the default ports smtp25 smtps465 pop3110 pop3s995 imap143 imaps993 Use
ServerSetupTest
for non-default ports - ServerSetup(int, String, String) - Constructor for class com.icegreen.greenmail.util.ServerSetup
- ServerSetupTest - Class in com.icegreen.greenmail.util
-
Defines a series of non-default ports for test purposes.
- ServerSetupTest() - Constructor for class com.icegreen.greenmail.util.ServerSetupTest
- serverSocket - Variable in class com.icegreen.greenmail.AbstractServer
- Service - Class in com.icegreen.greenmail.util
-
A class that facilitate service implementation
- Service() - Constructor for class com.icegreen.greenmail.util.Service
- setAuthenticated(GreenMailUser) - Method in interface com.icegreen.greenmail.imap.ImapSession
-
Moves the session into
ImapSessionState.AUTHENTICATED
state with the supplied user. - setAuthenticated(GreenMailUser) - Method in class com.icegreen.greenmail.imap.ImapSessionImpl
- setFlag(String, Flags) - Method in class com.icegreen.greenmail.imap.commands.CommandParser
- setFlags(Flags, boolean, long, FolderListener, boolean) - Method in class com.icegreen.greenmail.imap.ImapSessionFolder
- setFlags(Flags, boolean, long, FolderListener, boolean) - Method in interface com.icegreen.greenmail.store.MailFolder
- setHeloName(String) - Method in class com.icegreen.greenmail.smtp.SmtpConnection
- setPassword(String) - Method in interface com.icegreen.greenmail.user.GreenMailUser
- setPassword(String) - Method in class com.icegreen.greenmail.user.UserImpl
- setPortOffset(int) - Static method in class com.icegreen.greenmail.util.ServerSetupTest
- setResponseCode(String) - Method in exception com.icegreen.greenmail.store.FolderException
- setReturnPath(MailAddress) - Method in class com.icegreen.greenmail.mail.MovingMessage
- setSelectable(MailFolder, boolean) - Method in class com.icegreen.greenmail.store.InMemoryStore
- setSelectable(MailFolder, boolean) - Method in interface com.icegreen.greenmail.store.Store
-
Tells the store to make the supplied mailbox selectable or not (able to store messages).
- setSelected(MailFolder, boolean) - Method in interface com.icegreen.greenmail.imap.ImapSession
-
Moves this session into
ImapSessionState.SELECTED
state and sets the supplied mailbox to be the currently selected mailbox. - setSelected(MailFolder, boolean) - Method in class com.icegreen.greenmail.imap.ImapSessionImpl
- setSizeChanged(boolean) - Method in class com.icegreen.greenmail.imap.ImapSessionFolder
- setTag(String) - Method in class com.icegreen.greenmail.imap.ImapResponse
- setup - Variable in class com.icegreen.greenmail.AbstractServer
- setUser(GreenMailUser) - Method in class com.icegreen.greenmail.pop3.Pop3State
- setUser(String, String) - Method in class com.icegreen.greenmail.util.GreenMail
-
Sets the password for the account linked to email.
- setUser(String, String, String) - Method in class com.icegreen.greenmail.util.GreenMail
- setUsers(Properties) - Method in class com.icegreen.greenmail.util.GreenMail
-
Sets up accounts with password based on a properties map where the key is the email and the value the password
- signalDeletion() - Method in class com.icegreen.greenmail.imap.ImapSessionFolder
- signalDeletion() - Method in interface com.icegreen.greenmail.store.MailFolder
- SimpleMessageAttributes - Class in com.icegreen.greenmail.store
-
Attributes of a Message in IMAP4rev1 style.
- SimpleStoredMessage - Class in com.icegreen.greenmail.store
-
A mail message with all of the extra stuff that IMAP requires.
- SimpleStoredMessage(MimeMessage, Date, long) - Constructor for class com.icegreen.greenmail.store.SimpleStoredMessage
- SINCE - com.icegreen.greenmail.imap.commands.SearchKey
- SMALLER - com.icegreen.greenmail.imap.commands.SearchKey
- SMTP - Static variable in class com.icegreen.greenmail.util.ServerSetup
- SMTP - Static variable in class com.icegreen.greenmail.util.ServerSetupTest
- SMTP_IMAP - Static variable in class com.icegreen.greenmail.util.ServerSetup
- SMTP_IMAP - Static variable in class com.icegreen.greenmail.util.ServerSetupTest
- SMTP_POP3 - Static variable in class com.icegreen.greenmail.util.ServerSetup
- SMTP_POP3 - Static variable in class com.icegreen.greenmail.util.ServerSetupTest
- SMTP_POP3_IMAP - Static variable in class com.icegreen.greenmail.util.ServerSetup
- SMTP_POP3_IMAP - Static variable in class com.icegreen.greenmail.util.ServerSetupTest
- SmtpCommand - Class in com.icegreen.greenmail.smtp.commands
- SmtpCommand() - Constructor for class com.icegreen.greenmail.smtp.commands.SmtpCommand
- SmtpCommandRegistry - Class in com.icegreen.greenmail.smtp.commands
- SmtpCommandRegistry() - Constructor for class com.icegreen.greenmail.smtp.commands.SmtpCommandRegistry
- SmtpConnection - Class in com.icegreen.greenmail.smtp
- SmtpConnection(SmtpHandler, Socket) - Constructor for class com.icegreen.greenmail.smtp.SmtpConnection
- SmtpManager - Class in com.icegreen.greenmail.smtp
- SmtpManager(ImapHostManager, UserManager) - Constructor for class com.icegreen.greenmail.smtp.SmtpManager
- SmtpManager.WaitObject - Class in com.icegreen.greenmail.smtp
-
This Object is used by a thread to wait until a number of emails have arrived.
- SMTPS - Static variable in class com.icegreen.greenmail.util.ServerSetup
- SMTPS - Static variable in class com.icegreen.greenmail.util.ServerSetupTest
- SMTPS_IMAPS - Static variable in class com.icegreen.greenmail.util.ServerSetup
- SMTPS_IMAPS - Static variable in class com.icegreen.greenmail.util.ServerSetupTest
- SMTPS_POP3S - Static variable in class com.icegreen.greenmail.util.ServerSetup
- SMTPS_POP3S - Static variable in class com.icegreen.greenmail.util.ServerSetupTest
- SMTPS_POP3S_IMAPS - Static variable in class com.icegreen.greenmail.util.ServerSetup
- SMTPS_POP3S_IMAPS - Static variable in class com.icegreen.greenmail.util.ServerSetupTest
- SmtpServer - Class in com.icegreen.greenmail.smtp
- SmtpServer(ServerSetup, Managers) - Constructor for class com.icegreen.greenmail.smtp.SmtpServer
- SmtpState - Class in com.icegreen.greenmail.smtp
- SmtpState(Workspace) - Constructor for class com.icegreen.greenmail.smtp.SmtpState
- SP - Static variable in interface com.icegreen.greenmail.imap.ImapConstants
- splice(Reader, Reader) - Static method in class com.icegreen.greenmail.foedus.util.StreamUtils
- start() - Method in class com.icegreen.greenmail.util.GreenMail
- startService(Object) - Method in class com.icegreen.greenmail.util.Service
- StatCommand - Class in com.icegreen.greenmail.pop3.commands
- StatCommand() - Constructor for class com.icegreen.greenmail.pop3.commands.StatCommand
- status - Variable in exception com.icegreen.greenmail.store.FolderException
- stop() - Method in class com.icegreen.greenmail.util.GreenMail
- stopService(Object) - Method in class com.icegreen.greenmail.util.Service
- stopService(Object, long) - Method in class com.icegreen.greenmail.util.Service
- stopService(Object, Long) - Method in class com.icegreen.greenmail.util.Service
-
Stops the service.
- store(MovingMessage) - Method in class com.icegreen.greenmail.imap.ImapSessionFolder
- store(MovingMessage) - Method in interface com.icegreen.greenmail.store.MailFolder
- store(MimeMessage) - Method in class com.icegreen.greenmail.imap.ImapSessionFolder
- store(MimeMessage) - Method in interface com.icegreen.greenmail.store.MailFolder
- Store - Interface in com.icegreen.greenmail.store
-
Represents the complete mail store for an IMAP server, providing access to and manipulation of all
Mailboxes
stored on this server. - StoredMessage - Interface in com.icegreen.greenmail.store
- StreamUtils - Class in com.icegreen.greenmail.foedus.util
- StreamUtils() - Constructor for class com.icegreen.greenmail.foedus.util.StreamUtils
- StringBufferResource - Class in com.icegreen.greenmail.foedus.util
- StringBufferResource() - Constructor for class com.icegreen.greenmail.foedus.util.StringBufferResource
- StringBufferResource(String) - Constructor for class com.icegreen.greenmail.foedus.util.StringBufferResource
- SUBJECT - com.icegreen.greenmail.imap.commands.SearchKey
- subscribe(GreenMailUser, String) - Method in interface com.icegreen.greenmail.imap.ImapHostManager
-
Subscribes a user to a mailbox.
- subscribe(GreenMailUser, String) - Method in class com.icegreen.greenmail.imap.ImapHostManagerImpl
T
- tag(ImapRequestLineReader) - Method in class com.icegreen.greenmail.imap.commands.CommandParser
-
Reads a command "tag" from the request.
- taggedResponse(String) - Method in class com.icegreen.greenmail.imap.ImapResponse
-
Writes the message provided to the client, prepended with the request tag.
- test(String, String) - Method in class com.icegreen.greenmail.user.UserManager
- TEXT - com.icegreen.greenmail.imap.commands.SearchKey
- TO - com.icegreen.greenmail.imap.commands.SearchKey
- TopCommand - Class in com.icegreen.greenmail.pop3.commands
- TopCommand() - Constructor for class com.icegreen.greenmail.pop3.commands.TopCommand
- toString() - Method in class com.icegreen.greenmail.AbstractServer
- toString() - Method in class com.icegreen.greenmail.imap.commands.SearchTermBuilder
- toString() - Method in class com.icegreen.greenmail.imap.ImapSessionState
- toString() - Method in class com.icegreen.greenmail.mail.MailAddress
- toString(Reader) - Static method in class com.icegreen.greenmail.foedus.util.StreamUtils
- toString(Part) - Static method in class com.icegreen.greenmail.util.GreenMailUtil
U
- UID - com.icegreen.greenmail.imap.commands.SearchKey
- UidEnabledCommand - Interface in com.icegreen.greenmail.imap.commands
- UidlCommand - Class in com.icegreen.greenmail.pop3.commands
- UidlCommand() - Constructor for class com.icegreen.greenmail.pop3.commands.UidlCommand
- uidsToRangeString(List<Long>) - Static method in class com.icegreen.greenmail.util.GreenMailUtil
- UNANSWERED - com.icegreen.greenmail.imap.commands.SearchKey
- UNDELETED - com.icegreen.greenmail.imap.commands.SearchKey
- UNDRAFT - com.icegreen.greenmail.imap.commands.SearchKey
- UNFLAGGED - com.icegreen.greenmail.imap.commands.SearchKey
- UNKEYWORD - com.icegreen.greenmail.imap.commands.SearchKey
- UNSEEN - com.icegreen.greenmail.imap.commands.SearchKey
- unsolicitedResponses(ImapResponse) - Method in interface com.icegreen.greenmail.imap.ImapSession
-
Sends any unsolicited responses to the client, such as EXISTS and FLAGS responses when the selected mailbox is modified by another user.
- unsolicitedResponses(ImapResponse) - Method in class com.icegreen.greenmail.imap.ImapSessionImpl
- unsolicitedResponses(ImapResponse, boolean) - Method in interface com.icegreen.greenmail.imap.ImapSession
- unsolicitedResponses(ImapResponse, boolean) - Method in class com.icegreen.greenmail.imap.ImapSessionImpl
- unsubscribe(GreenMailUser, String) - Method in interface com.icegreen.greenmail.imap.ImapHostManager
-
Unsubscribes from a given mailbox.
- unsubscribe(GreenMailUser, String) - Method in class com.icegreen.greenmail.imap.ImapHostManagerImpl
- UNTAGGED - Static variable in interface com.icegreen.greenmail.imap.ImapConstants
- untaggedResponse(String) - Method in class com.icegreen.greenmail.imap.ImapResponse
-
Writes the message provided to the client, prepended with the untagged marker "*".
- USER_NAMESPACE - Static variable in interface com.icegreen.greenmail.imap.ImapConstants
- UserCommand - Class in com.icegreen.greenmail.pop3.commands
- UserCommand() - Constructor for class com.icegreen.greenmail.pop3.commands.UserCommand
- UserException - Exception in com.icegreen.greenmail.user
- UserException() - Constructor for exception com.icegreen.greenmail.user.UserException
- UserException(String) - Constructor for exception com.icegreen.greenmail.user.UserException
- UserException(String, Throwable) - Constructor for exception com.icegreen.greenmail.user.UserException
- UserException(Throwable) - Constructor for exception com.icegreen.greenmail.user.UserException
- UserImpl - Class in com.icegreen.greenmail.user
- UserImpl(String, String, String, ImapHostManager) - Constructor for class com.icegreen.greenmail.user.UserImpl
- UserManager - Class in com.icegreen.greenmail.user
- UserManager(ImapHostManager) - Constructor for class com.icegreen.greenmail.user.UserManager
- util() - Method in class com.icegreen.greenmail.util.GreenMail
V
- validForState(ImapSessionState) - Method in interface com.icegreen.greenmail.imap.commands.ImapCommand
-
Specifies if this command is valid for the given session state.
- valueOf(String) - Static method in enum com.icegreen.greenmail.imap.commands.SearchKey
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.icegreen.greenmail.imap.commands.SearchKey
-
Returns an array containing the constants of this enum type, in the order they are declared.
- VERSION - Static variable in interface com.icegreen.greenmail.imap.ImapConstants
- VrfyCommand - Class in com.icegreen.greenmail.smtp.commands
-
VRFY command.
- VrfyCommand() - Constructor for class com.icegreen.greenmail.smtp.commands.VrfyCommand
W
- waitForIncomingEmail(int) - Method in class com.icegreen.greenmail.util.GreenMail
-
Does the same thing as
Object.wait(long, int)
but with a timeout of 5000ms - waitForIncomingEmail(long, int) - Method in class com.icegreen.greenmail.util.GreenMail
-
Use this method if you are sending email in a different thread from the one you're testing from.
- WaitObject(int) - Constructor for class com.icegreen.greenmail.smtp.SmtpManager.WaitObject
- Workspace - Interface in com.icegreen.greenmail.foedus.util
All Classes All Packages