|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SmtpServer
Interface for the wrapper of the SimpleSmtpServer of Wiser.
| Method Summary | |
|---|---|
java.util.List<SmtpMessage> |
getReceivedEmail()
This email sends you a list of all the mails you've sent to the fake SMTP server. |
int |
getReceivedEmailSize()
This method give you the amount of mails that you've sent to the SMTP server. |
java.lang.Boolean |
isRunning()
Returns if the server is running or not. |
void |
stop()
This method will stop the SMTP server. |
| Method Detail |
|---|
int getReceivedEmailSize()
java.util.List<SmtpMessage> getReceivedEmail()
throws java.io.IOException,
javax.mail.MessagingException
javax.mail.MessagingException
java.io.IOExceptionvoid stop()
java.lang.Boolean isRunning()
Boolean
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||