EmailConnection Class Callback Event Methods

The following are EmailConnection class callback event methods:

Syntax

onAnswering(event)

Description

Fires when email task is getting answered.

Syntax

onCapabilitiesChanged(event)

Description

Fires when there is a change in connection capabilities.

Syntax

onCompleted(event)

Description

Fires when EmailConnection state is changed to COMPLETED.

Syntax

onDropped(event)

Description

Fires when EmailConnection state is changed to DROPPED.

Syntax

onEmaildataChanged(event)

Description

Fires when there is a change in email data.

Syntax

onError(event)

Description

Fires when a there is a email connection error.

Syntax

onForwarded(event)

Description

Fires when email is forwarded to another queue or to another agent.

Syntax

onForwardError(event)

Description

Fires when there is error in forwarding the task.

Syntax

onForwarding(event)

Description

Fires when forwarding the email.

Syntax

onIncoming(event)

Description

Fires when EmailConnection state is changed to INCOMING.

Syntax

onProcessing(event)

Description

Fires when EmailConnection state is changed to PROCESSING.

Syntax

onRejected(event)

Description

Fires when email task is rejected by agent and the routing system acknowledges the same.

Syntax

onRevoked(event)

Description

Fires when email is revoked by routing system before agent accepts that.

Syntax

onUserdataChanged(event)

Description

Fires when there is a change in user data.

Syntax

onWithdraw_REQ(event)

Description

Fires when there is a request for email withdraw from routing server. This is a request from routing server to the agent.