Fluent builder for configuring the JS function an app uses to send outgoing email. Created by ControllerMappingList.emailSenderDetails, a controller script sets sendEmailFn and calls build to register the resulting EmailSenderDetails on the owning app's mappings, making the app usable as the platform's email sender.

Group: Builders


Properties

PropertyReturnsDescription
sendEmailFnStringName of the JS function configured so far to send outgoing email.

Methods

getSendEmailFn()

Returns: String

Name of the JS function configured so far to send outgoing email.

setSendEmailFn(String sendEmailFn)

Returns: void

Sets the name of the JS function that sends outgoing email.

ParameterDescription
sendEmailFnthe send-email function name

sendEmailFn(String sendEmailFn)

Returns: EmailSenderDetailsBuilder

Sets the name of the JS function that sends outgoing email.

ParameterDescription
sendEmailFnthe send-email function name

build()

Returns: void

Builds an EmailSenderDetails from the configured function name and registers it on the owning ControllerMappingList as the app's email sender. Logs a warning if no function name was set, since the result cannot then be used to send email.

To get full access to the Kademi Hub existing customers can login here, or new customers can register here.