To get full access to the Kademi Hub existing customers can login here, or new customers can register here.
Use this to create a mailbox for a custom app. This will allow the custom app to capture incoming E-Mails. For example: <pre> controllerMappings .mailboxController() .enabled(true) .verifyMailbox('verifyMailbox') .storeMail('storeMail') .build(); </pre>
Methods
| Signature | Returns | Notes |
|---|---|---|
enabled(boolean enabled) | MailboxMappingBuilder | Set's this mailbox as enabled |
storeMail(String storemail) | MailboxMappingBuilder | Set's the method name to call to store/handle an email |
storeMail(VarArgFunction storemail) | MailboxMappingBuilder | Set's a JS function to execute to store/handle an email |
verifyMailbox(String verifyMailbox) | MailboxMappingBuilder | Set's the method name to call to verify the incoming email can be captured by this mailbox. The method should return a boolean. |
verifyMailbox(VarArgFunction verifyMailbox) | MailboxMappingBuilder | Set's the function to execute to verify the incoming email can be captured by this mailbox. The method should return a boolean. |
build() | MailboxMapping | Prepares and builds the Mailbox controller |