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

SignatureReturnsNotes
enabled(boolean enabled)MailboxMappingBuilderSet's this mailbox as enabled
storeMail(String storemail)MailboxMappingBuilderSet's the method name to call to store/handle an email
storeMail(VarArgFunction storemail)MailboxMappingBuilderSet's a JS function to execute to store/handle an email
verifyMailbox(String verifyMailbox)MailboxMappingBuilderSet'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)MailboxMappingBuilderSet's the function to execute to verify the incoming email can be captured by this mailbox. The method should return a boolean.
build()MailboxMappingPrepares and builds the Mailbox controller
To get full access to the Kademi Hub existing customers can login here, or new customers can register here.