[dev] [PATCH] First login hook

Etienne Goyer etienne.goyer at linuxquebec.com
Thu May 6 13:22:49 PDT 2004


Hi,

To follow-up on the discussion from this morning about having an 
"instruction" first login maintenance task, I implemented a 
_horde_hook_firstlogin instead.  Example use for this hook :

- Display a first time greeting message via the Notification class
- Send a greeting email
- Create approriate IMAP folders, especially the sent-mail since it is 
not created automatically by IMP on first use
- Log it, so you know who have used the webmail at least once

... etc, etc.  All this could be done with a first login maintenance 
task, but I think it is simpler to write/configure a hook than to write 
a full-blown maintenance task and is still worthwhile for site that do 
not have maintenance enabled.

Comments ?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url : http://lists.horde.org/archives/dev/attachments/20040506/aa8da3fc/signature.bin


More information about the dev mailing list