wiki:Plugin_Hooks

Version 1 (modified by thomasb, 4 years ago) (diff)

--

Available Plugin Hooks

Global Hooks

startup

When application is initialized.
This is the place where task and action arguments can be altered.

Arguments:

task, action

Return values:

task, action

authenticate

Before the user login on the IMAP server is performed.

Arguments:

host, user

Return values:

host, user, pass

create_user

When a somebody logs in the first time and a local user is created. Return values will also be used to create the default identity for this new user.

Arguments:

user, user_name, user_email

Return values:

user_name, user_email

Task "mail"

TBD.

Task "addressbook"

TBD.

Task "settings"

TBD.