JavaScript is disabled on your browser.
Skip navigation links
Overview
Package
Class
Tree
Deprecated
Index
Help
Prev
Next
Frames
No Frames
All Classes
A
B
C
D
E
F
G
I
L
M
N
O
P
R
S
T
U
A
accept(String, String)
- Method in class com.github.sleroy.junit.mail.server.
MailListener
Accepts all kind of email
(always return true)
.
after()
- Method in class com.github.sleroy.junit.mail.server.test.
FakeSmtpRule
auth(Authentication)
- Method in class com.github.sleroy.fakesmtp.core.
ServerConfiguration
Defines the authentication.
Authentication
- Class in
com.github.sleroy.fakesmtp.core
The Class Authentication defines the configuration for the SMTPAuthHandler.
Authentication()
- Constructor for class com.github.sleroy.fakesmtp.core.
Authentication
Instantiates a new authentication.
B
before()
- Method in class com.github.sleroy.junit.mail.server.test.
FakeSmtpRule
bind(String)
- Method in class com.github.sleroy.fakesmtp.core.
ServerConfiguration
Sets the bind address.
BindPortException
- Exception in
com.github.sleroy.fakesmtp.core.exception
Thrown if the SMTP port cannot be bound while trying to start the server.
BindPortException(Exception, int)
- Constructor for exception com.github.sleroy.fakesmtp.core.exception.
BindPortException
C
charset(String)
- Method in class com.github.sleroy.fakesmtp.core.
ServerConfiguration
Sets the storage charset name.
close()
- Method in class com.github.sleroy.junit.mail.server.
MailServer
com.github.sleroy.fakesmtp.core
- package com.github.sleroy.fakesmtp.core
com.github.sleroy.fakesmtp.core.exception
- package com.github.sleroy.fakesmtp.core.exception
com.github.sleroy.fakesmtp.model
- package com.github.sleroy.fakesmtp.model
com.github.sleroy.junit.mail.server
- package com.github.sleroy.junit.mail.server
com.github.sleroy.junit.mail.server.events
- package com.github.sleroy.junit.mail.server.events
com.github.sleroy.junit.mail.server.test
- package com.github.sleroy.junit.mail.server.test
create()
- Static method in class com.github.sleroy.fakesmtp.core.
ServerConfiguration
Creates the server configuration.
D
dateFormat
- Variable in class com.github.sleroy.junit.mail.server.
MailSaver
The date format.
DeleteAllMailEvent
- Class in
com.github.sleroy.junit.mail.server.events
DeleteAllMailEvent()
- Constructor for class com.github.sleroy.junit.mail.server.events.
DeleteAllMailEvent
deleteAllMails()
- Method in class com.github.sleroy.fakesmtp.model.
MailServerModel
Delete all mails.
deliver(String, String, InputStream)
- Method in class com.github.sleroy.junit.mail.server.
MailListener
Receives emails and forwards them to the
MailSaver
object.
E
EmailModel
- Class in
com.github.sleroy.fakesmtp.model
A model representing a received email.
EmailModel()
- Constructor for class com.github.sleroy.fakesmtp.model.
EmailModel
Instantiates a new email model.
F
FakeSmtpRule
- Class in
com.github.sleroy.junit.mail.server.test
The Class FakeSmtpRule defines a JUnit Rule to start/stop a SMTP Server.
FakeSmtpRule(ServerConfiguration)
- Constructor for class com.github.sleroy.junit.mail.server.test.
FakeSmtpRule
Instantiates a new fake smtp rule.
FakeSmtpRuleException
- Exception in
com.github.sleroy.junit.mail.server.test
The Class FakeSmtpRuleException is an exception thrown when the JUnit Rule has encountered problems.
FakeSmtpRuleException(String)
- Constructor for exception com.github.sleroy.junit.mail.server.test.
FakeSmtpRuleException
Instantiates a new fake smtp rule exception.
FakeSmtpRuleException(String, Throwable)
- Constructor for exception com.github.sleroy.junit.mail.server.test.
FakeSmtpRuleException
Instantiates a new fake smtp rule exception.
FakeSmtpRuleException(String, Throwable, boolean, boolean)
- Constructor for exception com.github.sleroy.junit.mail.server.test.
FakeSmtpRuleException
Instantiates a new fake smtp rule exception.
FakeSmtpRuleException(Throwable)
- Constructor for exception com.github.sleroy.junit.mail.server.test.
FakeSmtpRuleException
Instantiates a new fake smtp rule exception.
G
getAuthentication()
- Method in class com.github.sleroy.fakesmtp.core.
ServerConfiguration
Gets the authentication.
getBindAddress()
- Method in class com.github.sleroy.fakesmtp.core.
ServerConfiguration
Gets the bind address.
getEmailModels()
- Method in class com.github.sleroy.fakesmtp.model.
MailServerModel
Gets the email models.
getEmailStr()
- Method in class com.github.sleroy.fakesmtp.model.
EmailModel
Gets the email str.
getFilePath()
- Method in class com.github.sleroy.fakesmtp.model.
EmailModel
Gets the file path.
getFrom()
- Method in class com.github.sleroy.fakesmtp.model.
EmailModel
Gets the from.
getHost()
- Method in exception com.github.sleroy.fakesmtp.core.exception.
InvalidHostException
getLock()
- Method in class com.github.sleroy.junit.mail.server.
MailSaver
Returns a lock object.
getMails()
- Method in class com.github.sleroy.junit.mail.server.
MailServer
Gets the mails of the server.
getModel()
- Method in class com.github.sleroy.junit.mail.server.events.
NewMailEvent
getModel()
- Method in class com.github.sleroy.junit.mail.server.events.
RejectedMailEvent
getPassword()
- Method in class com.github.sleroy.fakesmtp.core.
Authentication
Gets the password.
getPort()
- Method in class com.github.sleroy.fakesmtp.core.
ServerConfiguration
Gets the port.
getReceivedDate()
- Method in class com.github.sleroy.fakesmtp.model.
EmailModel
Gets the received date.
getRejectedMails()
- Method in class com.github.sleroy.fakesmtp.model.
MailServerModel
Gets the rejected mails.
getRejectedMails()
- Method in class com.github.sleroy.junit.mail.server.
MailServer
Gets the rejected mails from the server.
getRelayDomains()
- Method in class com.github.sleroy.fakesmtp.core.
ServerConfiguration
Gets the relay domains.
getRelayDomains()
- Method in class com.github.sleroy.junit.mail.server.
MailServer
Gets the relay domains.
getServerConfiguration()
- Method in class com.github.sleroy.junit.mail.server.test.
FakeSmtpRule
Gets the server configuration.
getStorageCharset()
- Method in class com.github.sleroy.fakesmtp.core.
ServerConfiguration
Gets the storage charset to store the mails.
getStorageCharSetName()
- Method in class com.github.sleroy.fakesmtp.core.
ServerConfiguration
Gets the charset used to store the mails.
getSubject()
- Method in class com.github.sleroy.fakesmtp.model.
EmailModel
Gets the subject.
getTo()
- Method in class com.github.sleroy.fakesmtp.model.
EmailModel
Gets the to.
getUserName()
- Method in class com.github.sleroy.fakesmtp.core.
Authentication
Gets the user name.
I
InvalidHostException
- Exception in
com.github.sleroy.fakesmtp.core.exception
Thrown if the host name is invalid while trying to start the server.
InvalidHostException(UnknownHostException, String)
- Constructor for exception com.github.sleroy.fakesmtp.core.exception.
InvalidHostException
InvalidPortException
- Exception in
com.github.sleroy.fakesmtp.core.exception
Thrown if the SMTP port is invalid while trying to start the server.
InvalidPortException(Exception)
- Constructor for exception com.github.sleroy.fakesmtp.core.exception.
InvalidPortException
isRunning()
- Method in class com.github.sleroy.junit.mail.server.
MailServer
Checks if the mail server is running.
isRunning()
- Method in class com.github.sleroy.junit.mail.server.
SMTPServerHandler
Checks whether the server is running
isRunning()
- Method in class com.github.sleroy.junit.mail.server.test.
FakeSmtpRule
Checks if the server is running.
L
LOGGER
- Static variable in class com.github.sleroy.junit.mail.server.
MailSaver
The Constant LOGGER.
M
mailBox()
- Method in class com.github.sleroy.junit.mail.server.test.
FakeSmtpRule
Returns the list of mails from the server.
MailListener
- Class in
com.github.sleroy.junit.mail.server
Listens to incoming emails and redirects them to the
MailSaver
object.
MailListener(MailSaverInterface)
- Constructor for class com.github.sleroy.junit.mail.server.
MailListener
Creates the listener.
MailSaver
- Class in
com.github.sleroy.junit.mail.server
Saves emails and notifies components so they can refresh their views with new data.
MailSaver(ServerConfiguration)
- Constructor for class com.github.sleroy.junit.mail.server.
MailSaver
Instantiates a new mail saver.
MailSaverInterface
- Interface in
com.github.sleroy.junit.mail.server
MailServer
- Class in
com.github.sleroy.junit.mail.server
The Class MailServer initializes the MailServer.
MailServer(ServerConfiguration)
- Constructor for class com.github.sleroy.junit.mail.server.
MailServer
Instantiates a new mail server.
MailServerModel
- Class in
com.github.sleroy.fakesmtp.model
UI presentation model of the application.
MailServerModel()
- Constructor for class com.github.sleroy.fakesmtp.model.
MailServerModel
Instantiates a new mail server model.
N
NewMailEvent
- Class in
com.github.sleroy.junit.mail.server.events
The Class NewMailEvent defines an event when an email model has been received.
NewMailEvent(EmailModel)
- Constructor for class com.github.sleroy.junit.mail.server.events.
NewMailEvent
Instantiates a new new mail event.
O
OutOfRangePortException
- Exception in
com.github.sleroy.fakesmtp.core.exception
Thrown if the SMTP port is out of range while trying to start the server.
OutOfRangePortException(Exception, int)
- Constructor for exception com.github.sleroy.fakesmtp.core.exception.
OutOfRangePortException
P
password(String)
- Method in class com.github.sleroy.fakesmtp.core.
ServerConfiguration
Defines the user name for the authentication.
port(int)
- Method in class com.github.sleroy.fakesmtp.core.
ServerConfiguration
Defines the server's port.
port(String)
- Method in class com.github.sleroy.fakesmtp.core.
ServerConfiguration
Sets the port.
R
rejectedMail(EmailModel)
- Method in class com.github.sleroy.fakesmtp.model.
MailServerModel
Rejects a mail.
RejectedMailEvent
- Class in
com.github.sleroy.junit.mail.server.events
The Class
RejectedMailEvent
defines an event when an email model has been rejected.
RejectedMailEvent(EmailModel)
- Constructor for class com.github.sleroy.junit.mail.server.events.
RejectedMailEvent
Instantiates a new rejected mail event.
rejectedMails()
- Method in class com.github.sleroy.junit.mail.server.test.
FakeSmtpRule
Returns the list of rejected mails.
relayDomains(String...)
- Method in class com.github.sleroy.fakesmtp.core.
ServerConfiguration
Defines the relay domains. for this SMTP Server
relayDomains()
- Method in class com.github.sleroy.junit.mail.server.test.
FakeSmtpRule
Returns the list of domains to relay.
relayDomainsList(List<String>)
- Method in class com.github.sleroy.fakesmtp.core.
ServerConfiguration
Sets the relay domains.
S
save(OutputStream, Charset)
- Method in class com.github.sleroy.fakesmtp.model.
EmailModel
Saves the mail into an output stream like a file.
saveEmailAndNotify(String, String, InputStream)
- Method in class com.github.sleroy.junit.mail.server.
MailSaver
saveEmailAndNotify(String, String, InputStream)
- Method in interface com.github.sleroy.junit.mail.server.
MailSaverInterface
Saves incoming email in file system and notifies observers.
saveMail(EmailModel)
- Method in class com.github.sleroy.fakesmtp.model.
MailServerModel
Save the mail.
ServerConfiguration
- Class in
com.github.sleroy.fakesmtp.core
Handles command line arguments.
ServerConfiguration()
- Constructor for class com.github.sleroy.fakesmtp.core.
ServerConfiguration
Handles command line arguments.
setEmailStr(String)
- Method in class com.github.sleroy.fakesmtp.model.
EmailModel
Sets the email str.
setFilePath(String)
- Method in class com.github.sleroy.fakesmtp.model.
EmailModel
Sets the file path.
setFrom(String)
- Method in class com.github.sleroy.fakesmtp.model.
EmailModel
Sets the from.
setPassword(String)
- Method in class com.github.sleroy.fakesmtp.core.
Authentication
Sets the password.
setReceivedDate(Date)
- Method in class com.github.sleroy.fakesmtp.model.
EmailModel
Sets the received date.
setSubject(String)
- Method in class com.github.sleroy.fakesmtp.model.
EmailModel
Sets the subject.
setTo(String)
- Method in class com.github.sleroy.fakesmtp.model.
EmailModel
Sets the to.
setUserName(String)
- Method in class com.github.sleroy.fakesmtp.core.
Authentication
Sets the user name.
SMTPServerHandler
- Class in
com.github.sleroy.junit.mail.server
Starts and stops the SMTP server.
SMTPServerHandler(SimpleMessageListener, AuthenticationHandlerFactory)
- Constructor for class com.github.sleroy.junit.mail.server.
SMTPServerHandler
Instantiates a new SMTP server handler.
start()
- Method in class com.github.sleroy.junit.mail.server.
MailServer
Start.
startServer(int, InetAddress)
- Method in class com.github.sleroy.junit.mail.server.
SMTPServerHandler
Starts the server on the port and address specified in parameters.
stopServer()
- Method in class com.github.sleroy.junit.mail.server.
SMTPServerHandler
Stops the server.
storageCharSet
- Variable in class com.github.sleroy.junit.mail.server.
MailSaver
T
toString()
- Method in class com.github.sleroy.fakesmtp.core.
Authentication
toString()
- Method in class com.github.sleroy.fakesmtp.core.
ServerConfiguration
toString()
- Method in class com.github.sleroy.fakesmtp.model.
EmailModel
toString()
- Method in class com.github.sleroy.fakesmtp.model.
MailServerModel
U
update(Observable, Object)
- Method in class com.github.sleroy.fakesmtp.model.
MailServerModel
userName(String)
- Method in class com.github.sleroy.fakesmtp.core.
ServerConfiguration
Defines the user name for the authentication.
A
B
C
D
E
F
G
I
L
M
N
O
P
R
S
T
U
Skip navigation links
Overview
Package
Class
Tree
Deprecated
Index
Help
Prev
Next
Frames
No Frames
All Classes