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
- AbstractIdSearchTerm(List<IdRange>) - Constructor for class com.icegreen.greenmail.imap.commands.SearchTermBuilder.AbstractIdSearchTerm
- AbstractServer - Class in com.icegreen.greenmail.server
- AbstractServer(ServerSetup, Managers) - Constructor for class com.icegreen.greenmail.server.AbstractServer
- AbstractSocketProtocolHandler - Class in com.icegreen.greenmail.server
-
Provides shared helpers for handling a client socket connection.
- AbstractSocketProtocolHandler(Socket) - Constructor for class com.icegreen.greenmail.server.AbstractSocketProtocolHandler
- aConfig() - Static method in class com.icegreen.greenmail.configuration.GreenMailConfiguration
- add(StoredMessage) - Method in class com.icegreen.greenmail.store.ListBasedStoredMessageCollection
- add(StoredMessage) - Method in class com.icegreen.greenmail.store.MapBasedStoredMessageCollection
- add(StoredMessage) - Method in interface com.icegreen.greenmail.store.StoredMessageCollection
- addDefaultSetups(String, Properties, List<ServerSetup>) - Method in class com.icegreen.greenmail.util.PropertiesBasedServerSetupBuilder
- 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
-
Adds an address from which the email was sent.
- addSetup(String, String, Properties, List<ServerSetup>) - Method in class com.icegreen.greenmail.util.PropertiesBasedServerSetupBuilder
- addTestSetups(String, Properties, List<ServerSetup>) - Method in class com.icegreen.greenmail.util.PropertiesBasedServerSetupBuilder
- 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
- ALL_SEARCH_TERM - Static variable in class com.icegreen.greenmail.imap.commands.SearchTermBuilder
- 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
- append(int) - Method in class com.icegreen.greenmail.util.LineLoggingBuffer
-
Appends and escapes value.
- appendMessage(MimeMessage, Flags, Date) - Method in class com.icegreen.greenmail.imap.ImapSessionFolder
- appendMessage(MimeMessage, Flags, Date) - Method in interface com.icegreen.greenmail.store.MailFolder
-
Appends a message.
- appendQuota(Quota, StringBuilder) - Method in class com.icegreen.greenmail.imap.commands.QuotaCommand
- appendQuotaRootName(Quota, StringBuilder) - Method in class com.icegreen.greenmail.imap.commands.QuotaCommand
- apply(Statement, Description) - Method in class com.icegreen.greenmail.junit.GreenMailRule
-
Deprecated.
- apply(Statement, FrameworkMethod, Object) - Method in class com.icegreen.greenmail.junit.GreenMailRule
-
Deprecated.
- ARRIVAL - com.icegreen.greenmail.imap.commands.SortKey
- 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.
- AtomCharValidator() - Constructor for class com.icegreen.greenmail.imap.commands.CommandParser.AtomCharValidator
- atomOnly(ImapRequestLineReader) - Method in class com.icegreen.greenmail.imap.commands.CommandParser
-
Reads an argument of type "atom" from the request.
- AUTH_ALREADY_AUTHENTICATED - Static variable in class com.icegreen.greenmail.smtp.commands.AuthCommand
- AUTH_CREDENTIALS_INVALID - Static variable in class com.icegreen.greenmail.smtp.commands.AuthCommand
- AUTH_SUCCEDED - Static variable in class com.icegreen.greenmail.smtp.commands.AuthCommand
- AuthCommand - Class in com.icegreen.greenmail.pop3.commands
-
SASL : PLAIN
- AuthCommand - Class in com.icegreen.greenmail.smtp.commands
-
AUTH command.
- AuthCommand() - Constructor for class com.icegreen.greenmail.pop3.commands.AuthCommand
- AuthCommand() - Constructor for class com.icegreen.greenmail.smtp.commands.AuthCommand
- AuthCommand.AuthMechanism - Enum in com.icegreen.greenmail.smtp.commands
- AuthCommand.Pop3SaslAuthMechanism - Enum in com.icegreen.greenmail.pop3.commands
- 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
- AuthenticationState - Interface in com.icegreen.greenmail.smtp.auth
-
Base interface for the state used by various authentication methods.
- 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.
- BCC - com.icegreen.greenmail.imap.commands.SearchKey
- BEFORE - com.icegreen.greenmail.imap.commands.SearchKey
- bindTo - Variable in class com.icegreen.greenmail.server.AbstractServer
- BODY - com.icegreen.greenmail.imap.commands.SearchKey
- build() - Method in class com.icegreen.greenmail.imap.commands.SearchTermBuilder
- build(Properties) - Method in class com.icegreen.greenmail.configuration.PropertiesBasedGreenMailConfigurationBuilder
-
Builds a configuration object based on given properties.
- build(Properties) - Method in class com.icegreen.greenmail.util.PropertiesBasedServerSetupBuilder
-
Creates a server setup based on provided properties.
- buildEmailLogin(String, String) - Method in class com.icegreen.greenmail.configuration.PropertiesBasedGreenMailConfigurationBuilder
- BuildInfo - Enum in com.icegreen.greenmail.server
-
Defines project build info such as version.
- buildLocalPartLogin(String, String) - Method in class com.icegreen.greenmail.configuration.PropertiesBasedGreenMailConfigurationBuilder
- BYE - Static variable in interface com.icegreen.greenmail.imap.ImapConstants
- byeResponse(String) - Method in class com.icegreen.greenmail.imap.ImapResponse
C
- CapaCommand - Class in com.icegreen.greenmail.pop3.commands
-
Handles the CAPA command.
- CapaCommand() - Constructor for class com.icegreen.greenmail.pop3.commands.CapaCommand
- CC - com.icegreen.greenmail.imap.commands.SearchKey
- CC - com.icegreen.greenmail.imap.commands.SortKey
- CHARSET_EIGHT_BIT_ENCODING - Static variable in class com.icegreen.greenmail.util.EncodingUtil
-
Predefined Charset for 8-Bit encoding.
- 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
- clear() - Method in class com.icegreen.greenmail.store.ListBasedStoredMessageCollection
- clear() - Method in class com.icegreen.greenmail.store.MapBasedStoredMessageCollection
- clear() - Method in interface com.icegreen.greenmail.store.StoredMessageCollection
- clearMessage() - Method in class com.icegreen.greenmail.smtp.SmtpState
-
To destroy a half-constructed message.
- clearMessagePreservingAuthenticationState() - Method in class com.icegreen.greenmail.smtp.SmtpState
-
To destroy a half-constructed message, but preserves the
MovingMessage.getAuthenticationState()
. - CLIENT_SOCKET_SO_TIMEOUT - Static variable in class com.icegreen.greenmail.server.AbstractServer
- close() - Method in class com.icegreen.greenmail.imap.ImapHandler
-
Resets the handler data to a basic state.
- close() - Method in class com.icegreen.greenmail.pop3.Pop3Connection
- close() - Method in class com.icegreen.greenmail.server.AbstractSocketProtocolHandler
-
Resets the handler data to a basic state.
- close() - Method in interface com.icegreen.greenmail.server.ProtocolHandler
-
Closes all resources, such as sockets.
- close() - Method in class com.icegreen.greenmail.util.LoggingInputStream
- close() - Method in class com.icegreen.greenmail.util.LoggingOutputStream
- close() - Method in class com.icegreen.greenmail.util.Retriever
-
Closes the underlying store.
- 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
-
Closes the connection for this session with a final good-bye message.
- closeConnection(String) - Method in class com.icegreen.greenmail.imap.ImapSessionImpl
- closeMonitor - Variable in class com.icegreen.greenmail.server.AbstractSocketProtocolHandler
- closeServerSocket() - Method in class com.icegreen.greenmail.server.AbstractServer
-
Closes the server socket.
- 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.base - package com.icegreen.greenmail.base
- com.icegreen.greenmail.configuration - package com.icegreen.greenmail.configuration
- 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.junit - package com.icegreen.greenmail.junit
- 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.server - package com.icegreen.greenmail.server
- com.icegreen.greenmail.smtp - package com.icegreen.greenmail.smtp
- com.icegreen.greenmail.smtp.auth - package com.icegreen.greenmail.smtp.auth
- 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 written 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.
- commandLegalSize() - Method in class com.icegreen.greenmail.smtp.SmtpHandler
- CommandParser - Class in com.icegreen.greenmail.imap.commands
- CommandParser() - Constructor for class com.icegreen.greenmail.imap.commands.CommandParser
- CommandParser.AtomCharValidator - 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 - Variable in class com.icegreen.greenmail.util.GreenMail
- ConfiguredGreenMail - Class in com.icegreen.greenmail.configuration
-
A version of GreenMailOperations that implements the configure() method.
- ConfiguredGreenMail() - Constructor for class com.icegreen.greenmail.configuration.ConfiguredGreenMail
- configureJavaMailSessionProperties(Properties, boolean) - Method in class com.icegreen.greenmail.util.ServerSetup
-
Creates default properties for a JavaMail session.
- conn - Variable in class com.icegreen.greenmail.smtp.SmtpHandler
- CONNECTION_TIMEOUT - Static variable in class com.icegreen.greenmail.util.ServerSetup
-
Default socket connection timeout.
- 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.
- consumeAll(char) - Method in class com.icegreen.greenmail.imap.ImapRequestLineReader
-
Consumes all given chars.
- 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
-
Consumes whole line till newline.
- 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 '{'.
- consumeLiteralAsBytes(ImapRequestLineReader) - Method in class com.icegreen.greenmail.imap.commands.CommandParser
- consumeLong(ImapRequestLineReader) - Method in class com.icegreen.greenmail.imap.commands.CommandParser
- consumeQuoted(ImapRequestLineReader) - Method in class com.icegreen.greenmail.imap.commands.CommandParser
-
Reads a quoted string value from the request.
- consumeWord(ImapRequestLineReader) - Method in class com.icegreen.greenmail.imap.commands.CommandParser
-
Reads the next "word" from the request, comprising all characters up to the next SPACE.
- 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.
- consumeWordOnly(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.
- containsUid(IdRange[], long) - Static method in class com.icegreen.greenmail.imap.commands.IdRange
-
Checks if ranges contain the uid
- CONTINUATION - Static variable in class com.icegreen.greenmail.pop3.commands.AuthCommand
- convertUidsToIdRangeArray(List<Long>) - Static method in class com.icegreen.greenmail.imap.commands.IdRange
- 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(SearchKey) - Static method in class com.icegreen.greenmail.imap.commands.SearchTermBuilder
- create(String) - Static method in class com.icegreen.greenmail.imap.commands.SearchTermBuilder
- createAndAddNewWaitObject(int) - Method in class com.icegreen.greenmail.smtp.SmtpManager
- createCopy() - Method in class com.icegreen.greenmail.util.ServerSetup
-
Create a deep copy.
- createCopy(int, String, String) - Method in class com.icegreen.greenmail.util.ServerSetup
-
Create a deep copy.
- createCopy(ServerSetup[], UnaryOperator<ServerSetup>) - Static method in class com.icegreen.greenmail.util.ServerSetup
-
Creates a copy applying given mutator on each copy.
- createCopy(String) - Method in class com.icegreen.greenmail.util.ServerSetup
-
Create a deep copy.
- createForEncoding(OutputStream, boolean, Charset) - Static method in class com.icegreen.greenmail.util.InternetPrintWriter
-
Creates a new InternetPrintWriter for given charset encoding.
- 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
- createMultipartWithAttachment(String, byte[], String, String, String) - Static method in class com.icegreen.greenmail.util.GreenMailUtil
-
Create new multipart with a text part and an attachment
- 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
- createProtocolHandler(Socket) - Method in class com.icegreen.greenmail.imap.ImapServer
- createProtocolHandler(Socket) - Method in class com.icegreen.greenmail.pop3.Pop3Server
- createProtocolHandler(Socket) - Method in class com.icegreen.greenmail.server.AbstractServer
-
Create a new, specific protocol handler such as for IMAP.
- createProtocolHandler(Socket) - Method in class com.icegreen.greenmail.smtp.SmtpServer
- 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
- createServices(ServerSetup[], Managers) - Method in class com.icegreen.greenmail.util.GreenMail
-
Create the required services according to the server setup
- createSession() - Method in class com.icegreen.greenmail.server.AbstractServer
-
Creates a session configured for given server (IMAP, SMTP, ...).
- createSession(Properties) - Method in class com.icegreen.greenmail.server.AbstractServer
-
Creates a session configured for given server (IMAP, SMTP, ...).
- createSession(Properties, boolean) - Method in class com.icegreen.greenmail.server.AbstractServer
-
Creates a session configured for given server (IMAP, SMTP, ...).
- 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
- createStore() - Method in class com.icegreen.greenmail.imap.ImapServer
- createStore() - Method in class com.icegreen.greenmail.pop3.Pop3Server
- createStore() - Method in class com.icegreen.greenmail.server.AbstractServer
-
Creates a new JavaMail store.
- createTextEmail(String, String, String, String, ServerSetup) - Static method in class com.icegreen.greenmail.util.GreenMailUtil
- createUser(String, String, String) - Method in class com.icegreen.greenmail.user.UserManager
- createUsers(GreenMailOperations, InternetAddress...) - Static method in class com.icegreen.greenmail.util.UserUtil
-
Create users for the given array of addresses.
- currentLine - Variable in class com.icegreen.greenmail.smtp.SmtpHandler
D
- DataCommand - Class in com.icegreen.greenmail.smtp.commands
-
DATA command.
- DataCommand() - Constructor for class com.icegreen.greenmail.smtp.commands.DataCommand
- DATE - com.icegreen.greenmail.imap.commands.SortKey
- dateTime(ImapRequestLineReader) - Method in class com.icegreen.greenmail.imap.commands.CommandParser
-
Reads a "date-time" argument from the request.
- decodeBase64(String) - Static method in class com.icegreen.greenmail.util.EncodingUtil
-
Decodes the base64 encoded string to a string.
- 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.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
- deletePrivateMailAccount(GreenMailUser) - Method in interface com.icegreen.greenmail.imap.ImapHostManager
-
Deletes given user data, such as mail boxes or quotas.
- deletePrivateMailAccount(GreenMailUser) - Method in class com.icegreen.greenmail.imap.ImapHostManagerImpl
- deleteQuota(String) - Method in class com.icegreen.greenmail.store.InMemoryStore
- deleteQuota(String) - Method in interface com.icegreen.greenmail.store.Store
-
Deletes the quota.
- 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(MovingMessage, MailAddress) - Method in class com.icegreen.greenmail.user.UserManager
- deliver(MimeMessage) - Method in interface com.icegreen.greenmail.user.GreenMailUser
- deliver(MimeMessage) - Method in class com.icegreen.greenmail.user.UserImpl
- 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
- DigitCharValidator() - Constructor for class com.icegreen.greenmail.imap.commands.CommandParser.DigitCharValidator
- doConfigure() - Method in class com.icegreen.greenmail.configuration.ConfiguredGreenMail
-
This method can be used by child classes to apply the configuration that is stored in config.
- doProcess(ImapRequestLineReader, ImapResponse, ImapSession) - Method in class com.icegreen.greenmail.imap.commands.QuotaCommand
- doProcess(ImapRequestLineReader, ImapResponse, ImapSession) - Method in class com.icegreen.greenmail.imap.commands.QuotaRootCommand
- doProcess(ImapRequestLineReader, ImapResponse, ImapSession) - Method in class com.icegreen.greenmail.imap.commands.SetQuotaCommand
- doProcess(ImapRequestLineReader, ImapResponse, ImapSession, boolean) - Method in interface com.icegreen.greenmail.imap.commands.UidEnabledCommand
- dotLimitedInputStream(byte[]) - Method in class com.icegreen.greenmail.smtp.SmtpConnection
-
Reads the contents of the stream until <CRLF>.<CRLF> is encountered.
- 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
- 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
- dynamicPort() - Method in class com.icegreen.greenmail.util.ServerSetup
-
Enable dynamic port allocation.
- dynamicPort(ServerSetup[]) - Static method in class com.icegreen.greenmail.util.ServerSetup
-
Creates a copy with dynamic ports (auto-detecting available ports) enabled.
E
- EIGHT_BIT_ENCODING - Static variable in class com.icegreen.greenmail.util.EncodingUtil
-
Constant for 8-Bit encoding, which can be resembled by "ISO-8859-1"
- EncodingUtil - Class in com.icegreen.greenmail.util
-
Helper for handling encodings.
- 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.configuration.UserBean
- equals(Object) - Method in class com.icegreen.greenmail.imap.commands.IdRange
- equals(Object) - Method in class com.icegreen.greenmail.user.UserImpl
- equals(Object) - Method in class com.icegreen.greenmail.util.ServerSetup
- 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.AuthCommand
- execute(Pop3Connection, Pop3State, String) - Method in class com.icegreen.greenmail.pop3.commands.CapaCommand
- 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.AuthCommand
- 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(IdRange[]) - Method in class com.icegreen.greenmail.imap.ImapSessionFolder
- expunge(IdRange[]) - Method in interface com.icegreen.greenmail.store.MailFolder
-
Expunges flagged for deletion messages in given range.
- expunge(List<FolderListener>) - Method in class com.icegreen.greenmail.store.ListBasedStoredMessageCollection
- expunge(List<FolderListener>) - Method in class com.icegreen.greenmail.store.MapBasedStoredMessageCollection
- expunge(List<FolderListener>) - Method in interface com.icegreen.greenmail.store.StoredMessageCollection
- expunge(List<FolderListener>, IdRange[]) - Method in class com.icegreen.greenmail.store.ListBasedStoredMessageCollection
- expunge(List<FolderListener>, IdRange[]) - Method in class com.icegreen.greenmail.store.MapBasedStoredMessageCollection
- expunge(List<FolderListener>, IdRange[]) - Method in interface com.icegreen.greenmail.store.StoredMessageCollection
-
Expunges all messages flagged deleted and with UID in given ranges.
- 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
- extractAndAddUser(GreenMailConfiguration, BinaryOperator<String>, String) - Method in class com.icegreen.greenmail.configuration.PropertiesBasedGreenMailConfigurationBuilder
F
- fetchResponse(int, String) - Method in class com.icegreen.greenmail.imap.ImapResponse
- findOrCreateUser(String) - Method in class com.icegreen.greenmail.pop3.Pop3State
- 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
- flush() - Method in class com.icegreen.greenmail.util.LoggingOutputStream
- FolderException - Exception in com.icegreen.greenmail.store
-
Thrown on an inappropriate attempt to reference a mailbox.
- FolderException(Exception) - Constructor for exception com.icegreen.greenmail.store.FolderException
-
Constructor wrapping original exception.
- FolderException(String) - Constructor for exception com.icegreen.greenmail.store.FolderException
-
Construct a new
MailboxException
instance. - FolderException(String, Exception) - Constructor for exception com.icegreen.greenmail.store.FolderException
-
Constructor wrapping original exception.
- 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
- FROM - com.icegreen.greenmail.imap.commands.SortKey
G
- get(int) - Method in class com.icegreen.greenmail.store.ListBasedStoredMessageCollection
- get(int) - Method in class com.icegreen.greenmail.store.MapBasedStoredMessageCollection
- get(int) - Method in interface com.icegreen.greenmail.store.StoredMessageCollection
- 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
-
Returns all messages.
- getAllMessages() - Method in class com.icegreen.greenmail.imap.ImapHostManagerImpl
- getArgDataFormat() - Method in enum com.icegreen.greenmail.imap.commands.SearchKey
- getAttributes() - Method in class com.icegreen.greenmail.store.StoredMessage
- getAuthcid() - Method in class com.icegreen.greenmail.util.SaslMessage
- getAuthenticationId() - Method in class com.icegreen.greenmail.smtp.auth.PlainAuthenticationState
- getAuthenticationState() - Method in class com.icegreen.greenmail.mail.MovingMessage
-
Retrieves the state object with the data used for authentication.
- getAuthorizationId() - Method in class com.icegreen.greenmail.smtp.auth.PlainAuthenticationState
- getAuthzid() - Method in class com.icegreen.greenmail.util.SaslMessage
- getBindAddress() - Method in class com.icegreen.greenmail.util.ServerSetup
- getBindTo() - Method in class com.icegreen.greenmail.server.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
- 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
- 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
- getConnectionTimeout() - Method in class com.icegreen.greenmail.util.ServerSetup
- getDefault() - Static method in class com.icegreen.greenmail.util.DummySSLServerSocketFactory
- getDefault() - Static method in class com.icegreen.greenmail.util.DummySSLSocketFactory
- getDefaultBindAddress() - Method in class com.icegreen.greenmail.util.ServerSetup
-
Gets the public default host address "0.0.0.0" .
- 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.configuration.UserBean
- 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
- 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
- getExpunged() - Method in class com.icegreen.greenmail.imap.ImapSessionFolder
- getFirstUnseen() - Method in class com.icegreen.greenmail.imap.ImapSessionFolder
- getFirstUnseen() - Method in class com.icegreen.greenmail.store.ListBasedStoredMessageCollection
- getFirstUnseen() - Method in interface com.icegreen.greenmail.store.MailFolder
- getFirstUnseen() - Method in class com.icegreen.greenmail.store.MapBasedStoredMessageCollection
- getFirstUnseen() - Method in interface com.icegreen.greenmail.store.StoredMessageCollection
- getFlags() - Method in class 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
- getGreenMail() - Method in class com.icegreen.greenmail.junit.GreenMailRule
-
Deprecated.
- getGreenMail() - Method in class com.icegreen.greenmail.util.GreenMailProxy
- 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 interface com.icegreen.greenmail.base.GreenMailOperations
- getImap() - Method in class com.icegreen.greenmail.util.GreenMail
- getImap() - Method in class com.icegreen.greenmail.util.GreenMailProxy
- getImapHostManager() - Method in class com.icegreen.greenmail.Managers
- getImapHostManager() - Method in class com.icegreen.greenmail.user.UserManager
- getImaps() - Method in interface com.icegreen.greenmail.base.GreenMailOperations
- getImaps() - Method in class com.icegreen.greenmail.util.GreenMail
- getImaps() - Method in class com.icegreen.greenmail.util.GreenMailProxy
- 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
- getKeyStore() - Method in class com.icegreen.greenmail.util.DummySSLServerSocketFactory
- getLineCount(String) - Static method in class com.icegreen.greenmail.util.GreenMailUtil
-
Counts the number of lines.
- getLocalHostAddress() - Static method in class com.icegreen.greenmail.util.ServerSetup
- getLogin() - Method in class com.icegreen.greenmail.configuration.UserBean
- 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 interface com.icegreen.greenmail.base.GreenMailOperations
- getManagers() - Method in class com.icegreen.greenmail.util.GreenMail
- getManagers() - Method in class com.icegreen.greenmail.util.GreenMailProxy
- getMessage() - Method in class com.icegreen.greenmail.mail.MovingMessage
-
Retrieves the contents of the mail message, including all mail headers and the body.
- 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
- getMessageByUID(long) - Method in class com.icegreen.greenmail.imap.ImapSessionFolder
- getMessageCount() - Method in class com.icegreen.greenmail.imap.ImapSessionFolder
- getMessageCount() - Method in interface com.icegreen.greenmail.store.MailFolder
- getMessageDeliveryHandler() - Method in class com.icegreen.greenmail.user.UserManager
- getMessages() - Method in class com.icegreen.greenmail.imap.ImapSessionFolder
- getMessages() - Method in class com.icegreen.greenmail.store.ListBasedStoredMessageCollection
- getMessages() - Method in interface com.icegreen.greenmail.store.MailFolder
- getMessages() - Method in class com.icegreen.greenmail.store.MapBasedStoredMessageCollection
- getMessages() - Method in interface com.icegreen.greenmail.store.StoredMessageCollection
- getMessages(MsgRangeFilter) - Method in class com.icegreen.greenmail.imap.ImapSessionFolder
- getMessages(MsgRangeFilter) - Method in class com.icegreen.greenmail.store.ListBasedStoredMessageCollection
- getMessages(MsgRangeFilter) - Method in interface com.icegreen.greenmail.store.MailFolder
- getMessages(MsgRangeFilter) - Method in class com.icegreen.greenmail.store.MapBasedStoredMessageCollection
- getMessages(MsgRangeFilter) - Method in interface com.icegreen.greenmail.store.StoredMessageCollection
- getMessages(String) - Method in class com.icegreen.greenmail.util.Retriever
- getMessages(String, String) - Method in class com.icegreen.greenmail.util.Retriever
- getMessagesByUID(long[]) - Method in class com.icegreen.greenmail.imap.ImapSessionFolder
- getMessagesByUID(long, long) - Method in class com.icegreen.greenmail.imap.ImapSessionFolder
- 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 class com.icegreen.greenmail.store.ListBasedStoredMessageCollection
- getMessageUids() - Method in interface com.icegreen.greenmail.store.MailFolder
- getMessageUids() - Method in class com.icegreen.greenmail.store.MapBasedStoredMessageCollection
- getMessageUids() - Method in interface com.icegreen.greenmail.store.StoredMessageCollection
- getMimeMessage() - Method in class com.icegreen.greenmail.store.StoredMessage
- getMsn(long) - Method in class com.icegreen.greenmail.imap.ImapSessionFolder
- getMsn(long) - Method in class com.icegreen.greenmail.store.ListBasedStoredMessageCollection
- getMsn(long) - Method in interface com.icegreen.greenmail.store.MailFolder
- getMsn(long) - Method in class com.icegreen.greenmail.store.MapBasedStoredMessageCollection
- getMsn(long) - Method in interface com.icegreen.greenmail.store.StoredMessageCollection
- 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
- getPasswd() - Method in class com.icegreen.greenmail.util.SaslMessage
- getPassword() - Method in class com.icegreen.greenmail.configuration.UserBean
- getPassword() - Method in class com.icegreen.greenmail.smtp.auth.LoginAuthenticationState
-
Retrieves the password that was used for
PLAIN
orLOGIN
authentication. - getPassword() - Method in class com.icegreen.greenmail.smtp.auth.PlainAuthenticationState
- 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 interface com.icegreen.greenmail.base.GreenMailOperations
- getPop3() - Method in class com.icegreen.greenmail.util.GreenMail
- getPop3() - Method in class com.icegreen.greenmail.util.GreenMailProxy
- getPop3s() - Method in interface com.icegreen.greenmail.base.GreenMailOperations
- getPop3s() - Method in class com.icegreen.greenmail.util.GreenMail
- getPop3s() - Method in class com.icegreen.greenmail.util.GreenMailProxy
- getPort() - Method in class com.icegreen.greenmail.server.AbstractServer
- getPort() - Method in class com.icegreen.greenmail.util.ServerSetup
- getPreloadDir() - Method in class com.icegreen.greenmail.configuration.GreenMailConfiguration
-
Gets preload directory value or null if not set.
- getProjectVersion() - Method in enum com.icegreen.greenmail.server.BuildInfo
- getProtocol() - Method in class com.icegreen.greenmail.server.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
- getQuota(GreenMailUser, String) - Static method in class com.icegreen.greenmail.util.GreenMailUtil
-
Gets the quotas for the user.
- getQuota(String, String) - Method in class com.icegreen.greenmail.store.InMemoryStore
- getQuota(String, String) - Method in interface com.icegreen.greenmail.store.Store
-
Gets the quotas.
- getReadTimeout() - Method in class com.icegreen.greenmail.util.ServerSetup
- getReceivedDate() - Method in interface com.icegreen.greenmail.store.MailMessageAttributes
-
Provides the date and time at which the message was received.
- getReceivedDate() - Method in class com.icegreen.greenmail.store.SimpleMessageAttributes
- getReceivedDate() - Method in class com.icegreen.greenmail.store.StoredMessage
- getReceivedDate() - Method in class com.icegreen.greenmail.store.StoredMessage.UidAwareMimeMessage
- getReceivedDateAsString() - Method in interface com.icegreen.greenmail.store.MailMessageAttributes
-
Returns IMAP formatted String representation of Date
- getReceivedDateAsString() - Method in class com.icegreen.greenmail.store.SimpleMessageAttributes
- getReceivedMessages() - Method in interface com.icegreen.greenmail.base.GreenMailOperations
- getReceivedMessages() - Method in class com.icegreen.greenmail.util.GreenMail
- getReceivedMessages() - Method in class com.icegreen.greenmail.util.GreenMailProxy
- getReceivedMessagesForDomain(String) - Method in interface com.icegreen.greenmail.base.GreenMailOperations
-
Gets all messages containing given domain.
- getReceivedMessagesForDomain(String) - Method in class com.icegreen.greenmail.util.GreenMail
- getReceivedMessagesForDomain(String) - Method in class com.icegreen.greenmail.util.GreenMailProxy
- getRecentCount(boolean) - Method in class com.icegreen.greenmail.imap.ImapSessionFolder
- getRecentCount(boolean) - Method in interface com.icegreen.greenmail.store.MailFolder
- 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
-
Retrieves the address from which the email was sent.
- 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.server.AbstractServer
- getServerStartupTimeout() - Method in class com.icegreen.greenmail.util.ServerSetup
- getSession(ServerSetup) - Static method in class com.icegreen.greenmail.util.GreenMailUtil
-
Gets a JavaMail Session for given server type such as IMAP and additional props for JavaMail.
- getSession(ServerSetup, Properties) - Static method in class com.icegreen.greenmail.util.GreenMailUtil
-
Gets a JavaMail Session for given server type such as IMAP and additional props for JavaMail.
- getSession(ServerSetup, Properties, boolean) - Static method in class com.icegreen.greenmail.util.GreenMailUtil
-
Gets a JavaMail Session for given server type such as IMAP and additional props for JavaMail.
- 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
- getSmtp() - Method in interface com.icegreen.greenmail.base.GreenMailOperations
- getSmtp() - Method in class com.icegreen.greenmail.util.GreenMail
- getSmtp() - Method in class com.icegreen.greenmail.util.GreenMailProxy
- getSmtpManager() - Method in class com.icegreen.greenmail.Managers
- getSmtps() - Method in interface com.icegreen.greenmail.base.GreenMailOperations
- getSmtps() - Method in class com.icegreen.greenmail.util.GreenMail
- getSmtps() - Method in class com.icegreen.greenmail.util.GreenMailProxy
- getSoTimeout() - Method in class com.icegreen.greenmail.server.AbstractSocketProtocolHandler
-
Gets current socket SO_TIMEOUT
- 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
- getStore() - Method in interface com.icegreen.greenmail.imap.ImapHostManager
-
Gets the store underneath.
- getStore() - Method in class com.icegreen.greenmail.imap.ImapHostManagerImpl
- getSupportedCipherSuites() - Method in class com.icegreen.greenmail.util.DummySSLServerSocketFactory
- getSupportedCipherSuites() - Method in class com.icegreen.greenmail.util.DummySSLSocketFactory
- getToAddresses() - Method in class com.icegreen.greenmail.mail.MovingMessage
-
Retrieves the addresses from which the email was sent.
- getType() - Method in interface com.icegreen.greenmail.smtp.auth.AuthenticationState
- getType() - Method in class com.icegreen.greenmail.smtp.auth.LoginAuthenticationState
- getType() - Method in class com.icegreen.greenmail.smtp.auth.PlainAuthenticationState
- getUid() - Method in class com.icegreen.greenmail.store.StoredMessage
- getUid() - Method in class com.icegreen.greenmail.store.StoredMessage.UidAwareMimeMessage
- getUID() - Method in class com.icegreen.greenmail.store.SimpleMessageAttributes
-
Provides the unique identity value for this message.
- getUID(Message) - Method in class com.icegreen.greenmail.imap.ImapSessionFolder
- 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
- getUIDValidity() - Method in class com.icegreen.greenmail.imap.ImapSessionFolder
- 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.base.GreenMailOperations
- 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
- getUserManager() - Method in class com.icegreen.greenmail.smtp.SmtpManager
- getUserManager() - Method in class com.icegreen.greenmail.util.GreenMail
- getUserManager() - Method in class com.icegreen.greenmail.util.GreenMailProxy
- getUsername() - Method in class com.icegreen.greenmail.smtp.auth.LoginAuthenticationState
-
Retrieves the username that was used for
PLAIN
orLOGIN
authentication. - getUsername() - Method in class com.icegreen.greenmail.smtp.auth.PlainAuthenticationState
- getUsername() - Method in interface com.icegreen.greenmail.smtp.auth.UsernameAuthentication
- getUsersToCreate() - Method in class com.icegreen.greenmail.configuration.GreenMailConfiguration
- getWholeMessage(Part) - Static method in class com.icegreen.greenmail.util.GreenMailUtil
- getWriteTimeout() - Method in class com.icegreen.greenmail.util.ServerSetup
- GreenMail - Class in com.icegreen.greenmail.util
-
Utility class that manages a greenmail server with support for multiple protocols
- 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
- GREENMAIL_AUTH_DISABLED - Static variable in class com.icegreen.greenmail.configuration.PropertiesBasedGreenMailConfigurationBuilder
-
Disables authentication check.
- GREENMAIL_HOSTNAME - Static variable in class com.icegreen.greenmail.util.PropertiesBasedServerSetupBuilder
- GREENMAIL_KEY_PASSWORD_PROPERTY - Static variable in class com.icegreen.greenmail.util.DummySSLServerSocketFactory
- GREENMAIL_KEYSTORE_FILE_PROPERTY - Static variable in class com.icegreen.greenmail.util.DummySSLServerSocketFactory
- GREENMAIL_KEYSTORE_JKS - Static variable in class com.icegreen.greenmail.util.DummySSLServerSocketFactory
- GREENMAIL_KEYSTORE_P12 - Static variable in class com.icegreen.greenmail.util.DummySSLServerSocketFactory
- GREENMAIL_KEYSTORE_PASSWORD_PROPERTY - Static variable in class com.icegreen.greenmail.util.DummySSLServerSocketFactory
- GREENMAIL_PRELOAD_DIR - Static variable in class com.icegreen.greenmail.configuration.PropertiesBasedGreenMailConfigurationBuilder
- GREENMAIL_SETUP_ALL - Static variable in class com.icegreen.greenmail.util.PropertiesBasedServerSetupBuilder
- GREENMAIL_SETUP_TEST_ALL - Static variable in class com.icegreen.greenmail.util.PropertiesBasedServerSetupBuilder
- GREENMAIL_SIEVE_IGNORE_DETAIL - Static variable in class com.icegreen.greenmail.configuration.PropertiesBasedGreenMailConfigurationBuilder
- GREENMAIL_USERS - Static variable in class com.icegreen.greenmail.configuration.PropertiesBasedGreenMailConfigurationBuilder
-
Property for list of users.
- GREENMAIL_USERS_LOGIN - Static variable in class com.icegreen.greenmail.configuration.PropertiesBasedGreenMailConfigurationBuilder
-
Overrides the login for authentication for configured users (@see
PropertiesBasedGreenMailConfigurationBuilder.GREENMAIL_USERS
). - GREENMAIL_VERBOSE - Static variable in class com.icegreen.greenmail.util.PropertiesBasedServerSetupBuilder
-
Enables verbose JavaMail debug output by setting JavaMail 'mail.debug' property.
- GreenMailConfiguration - Class in com.icegreen.greenmail.configuration
-
Properties that can be defined to configure a GreenMail instance or GreenMailRule.
- GreenMailConfiguration() - Constructor for class com.icegreen.greenmail.configuration.GreenMailConfiguration
- GreenMailOperations - Interface in com.icegreen.greenmail.base
-
Interface that contains all operations provided by the Greenmail main class
- GreenMailProxy - Class in com.icegreen.greenmail.util
-
Proxy that routes all operations to an internal greenmail instance
- GreenMailProxy() - Constructor for class com.icegreen.greenmail.util.GreenMailProxy
- GreenMailRule - Class in com.icegreen.greenmail.junit
-
Deprecated.Use com.icegreen.greenmail.junit4.GreenMailRule of module greenmail-junit4. Will be removed in GreenMail 2.0 .
- GreenMailRule() - Constructor for class com.icegreen.greenmail.junit.GreenMailRule
-
Deprecated.
- GreenMailRule(ServerSetup) - Constructor for class com.icegreen.greenmail.junit.GreenMailRule
-
Deprecated.Initialize with single server setups
- GreenMailRule(ServerSetup[]) - Constructor for class com.icegreen.greenmail.junit.GreenMailRule
-
Deprecated.Initialize with multiple server setups
- GreenMailUser - Interface in com.icegreen.greenmail.user
- GreenMailUtil - Class in com.icegreen.greenmail.util
H
- handle(MovingMessage, MailAddress) - Method in interface com.icegreen.greenmail.user.MessageDeliveryHandler
- handleClientSocket(Socket) - Method in class com.icegreen.greenmail.server.AbstractServer
- handleCommand() - Method in class com.icegreen.greenmail.smtp.SmtpHandler
- handleRequest(InputStream, OutputStream, ImapSession) - Method in class com.icegreen.greenmail.imap.ImapRequestHandler
-
This method parses commands read off the wire in handleConnection.
- hashCode() - Method in class com.icegreen.greenmail.configuration.UserBean
- hashCode() - Method in class com.icegreen.greenmail.imap.commands.IdRange
- hashCode() - Method in class com.icegreen.greenmail.user.UserImpl
- hashCode() - Method in class com.icegreen.greenmail.util.ServerSetup
- hasNonTextAttachments(Part) - Static method in class com.icegreen.greenmail.util.GreenMailUtil
- hasPreloadDir() - Method in class com.icegreen.greenmail.configuration.GreenMailConfiguration
-
Checks if preload directory value exists.
- hasUser(String) - Method in class com.icegreen.greenmail.user.UserManager
-
Checks if user exists.
- 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.imap.commands.IdRange
- idRangeToString(IdRange) - Static method in class com.icegreen.greenmail.imap.commands.IdRange
- 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
- 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.
- ImapRequestLineReader(InputStream, OutputStream) - Constructor for class com.icegreen.greenmail.imap.ImapRequestLineReader
- 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
- 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) - 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
- initServerSocket() - Method in class com.icegreen.greenmail.server.AbstractServer
- 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
- INSTANCE - com.icegreen.greenmail.server.BuildInfo
- 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.
- isAtomSpecial(char) - Method in class com.icegreen.greenmail.imap.commands.CommandParser
- isAuthenticated() - Method in class com.icegreen.greenmail.pop3.Pop3State
- isAuthenticated() - Method in class com.icegreen.greenmail.smtp.SmtpConnection
-
Checks if there was a successful authentication for this connection.
- isAuthenticationDisabled() - Method in class com.icegreen.greenmail.configuration.GreenMailConfiguration
- isAuthRequired() - Method in class com.icegreen.greenmail.user.UserManager
- isCharsetAware() - Method in enum com.icegreen.greenmail.imap.commands.SearchKey
- isCrOrLf(char) - Static method in class com.icegreen.greenmail.imap.commands.CommandParser
-
Checks if character is either CR or LF.
- isDynamicPort() - Method in class com.icegreen.greenmail.util.ServerSetup
-
True if available port gets dynamically allocated.
- isLineLengthExceeded() - Method in class com.icegreen.greenmail.util.LineLoggingBuffer
- isListWildcard(char) - Method in class com.icegreen.greenmail.imap.commands.CommandParser
- isOperator() - Method in enum com.icegreen.greenmail.imap.commands.SearchKey
- isQuitting() - Method in class com.icegreen.greenmail.server.AbstractSocketProtocolHandler
-
Preparing for closing handler connection?
- isQuotaSupported() - Method in class com.icegreen.greenmail.store.InMemoryStore
- isQuotaSupported() - Method in interface com.icegreen.greenmail.store.Store
-
Checks if quota capability is activated.
- isReadonly() - Method in class com.icegreen.greenmail.imap.ImapSessionFolder
- isRemote() - Method in exception com.icegreen.greenmail.store.FolderException
- isRunning() - Method in interface com.icegreen.greenmail.base.GreenMailOperations
-
Checks if GreenMail is up and running.
- isRunning() - Method in class com.icegreen.greenmail.junit.GreenMailRule
-
Deprecated.
- isRunning() - Method in class com.icegreen.greenmail.server.AbstractServer
- isRunning() - Method in class com.icegreen.greenmail.util.GreenMail
- isRunning() - Method in interface com.icegreen.greenmail.util.Service
-
Checks if service is up and running.
- 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
- isSet(Flags.Flag) - Method in class com.icegreen.greenmail.store.StoredMessage
- isSieveIgnoreDetailEnabled() - Method in class com.icegreen.greenmail.configuration.GreenMailConfiguration
- isSizeChanged() - Method in class com.icegreen.greenmail.imap.ImapSessionFolder
- isValid(char) - Method in class com.icegreen.greenmail.imap.commands.CommandParser.AtomCharValidator
- 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.AuthCommand
- isValidForState(Pop3State) - Method in class com.icegreen.greenmail.pop3.commands.CapaCommand
- 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
- isVerbose() - Method in class com.icegreen.greenmail.util.ServerSetup
- iterator() - Method in class com.icegreen.greenmail.store.ListBasedStoredMessageCollection
- iterator() - Method in class com.icegreen.greenmail.store.MapBasedStoredMessageCollection
K
- keepOn() - Method in class com.icegreen.greenmail.server.AbstractServer
- 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. - LineLoggingBuffer - Class in com.icegreen.greenmail.util
-
Buffers and logs when detecting CR-LF.
- LineLoggingBuffer(String) - Constructor for class com.icegreen.greenmail.util.LineLoggingBuffer
-
Creates new buffer using given line prefix.
- ListBasedStoredMessageCollection - Class in com.icegreen.greenmail.store
- ListBasedStoredMessageCollection() - Constructor for class com.icegreen.greenmail.store.ListBasedStoredMessageCollection
- 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 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
- listUser() - Method in class com.icegreen.greenmail.user.UserManager
- loadEmails(Path) - Method in interface com.icegreen.greenmail.base.GreenMailOperations
-
Loads emails from given path.
- loadEmails(Path) - Method in class com.icegreen.greenmail.util.GreenMail
- loadEmails(Path) - Method in class com.icegreen.greenmail.util.GreenMailProxy
- LOCAL_BUT_DELETED - Static variable in exception com.icegreen.greenmail.store.FolderException
- log - Variable in class com.icegreen.greenmail.pop3.commands.Pop3Command
- log - Variable in class com.icegreen.greenmail.pop3.Pop3Connection
- log - Variable in class com.icegreen.greenmail.server.AbstractServer
- log - Variable in class com.icegreen.greenmail.server.AbstractSocketProtocolHandler
- log - Variable in class com.icegreen.greenmail.smtp.commands.SmtpCommand
- log - Static variable in class com.icegreen.greenmail.smtp.SmtpManager
- log - Variable in class com.icegreen.greenmail.store.SimpleMessageAttributes
- log - Variable in class com.icegreen.greenmail.util.DummySSLServerSocketFactory
- log - Static variable in class com.icegreen.greenmail.util.DummySSLSocketFactory
- log - Variable in class com.icegreen.greenmail.util.GreenMail
- log - Variable in class com.icegreen.greenmail.util.LineLoggingBuffer
- loggingBuffer - Variable in class com.icegreen.greenmail.util.LoggingInputStream
- loggingBuffer - Variable in class com.icegreen.greenmail.util.LoggingOutputStream
- LoggingInputStream - Class in com.icegreen.greenmail.util
-
Logs stream for debugging purpose on DEBUG level.
- LoggingInputStream(InputStream, String) - Constructor for class com.icegreen.greenmail.util.LoggingInputStream
-
Creates an input stream filter built on top of the specified underlying input stream.
- LoggingOutputStream - Class in com.icegreen.greenmail.util
-
Logs stream for debugging purpose on DEBUG level.
- LoggingOutputStream(OutputStream, String) - Constructor for class com.icegreen.greenmail.util.LoggingOutputStream
-
Creates an output stream filter built on top of the specified underlying output stream.
- LOGIN - com.icegreen.greenmail.smtp.commands.AuthCommand.AuthMechanism
- LoginAuthenticationState - Class in com.icegreen.greenmail.smtp.auth
-
Details from the
AuthCommand.AuthMechanism.LOGIN
authorization mechanism, when that mechanism was used for authentication. - LoginAuthenticationState(String, String) - Constructor for class com.icegreen.greenmail.smtp.auth.LoginAuthenticationState
- logLine() - Method in class com.icegreen.greenmail.util.LineLoggingBuffer
-
Triggers log output of current buffer (if any) and resets back to empty buffer.
- 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.
- mailSessionProperty(ServerSetup[], String, String) - Static method in class com.icegreen.greenmail.util.ServerSetup
-
Creates a copy with configured default mail session property.
- mailSessionProperty(String, String) - Method in class com.icegreen.greenmail.util.ServerSetup
-
Create a new server setup copy, configured with given JavaMail session property.
- 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
- manager - Variable in class com.icegreen.greenmail.smtp.SmtpHandler
- managers - Variable in class com.icegreen.greenmail.server.AbstractServer
- managers - Variable in class com.icegreen.greenmail.util.GreenMail
- Managers - Class in com.icegreen.greenmail
- Managers() - Constructor for class com.icegreen.greenmail.Managers
- MapBasedStoredMessageCollection - Class in com.icegreen.greenmail.store
- MapBasedStoredMessageCollection(int) - Constructor for class com.icegreen.greenmail.store.MapBasedStoredMessageCollection
- match(long) - Method in class com.icegreen.greenmail.imap.commands.SearchTermBuilder.AbstractIdSearchTerm
-
Matches id against sequence numbers.
- match(Message) - Method in class com.icegreen.greenmail.imap.commands.SearchTermBuilder.AbstractIdSearchTerm
- match(Message) - Method in class com.icegreen.greenmail.imap.commands.SearchTermBuilder.MessageNumberSearchTerm
- match(Message) - Method in class com.icegreen.greenmail.imap.commands.SearchTermBuilder.UidSearchTerm
- MaxSizeLinkedHashMap<K,V> - Class in com.icegreen.greenmail.util
-
A
LinkedHashMap
with a maximum size. - MaxSizeLinkedHashMap(int) - Constructor for class com.icegreen.greenmail.util.MaxSizeLinkedHashMap
-
Constructs a MaxSizeLinkedHashMap with maximum size
maxSize
. - MessageDeliveryHandler - Interface in com.icegreen.greenmail.user
-
Handles delivery when receiving messages.
- MessageFlags - Class in com.icegreen.greenmail.store
-
The set of flags associated with a message.
- MessageFlags() - Constructor for class com.icegreen.greenmail.store.MessageFlags
- MessageNumberSearchTerm(List<IdRange>) - Constructor for class com.icegreen.greenmail.imap.commands.SearchTermBuilder.MessageNumberSearchTerm
- MESSAGES - Static variable in interface com.icegreen.greenmail.imap.ImapConstants
- moveMessage(long, MailFolder) - Method in class com.icegreen.greenmail.imap.ImapSessionFolder
- moveMessage(long, MailFolder) - Method in interface com.icegreen.greenmail.store.MailFolder
- MovingMessage - Class in com.icegreen.greenmail.mail
-
Contains information for delivering a mime email.
- MovingMessage() - 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
N
- NAME - Static variable in class com.icegreen.greenmail.imap.commands.QuotaCommand
- NAME - Static variable in class com.icegreen.greenmail.imap.commands.QuotaRootCommand
- NAME - Static variable in class com.icegreen.greenmail.imap.commands.SetQuotaCommand
- 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.server.AbstractServer
- OR - com.icegreen.greenmail.imap.commands.SearchKey
P
- parse(String) - Static method in class com.icegreen.greenmail.util.SaslMessage
-
Parses a SASL mechanism message.
- parseIdRange(ImapRequestLineReader) - Method in class com.icegreen.greenmail.imap.commands.CommandParser
-
Reads a "message set" argument, and parses into an IdSet.
- parseRange(String) - Static method in class com.icegreen.greenmail.imap.commands.IdRange
-
Parses a single id range, eg "1" or "1:2" or "4:*".
- parseRangeSequence(String) - Static method in class com.icegreen.greenmail.imap.commands.IdRange
-
Parses an uid sequence, a comma separated list of uid ranges.
- 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
- PLAIN - com.icegreen.greenmail.pop3.commands.AuthCommand.Pop3SaslAuthMechanism
- PLAIN - com.icegreen.greenmail.smtp.commands.AuthCommand.AuthMechanism
- PlainAuthenticationState - Class in com.icegreen.greenmail.smtp.auth
-
Details from the
AuthCommand.AuthMechanism.PLAIN
authorization mechanism, when that mechanism was used for authentication. - PlainAuthenticationState(SaslMessage) - Constructor for class com.icegreen.greenmail.smtp.auth.PlainAuthenticationState
- PlainAuthenticationState(String, String, String) - Constructor for class com.icegreen.greenmail.smtp.auth.PlainAuthenticationState
- 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
- port(int) - Method in class com.icegreen.greenmail.util.ServerSetup
-
Creates a deep copy and updates port.
- PORT_IMAP - Static variable in class com.icegreen.greenmail.util.ServerSetup
- PORT_IMAPS - Static variable in class com.icegreen.greenmail.util.ServerSetup
- PORT_POP3 - Static variable in class com.icegreen.greenmail.util.ServerSetup
- PORT_POP3S - Static variable in class com.icegreen.greenmail.util.ServerSetup
- PORT_SMTP - Static variable in class com.icegreen.greenmail.util.ServerSetup
- PORT_SMTPS - Static variable in class com.icegreen.greenmail.util.ServerSetup
- portOffset - Static variable in class com.icegreen.greenmail.util.ServerSetupTest
- print(Reader) - Method in class com.icegreen.greenmail.pop3.Pop3Connection
- print(String) - 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 an 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(Reader) - Method in class com.icegreen.greenmail.pop3.Pop3Connection
- 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.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.
- PropertiesBasedGreenMailConfigurationBuilder - Class in com.icegreen.greenmail.configuration
-
Creates GreenMailConfiguration from properties.
- PropertiesBasedGreenMailConfigurationBuilder() - Constructor for class com.icegreen.greenmail.configuration.PropertiesBasedGreenMailConfigurationBuilder
- PropertiesBasedServerSetupBuilder - Class in com.icegreen.greenmail.util
-
Creates a GreenMail server setup configuration based on System properties.
- PropertiesBasedServerSetupBuilder() - Constructor for class com.icegreen.greenmail.util.PropertiesBasedServerSetupBuilder
- PROTOCOL_IMAP - Static variable in class com.icegreen.greenmail.util.ServerSetup
- PROTOCOL_IMAPS - Static variable in class com.icegreen.greenmail.util.ServerSetup
- PROTOCOL_POP3 - Static variable in class com.icegreen.greenmail.util.ServerSetup
- 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
- ProtocolException(String, Throwable) - Constructor for exception com.icegreen.greenmail.imap.ProtocolException
- ProtocolHandler - Interface in com.icegreen.greenmail.server
-
Handles a specific protocol, such as IMAP etc.
- PROTOCOLS - Static variable in class com.icegreen.greenmail.util.ServerSetup
- purgeEmailFromAllMailboxes() - Method in interface com.icegreen.greenmail.base.GreenMailOperations
-
Remove/purge all data from all mail stores (POP3/IMAP)
- purgeEmailFromAllMailboxes() - Method in class com.icegreen.greenmail.util.GreenMail
- purgeEmailFromAllMailboxes() - Method in class com.icegreen.greenmail.util.GreenMailProxy
Q
- quit() - Method in class com.icegreen.greenmail.pop3.Pop3Connection
- quit() - Method in class com.icegreen.greenmail.server.AbstractServer
-
Quits server by closing server socket and closing client socket handlers.
- quit() - Method in class com.icegreen.greenmail.smtp.SmtpConnection
- 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
- quitting - Variable in class com.icegreen.greenmail.server.AbstractSocketProtocolHandler
- QuotaCommand - Class in com.icegreen.greenmail.imap.commands
-
Implements IMAP Quota Extension.
- QuotaCommand(String) - Constructor for class com.icegreen.greenmail.imap.commands.QuotaCommand
- QuotaRootCommand - Class in com.icegreen.greenmail.imap.commands
-
Implements IMAP Quota Extension.
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() - Method in class com.icegreen.greenmail.util.LoggingInputStream
- read(byte[]) - Method in class com.icegreen.greenmail.imap.ImapRequestLineReader
-
Reads and consumes a number of characters from the underlying reader, filling the byte array provided.
- read(byte[], int, int) - Method in class com.icegreen.greenmail.util.LoggingInputStream
- READ_TIMEOUT - Static variable in class com.icegreen.greenmail.util.ServerSetup
-
Default socket read timeout.
- 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
- RECENT - Static variable in class com.icegreen.greenmail.store.MessageFlags
- recentResponse(int) - Method in class com.icegreen.greenmail.imap.ImapResponse
- registry - Variable in class com.icegreen.greenmail.smtp.SmtpHandler
- remove(long) - Method in class com.icegreen.greenmail.store.ListBasedStoredMessageCollection
- remove(long) - Method in class com.icegreen.greenmail.store.MapBasedStoredMessageCollection
- remove(long) - Method in interface com.icegreen.greenmail.store.StoredMessageCollection
- removeEldestEntry(Map.Entry<K, V>) - Method in class com.icegreen.greenmail.util.MaxSizeLinkedHashMap
- 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
-
Removes an address from the list of addresses from which the email was sent.
- 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
- reset() - Method in interface com.icegreen.greenmail.base.GreenMailOperations
-
Restart the GreenMail server.
- reset() - Method in class com.icegreen.greenmail.util.GreenMail
- reset() - Method in class com.icegreen.greenmail.util.GreenMailProxy
- 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("[email protected]");
This will fetch all available messages for Billy using POP3. - REVERSE - com.icegreen.greenmail.imap.commands.SortKey
- 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.pop3.Pop3Handler
- run() - Method in class com.icegreen.greenmail.server.AbstractServer
- run() - Method in class com.icegreen.greenmail.smtp.SmtpHandler
S
- SaslMessage - Class in com.icegreen.greenmail.util
-
SASL mechanism message.
- 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
- SearchTermBuilder.AbstractIdSearchTerm - Class in com.icegreen.greenmail.imap.commands
-
Supports general searching by id sequences such as MSN or UID.
- SearchTermBuilder.MessageNumberSearchTerm - Class in com.icegreen.greenmail.imap.commands
-
Term for searching by message number ids.
- SearchTermBuilder.UidSearchTerm - Class in com.icegreen.greenmail.imap.commands
-
Term for searching uids.
- 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
- send(SmtpState) - Method in class com.icegreen.greenmail.smtp.SmtpManager
- send(String) - Method in class com.icegreen.greenmail.smtp.SmtpConnection
- sendAttachmentEmail(String, String, String, String, byte[], String, String, String, ServerSetup) - Static method in class com.icegreen.greenmail.util.GreenMailUtil
- sendGreetings() - Method in class com.icegreen.greenmail.smtp.SmtpHandler
- sendMessageBody(String, String, String, Object, String, ServerSetup) - Static method in class com.icegreen.greenmail.util.GreenMailUtil
-
Send the message with the given attributes and the given body using the specified SMTP settings
- sendMimeMessage(MimeMessage) - Static method in class com.icegreen.greenmail.util.GreenMailUtil
-
Send the message using the JavaMail session defined in the message
- sendMimeMessage(MimeMessage, String, String) - Static method in class com.icegreen.greenmail.util.GreenMailUtil
-
Send the message using the JavaMail session defined in the message
- sendTextEmail(String, String, String, String, ServerSetup) - Static method in class com.icegreen.greenmail.util.GreenMailUtil
-
Sends a text message using given server setup for SMTP.
- sendTextEmailSecureTest(String, String, String, String) - Static method in class com.icegreen.greenmail.util.GreenMailUtil
-
Sends a text message using the default test setup for SMTPS.
- sendTextEmailTest(String, String, String, String) - Static method in class com.icegreen.greenmail.util.GreenMailUtil
-
Sends a text message using the default test setup for SMTP.
- SENTBEFORE - com.icegreen.greenmail.imap.commands.SearchKey
- SENTON - com.icegreen.greenmail.imap.commands.SearchKey
- SENTSINCE - com.icegreen.greenmail.imap.commands.SearchKey
- SEQUENCE - Static variable in class com.icegreen.greenmail.imap.commands.IdRange
-
Matches a sequence of a single id or id range
- SEQUENCE_SET - com.icegreen.greenmail.imap.commands.SearchKey
-
<sequence set> - Messages with message sequence numbers corresponding to the specified message sequence number set.
- SERVER_STARTUP_TIMEOUT - Static variable in class com.icegreen.greenmail.util.ServerSetup
-
Default server startup timeout in milliseconds.
- 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
-
Creates a configuration.
- 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.server.AbstractServer
- Service - Interface in com.icegreen.greenmail.util
-
Generic lifecycle handling of a service.
- services - Variable in class com.icegreen.greenmail.util.GreenMail
- setAuthenticated(boolean) - Method in class com.icegreen.greenmail.smtp.SmtpConnection
-
Sets the authentication state of this connection.
- 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
- setAuthenticationState(AuthenticationState) - Method in class com.icegreen.greenmail.mail.MovingMessage
-
Retrieves the state object with the data used for authentication.
- setAuthRequired(boolean) - Method in class com.icegreen.greenmail.user.UserManager
- setClientSocketTimeout(int) - Method in class com.icegreen.greenmail.server.AbstractServer
- setConnectionTimeout(long) - Method in class com.icegreen.greenmail.util.ServerSetup
- setFlag(Flags.Flag, boolean) - Method in class com.icegreen.greenmail.store.StoredMessage
- setFlag(String, Flags) - Method in class com.icegreen.greenmail.imap.commands.CommandParser
- setFlags(Flags, boolean) - Method in class com.icegreen.greenmail.store.StoredMessage
- 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
- setMessageDeliveryHandler(MessageDeliveryHandler) - Method in class com.icegreen.greenmail.user.UserManager
- setMimeMessage(MimeMessage) - Method in class com.icegreen.greenmail.mail.MovingMessage
-
Sets or overwrites the contents of the mail message, including all mail headers and the body.
- setPassword(String) - Method in interface com.icegreen.greenmail.user.GreenMailUser
- setPassword(String) - Method in class com.icegreen.greenmail.user.UserImpl
- setQuitting(boolean) - Method in class com.icegreen.greenmail.server.AbstractSocketProtocolHandler
-
Signal for closing handler.
- setQuota(GreenMailUser, Quota) - Static method in class com.icegreen.greenmail.util.GreenMailUtil
-
Sets a quota for a users.
- setQuota(Quota, String) - Method in class com.icegreen.greenmail.store.InMemoryStore
- setQuota(Quota, String) - Method in interface com.icegreen.greenmail.store.Store
-
Sets the quota.
- SetQuotaCommand - Class in com.icegreen.greenmail.imap.commands
-
Implements IMAP Quota Extension.
- setQuotaSupported(boolean) - Method in interface com.icegreen.greenmail.base.GreenMailOperations
-
Toggles the IMAP quota support.
- setQuotaSupported(boolean) - Method in class com.icegreen.greenmail.store.InMemoryStore
- setQuotaSupported(boolean) - Method in interface com.icegreen.greenmail.store.Store
-
Toggles quota capability.
- setQuotaSupported(boolean) - Method in class com.icegreen.greenmail.util.GreenMail
- setQuotaSupported(boolean) - Method in class com.icegreen.greenmail.util.GreenMailProxy
- setReadTimeout(long) - Method in class com.icegreen.greenmail.util.ServerSetup
- setResponseCode(String) - Method in exception com.icegreen.greenmail.store.FolderException
- setReturnPath(MailAddress) - Method in class com.icegreen.greenmail.mail.MovingMessage
-
Sets or overwrites the address from which the email was sent.
- setRunning(boolean) - Method in class com.icegreen.greenmail.server.AbstractServer
- 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
- setServerStartupTimeout(long) - Method in class com.icegreen.greenmail.util.ServerSetup
-
Sets the server startup timeout in milliseconds.
- setSieveIgnoreDetail(boolean) - Method in class com.icegreen.greenmail.user.UserManager
- 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.server.AbstractServer
- setUser(GreenMailUser) - Method in class com.icegreen.greenmail.pop3.Pop3State
- setUser(String, String) - Method in interface com.icegreen.greenmail.base.GreenMailOperations
-
Sets the password for the account linked to email.
- setUser(String, String) - Method in class com.icegreen.greenmail.util.GreenMail
- setUser(String, String) - Method in class com.icegreen.greenmail.util.GreenMailProxy
- setUser(String, String, String) - Method in interface com.icegreen.greenmail.base.GreenMailOperations
-
Sets the password for the account linked to email.
- setUser(String, String, String) - Method in class com.icegreen.greenmail.util.GreenMail
- setUser(String, String, String) - Method in class com.icegreen.greenmail.util.GreenMailProxy
- setUsers(Properties) - Method in interface com.icegreen.greenmail.base.GreenMailOperations
-
Sets up accounts with password based on a properties map where the key is the email/login and the value the password
- setUsers(Properties) - Method in class com.icegreen.greenmail.util.GreenMail
- setUsers(Properties) - Method in class com.icegreen.greenmail.util.GreenMailProxy
- setVerbose(boolean) - Method in class com.icegreen.greenmail.util.ServerSetup
- setWriteTimeout(long) - Method in class com.icegreen.greenmail.util.ServerSetup
- 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.
- SINCE - com.icegreen.greenmail.imap.commands.SearchKey
- size() - Method in class com.icegreen.greenmail.store.ListBasedStoredMessageCollection
- size() - Method in class com.icegreen.greenmail.store.MapBasedStoredMessageCollection
- size() - Method in interface com.icegreen.greenmail.store.StoredMessageCollection
- SIZE - com.icegreen.greenmail.imap.commands.SortKey
- 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
- SMTP_SERVER_CONTINUATION - Static variable in class com.icegreen.greenmail.smtp.commands.AuthCommand
- SMTP_SYNTAX_ERROR - Static variable in class com.icegreen.greenmail.smtp.commands.AuthCommand
- 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
- SmtpHandler - Class in com.icegreen.greenmail.smtp
- SmtpHandler(SmtpCommandRegistry, SmtpManager, Socket) - Constructor for class com.icegreen.greenmail.smtp.SmtpHandler
- SmtpManager - Class in com.icegreen.greenmail.smtp
- SmtpManager(ImapHostManager, UserManager) - Constructor for class com.icegreen.greenmail.smtp.SmtpManager
- 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() - Constructor for class com.icegreen.greenmail.smtp.SmtpState
- socket - Variable in class com.icegreen.greenmail.server.AbstractSocketProtocolHandler
-
The TCP/IP socket over which the IMAP interaction is occurring
- SortKey - Enum in com.icegreen.greenmail.imap.commands
-
Created on 10/03/2016.
- 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 interface com.icegreen.greenmail.base.GreenMailOperations
-
Start the GreenMail server
- start() - Method in class com.icegreen.greenmail.util.GreenMail
- start() - Method in class com.icegreen.greenmail.util.GreenMailProxy
- startService() - Method in class com.icegreen.greenmail.server.AbstractServer
- startService() - Method in interface com.icegreen.greenmail.util.Service
-
Starts the service in the background as a new thread.
- StatCommand - Class in com.icegreen.greenmail.pop3.commands
- StatCommand() - Constructor for class com.icegreen.greenmail.pop3.commands.StatCommand
- state - Variable in class com.icegreen.greenmail.smtp.SmtpHandler
- stop() - Method in interface com.icegreen.greenmail.base.GreenMailOperations
-
Stop the GreenMail server.
- stop() - Method in class com.icegreen.greenmail.util.GreenMail
- stop() - Method in class com.icegreen.greenmail.util.GreenMailProxy
- stopService() - Method in class com.icegreen.greenmail.server.AbstractServer
-
Stops the service (without timeout).
- stopService() - Method in interface com.icegreen.greenmail.util.Service
-
Stops the service.
- stopService(long) - Method in class com.icegreen.greenmail.server.AbstractServer
-
Stops the service.
- stopService(long) - Method in interface com.icegreen.greenmail.util.Service
-
Stops the service.
- STORAGE - Static variable in interface com.icegreen.greenmail.imap.ImapConstants
- 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 - Class in com.icegreen.greenmail.store
-
A mail message with all the extra stuff that IMAP requires.
- StoredMessage.UidAwareMimeMessage - Class in com.icegreen.greenmail.store
-
Wraps a mime message and provides support for uid.
- StoredMessageCollection - Interface in com.icegreen.greenmail.store
- StreamUtils - Class in com.icegreen.greenmail.foedus.util
- StreamUtils() - Constructor for class com.icegreen.greenmail.foedus.util.StreamUtils
- string(ImapRequestLineReader, Charset) - Method in class com.icegreen.greenmail.imap.commands.CommandParser
-
Reads an argument of type "string" from the request.
- SUBJECT - com.icegreen.greenmail.imap.commands.SearchKey
- SUBJECT - com.icegreen.greenmail.imap.commands.SortKey
- 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
- SUPPORTED_AUTH_MECHANISM - Static variable in class com.icegreen.greenmail.smtp.commands.AuthCommand
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
- TO - com.icegreen.greenmail.imap.commands.SortKey
- TopCommand - Class in com.icegreen.greenmail.pop3.commands
- TopCommand() - Constructor for class com.icegreen.greenmail.pop3.commands.TopCommand
- toStream(String, Charset) - Static method in class com.icegreen.greenmail.util.EncodingUtil
-
Converts the string of given content to an input stream.
- toString() - Method in class com.icegreen.greenmail.configuration.UserBean
- toString() - Method in class com.icegreen.greenmail.imap.commands.IdRange
- 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() - Method in class com.icegreen.greenmail.mail.MovingMessage
- toString() - Method in class com.icegreen.greenmail.server.AbstractServer
- toString() - Method in class com.icegreen.greenmail.user.UserImpl
- toString() - Method in class com.icegreen.greenmail.util.ServerSetup
- toString(Part) - Static method in class com.icegreen.greenmail.util.GreenMailUtil
- toString(InputStream, Charset) - Static method in class com.icegreen.greenmail.util.EncodingUtil
- toString(Reader) - Static method in class com.icegreen.greenmail.foedus.util.StreamUtils
U
- UID - com.icegreen.greenmail.imap.commands.SearchKey
- UidAwareMimeMessage(MimeMessage, long, Date) - Constructor for class com.icegreen.greenmail.store.StoredMessage.UidAwareMimeMessage
- 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
- UidSearchTerm(List<IdRange>) - Constructor for class com.icegreen.greenmail.imap.commands.SearchTermBuilder.UidSearchTerm
- uidsToRangeString(List<Long>) - Static method in class com.icegreen.greenmail.imap.commands.IdRange
- 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 "*".
- updateMessageNumber(int) - Method in class com.icegreen.greenmail.store.StoredMessage.UidAwareMimeMessage
-
Updates the MSN.
- updateMessageNumber(int) - Method in class com.icegreen.greenmail.store.StoredMessage
-
Updates the MSN.
- USER_NAMESPACE - Static variable in interface com.icegreen.greenmail.imap.ImapConstants
- UserBean - Class in com.icegreen.greenmail.configuration
-
A user to create when servers start
- UserBean(String, String, String) - Constructor for class com.icegreen.greenmail.configuration.UserBean
-
Initialize user
- 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
- UsernameAuthentication - Interface in com.icegreen.greenmail.smtp.auth
-
Base interface for authentication methods that provide or make use of a plain text username to identify a user, such as the
PLAIN
orLOGIN
authentication mechanisms. - UserUtil - Class in com.icegreen.greenmail.util
-
Utility for managing users
V
- validForState(ImapSessionState) - Method in interface com.icegreen.greenmail.imap.commands.ImapCommand
-
Specifies if this command is valid for the given session state.
- VALUE_WILDCARD - Static variable in class com.icegreen.greenmail.imap.commands.IdRange
- valueOf(String) - Static method in enum com.icegreen.greenmail.imap.commands.SearchKey
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.icegreen.greenmail.imap.commands.SortKey
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.icegreen.greenmail.pop3.commands.AuthCommand.Pop3SaslAuthMechanism
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.icegreen.greenmail.server.BuildInfo
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.icegreen.greenmail.smtp.commands.AuthCommand.AuthMechanism
-
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.
- values() - Static method in enum com.icegreen.greenmail.imap.commands.SortKey
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.icegreen.greenmail.pop3.commands.AuthCommand.Pop3SaslAuthMechanism
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.icegreen.greenmail.server.BuildInfo
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.icegreen.greenmail.smtp.commands.AuthCommand.AuthMechanism
-
Returns an array containing the constants of this enum type, in the order they are declared.
- verbose(boolean) - Method in class com.icegreen.greenmail.util.ServerSetup
-
Creates a deep copy with verbose configured.
- verbose(ServerSetup[]) - Static method in class com.icegreen.greenmail.util.ServerSetup
-
Creates a copy with verbose mode enabled.
- 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 interface com.icegreen.greenmail.base.GreenMailOperations
-
Does the same thing as
GreenMailOperations.waitForIncomingEmail(long, int)
but with a default timeout of 5000ms - waitForIncomingEmail(int) - Method in class com.icegreen.greenmail.util.GreenMail
- waitForIncomingEmail(int) - Method in class com.icegreen.greenmail.util.GreenMailProxy
- waitForIncomingEmail(long, int) - Method in interface com.icegreen.greenmail.base.GreenMailOperations
-
Use this method if you are sending email in a different thread from the one you're testing from.
- waitForIncomingEmail(long, int) - Method in class com.icegreen.greenmail.util.GreenMail
- waitForIncomingEmail(long, int) - Method in class com.icegreen.greenmail.util.GreenMailProxy
- waitTillRunning(long) - Method in class com.icegreen.greenmail.server.AbstractServer
- waitTillRunning(long) - Method in interface com.icegreen.greenmail.util.Service
-
Waits till service is up or timeout was reached.
- withConfiguration(GreenMailConfiguration) - Method in interface com.icegreen.greenmail.base.GreenMailOperations
-
Configure GreenMail instance using the given configuration
- withConfiguration(GreenMailConfiguration) - Method in class com.icegreen.greenmail.configuration.ConfiguredGreenMail
- withConfiguration(GreenMailConfiguration) - Method in class com.icegreen.greenmail.junit.GreenMailRule
-
Deprecated.
- withConfiguration(GreenMailConfiguration) - Method in class com.icegreen.greenmail.util.GreenMail
- withDisabledAuthentication() - Method in class com.icegreen.greenmail.configuration.GreenMailConfiguration
-
Disables authentication.
- withPort(int) - Method in class com.icegreen.greenmail.util.ServerSetup
-
Deprecated.use
ServerSetup.port(int)
- will be deprecated in 2.1 - withPreloadDir(String) - Method in class com.icegreen.greenmail.configuration.GreenMailConfiguration
-
Configures directory path for preloading emails from filesystem.
- withSieveIgnoreDetail() - Method in class com.icegreen.greenmail.configuration.GreenMailConfiguration
-
Enables Sieve detail handling, also known as RFC 5233 sub-address extension.
- withUser(String, String) - Method in class com.icegreen.greenmail.configuration.GreenMailConfiguration
-
The given
GreenMailUser
will be created when servers will start. - withUser(String, String, String) - Method in class com.icegreen.greenmail.configuration.GreenMailConfiguration
-
The given
GreenMailUser
will be created when servers will start. - WRAP - Static variable in class com.icegreen.greenmail.util.LineLoggingBuffer
- write(int) - Method in class com.icegreen.greenmail.util.LoggingOutputStream
All Classes All Packages