snappymail/plugins
2021-10-11 14:31:54 +02:00
..
add-x-originating-ip-header Improve plugin Description/README functionality 2021-03-04 12:15:11 +01:00
auto-domain-grab [snappymail] More changes to use the word "extensions" rather than plugins/packages 2021-08-27 23:49:03 +02:00
black-list [snappymail] More changes to use the word "extensions" rather than plugins/packages 2021-08-27 23:49:03 +02:00
change-password .less to .css see comments #134 2021-08-30 09:43:18 +02:00
change-smtp-ehlo-message [snappymail] More changes to use the word "extensions" rather than plugins/packages 2021-08-27 23:49:03 +02:00
ckeditor .less to .css see comments #134 2021-08-30 09:43:18 +02:00
contact-group-excel-paste Release plugins as tar.gz because PharData is more common then ZipArchive 2021-02-10 09:50:20 +01:00
contacts-suggestions-example [snappymail] More changes to use the word "extensions" rather than plugins/packages 2021-08-27 23:49:03 +02:00
custom-admin-settings-tab [snappymail] More changes to use the word "extensions" rather than plugins/packages 2021-08-27 23:49:03 +02:00
custom-auth-example [snappymail] More changes to use the word "extensions" rather than plugins/packages 2021-08-27 23:49:03 +02:00
custom-login-mapping [snappymail] More changes to use the word "extensions" rather than plugins/packages 2021-08-27 23:49:03 +02:00
custom-settings-tab [snappymail] More changes to use the word "extensions" rather than plugins/packages 2021-08-27 23:49:03 +02:00
custom-system-folders [snappymail] More changes to use the word "extensions" rather than plugins/packages 2021-08-27 23:49:03 +02:00
demo-account [snappymail] More changes to use the word "extensions" rather than plugins/packages 2021-08-27 23:49:03 +02:00
ldap-contacts-suggestions [snappymail] More changes to use the word "extensions" rather than plugins/packages 2021-08-27 23:49:03 +02:00
ldap-identities [snappymail] More changes to use the word "extensions" rather than plugins/packages 2021-08-27 23:49:03 +02:00
login-register Revert templateId to viewModelTemplateID for issue #150 2021-10-11 14:31:54 +02:00
override-smtp-credentials [snappymail] More changes to use the word "extensions" rather than plugins/packages 2021-08-27 23:49:03 +02:00
proxyauth-login-example [snappymail] More changes to use the word "extensions" rather than plugins/packages 2021-08-27 23:49:03 +02:00
snowfall-on-login-screen [snappymail] More changes to use the word "extensions" rather than plugins/packages 2021-08-27 23:49:03 +02:00
two-factor-auth Revert templateId to viewModelTemplateID for issue #150 2021-10-11 14:31:54 +02:00
white-list [snappymail] More changes to use the word "extensions" rather than plugins/packages 2021-08-27 23:49:03 +02:00
README.md Resolved Issue #84 2021-07-23 16:21:06 +02:00

PHP

class Plugin extends \RainLoop\Plugins\AbstractPlugin

Hooks

$Plugin->addHook('hook.name', 'functionName');

Login

login.credentials.step-1

params:
	string &$sEmail

login.credentials.step-2

params:
	string &$sEmail
	string &$sPassword

login.credentials

params:
	string &$sEmail
	string &$sLogin
	string &$sPassword

login.success

params:
	\RainLoop\Model\Account $oAccount

IMAP

imap.credentials

params:
	\RainLoop\Model\Account $oAccount
	array &$aCredentials

imap.before-connect

params:
	\RainLoop\Model\Account $oAccount
	\MailSo\Mail\MailClient $oMailClient
	array $aCredentials

imap.after-connect

params:
	\RainLoop\Model\Account $oAccount
	\MailSo\Mail\MailClient $oMailClient
	array $aCredentials

imap.before-login

params:
	\RainLoop\Model\Account $oAccount
	\MailSo\Mail\MailClient $oMailClient
	array $aCredentials

imap.after-login

params:
	\RainLoop\Model\Account $oAccount
	\MailSo\Mail\MailClient $oMailClient
	bool $bSuccess
	array $aCredentials

Sieve

sieve.credentials

params:
	\RainLoop\Model\Account $oAccount
	array &$aCredentials

sieve.before-connect

params:
	\RainLoop\Model\Account $oAccount
	\MailSo\Sieve\ManageSieveClient $oSieveClient
	array $aCredentials

sieve.after-connect

params:
	\RainLoop\Model\Account $oAccount
	\MailSo\Sieve\ManageSieveClient $oSieveClient
	array $aCredentials

sieve.before-login

params:
	\RainLoop\Model\Account $oAccount
	\MailSo\Sieve\ManageSieveClient $oSieveClient
	bool $bSuccess
	array $aCredentials

sieve.after-login

params:
	\RainLoop\Model\Account $oAccount
	\MailSo\Sieve\ManageSieveClient $oSieveClient
	array $aCredentials

SMTP

smtp.credentials

params:
	\RainLoop\Model\Account $oAccount
	array &$aCredentials

smtp.before-connect

params:
	\RainLoop\Model\Account $oAccount
	\MailSo\Smtp\SmtpClient $oSmtpClient
	array $aCredentials

smtp.after-connect

params:
	\RainLoop\Model\Account $oAccount
	\MailSo\Smtp\SmtpClient $oSmtpClient
	array $aCredentials

smtp.before-login

params:
	\RainLoop\Model\Account $oAccount
	\MailSo\Smtp\SmtpClient $oSmtpClient
	array $aCredentials

smtp.after-login

params:
	\RainLoop\Model\Account $oAccount
	\MailSo\Smtp\SmtpClient $oSmtpClient
	bool $bSuccess
	array $aCredentials

Folders

filter.folders-post

params:
	\RainLoop\Model\Account $oAccount
	\MailSo\Mail\FolderCollection $oFolderCollection

filter.folders-complete

params:
	\RainLoop\Model\Account $oAccount
	\MailSo\Mail\FolderCollection $oFolderCollection

filter.folders-system-types

params:
	\RainLoop\Model\Account $oAccount
	array &$aList

filter.system-folders-names

params:
	\RainLoop\Model\Account $oAccount
	array &$aCache

Others

filter.account

params:
	\RainLoop\Model\Account $oAccount

filter.action-params

params:
	string $sMethodName
	array &$aCurrentActionParams

filter.app-data

params:
	bool $bAdmin
	array &$aAppData

filter.application-config

params:
	\RainLoop\Config\Application $oConfig

filter.build-message

params:
	\MailSo\Mime\Message $oMessage

filter.build-read-receipt-message

params:
	\MailSo\Mime\Message $oMessage
	\RainLoop\Model\Account $oAccount

filter.domain

params:
	\RainLoop\Model\Domain &$oDomain

filter.fabrica

params:
	string $sName
	mixed &$mResult
	\RainLoop\Model\Account $oAccount

filter.http-paths

params:
	array &$aPaths

filter.http-query

params:
	string &$sQuery

filter.json-response

params:
	string $sAction
	array &$aResponseItem

filter.message-html

filter.message-plain

params:
	\RainLoop\Model\Account $oAccount
	\MailSo\Mime\Message $oMessage
	string &$sTextConverted

filter.message-rcpt

params:
	\RainLoop\Model\Account $oAccount
	\MailSo\Mime\EmailCollection $oRcpt

filter.read-receipt-message-plain

params:
	\RainLoop\Model\Account $oAccount
	\MailSo\Mime\Message $oMessage
	string &$sText

filter.result-message

params:
	\MailSo\Mime\Message $oMessage

filter.save-message

params:
	\MailSo\Mime\Message $oMessage

filter.send-message

params:
	\MailSo\Mime\Message $oMessage

filter.send-message-stream

params:
	\RainLoop\Model\Account $oAccount
	resource &$rMessageStream
	int &$iMessageStreamSize

filter.send-read-receipt-message

params:
	\MailSo\Mime\Message $oMessage
	\RainLoop\Model\Account $oAccount

filter.smtp-from

params:
	\RainLoop\Model\Account $oAccount
	\MailSo\Mime\Message $oMessage
	string &$sFrom

filter.smtp-hidden-rcpt

params:
	\RainLoop\Model\Account $oAccount
	\MailSo\Mime\Message $oMessage
	array &$aHiddenRcpt

filter.smtp-message-stream

params:
	\RainLoop\Model\Account $oAccount
	resource &$rMessageStream
	int &$iMessageStreamSize

filter.upload-response

params:
	array &$aResponseItem

json.action-post-call

params:
	string $sAction
	array &$aResponseItem

json.action-post-call

params:
	string $sAction
	array &$aResponseItem

json.action-pre-call

params:
	string $sAction

json.action-pre-call

params:
	string $sAction

json.attachments

params:
	\SnappyMail\AttachmentsAction $oData

json.suggestions-input-parameters

params:
	string &$sQuery
	int &$iLimit
	\RainLoop\Model\Account $oAccount

json.suggestions-post

params:
	array &$aResult
	string $sQuery
	\RainLoop\Model\Account $oAccount
	int $iLimit

json.suggestions-pre

params:
	array &$aResult
	string $sQuery
	\RainLoop\Model\Account $oAccount
	int $iLimit

main.default-response

params:
	string $sActionName
	array &$aResponseItem

main.default-response

params:
	string $sActionName
	array &$aResponseItem

main.default-response

params:
	string $sActionName
	array &$aResponseItem

main.default-response-data

params:
	string $sActionName
	mixed &$mResult

main.default-response-data

params:
	string $sActionName
	mixed &$mResult

main.default-response-data

params:
	string $sActionName
	mixed &$mResult

main.default-response-error-data

params:
	string $sActionName
	int &$iErrorCode
	string &$sErrorMessage

main.fabrica

params:
	string $sName
	mixed &$mResult

service.app-delay-start-begin

no params

service.app-delay-start-end

no params

JavaScript Events

mailbox

mailbox.message-list.selector.go-up

mailbox.message-list.selector.go-down

mailbox.message-view.toggle-full-screen

mailbox.inbox-unread-count

mailbox.message.show

audio

audio.start

audio.stop

audio.api.stop

Misc

idle

rl-layout

rl-view-model

event.detail = the ViewModel class