public final class MailCommand extends BaseCommand
| Constructor and Description |
|---|
MailCommand() |
MailCommand(Predicate<String> fromAddressValidator) |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(String commandString,
Session sess)
This is the main method that you need to override in order to implement a command.
|
getArgPredicate, getArgs, getHelp, getNamepublic void execute(String commandString, Session sess) throws IOException, DropConnectionException
BaseCommandexecute in interface Commandexecute in class BaseCommandIOExceptionDropConnectionExceptionCopyright © 2006–2024. All rights reserved.