Changes between Version 28 and Version 29 of Plugin_Hooks
- Timestamp:
- Aug 12, 2009 7:52:13 AM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Plugin_Hooks
v28 v29 149 149 ''Return values:'' 150 150 * fetch_headers: ''String with additional headers to be fetched (separated by space)'' 151 152 153 === imap_connect === 154 155 Triggered right before connecting to the IMAP server.[[BR]] 156 Similar 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 151 166 152 167 … … 237 252 ''Return values:'' 238 253 * output: ''Altered headers array'' 254 255 256 === message_compose === 257 258 Triggered when the compose step is executed (before redirecting).[[BR]] 259 This allows a plugin to manipulate the request parameters and pre-fill the compose form. 260 Even 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' '' 239 268 240 269
