Package dev.gmitch215.bytebox
Interface Mail
public interface Mail
Handles incoming email.
A message that reaches the end of this method with no disposition recorded is dropped by the
platform, so InboundMail tracks its own. Call InboundMail.forward(java.lang.String),
InboundMail.reply(java.lang.String) or InboundMail.reject(java.lang.String) at any point and carry on working;
InboundMail.drop() states that dropping the message was the intent. Returning without any
of them raises rather than discarding the message silently.
- Since:
- 1.0.0
-
Method Summary
Modifier and TypeMethodDescriptionvoidemail(InboundMail mail, Env env, ExecutionCtx ctx) Handles one inbound message.
-
Method Details
-
email
Handles one inbound message.- Parameters:
mail- the message, which records what was done to itenv- the bindings declared in the Wrangler configurationctx- the invocation context
-