public interface MockMailbox
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Removes every sent message.
|
List<Mail> |
getMessagesSentTo(String address)
Returns a list of mails sent to the given address, whether it was via To, Cc or Bcc.
|
int |
getTotalMessagesSent()
Gets the total number of messages sent.
|
List<Mail> getMessagesSentTo(String address)
address - the email address we want to retrieve mail fromvoid clear()
int getTotalMessagesSent()
Copyright © 2020 JBoss by Red Hat. All rights reserved.