Changes between Version 28 and Version 29 of Plugin_Hooks


Ignore:
Timestamp:
Aug 12, 2009 7:52:13 AM (4 years ago)
Author:
thomasb
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Plugin_Hooks

    v28 v29  
    149149''Return values:'' 
    150150  * fetch_headers: ''String with additional headers to be fetched (separated by space)'' 
     151 
     152 
     153=== imap_connect === 
     154 
     155Triggered right before connecting to the IMAP server.[[BR]] 
     156Similar to the ''authenticate'' hook but triggered in every step not just on login. 
     157 
     158''Arguments:'' 
     159  * host 
     160  * user 
     161 
     162''Return values:'' 
     163  * host 
     164  * user 
     165  * pass 
    151166 
    152167 
     
    237252''Return values:'' 
    238253  * output: ''Altered headers array'' 
     254 
     255 
     256=== message_compose === 
     257 
     258Triggered when the compose step is executed (before redirecting).[[BR]] 
     259This allows a plugin to manipulate the request parameters and pre-fill the compose form. 
     260Even attachments can be appended to the message using this hook. 
     261 
     262''Arguments:'' 
     263  * param: ''Array with request paremeters'' 
     264 
     265''Return values:'' 
     266  * param: ''Compose parameters like 'to', 'subject', 'body' '' 
     267  * attachments: ''Array of attachments to be added. An entry (array) should contain the fields 'path', 'name' and 'mimetype' '' 
    239268 
    240269