Sending email after collaboration approve of new user

Author Message

Jean-Luc Nguyen

Wednesday 27 May 2009 5:17:16 am

Hello,

I would like to send an email to the user after the administrator approve / reject his new account creation on collaboration module.

- Create new trigger (send email workflow after collaboration approve / reject) : we cannot create new triggers without modifying the kernel.
- After approve / reject, the new user object is waiting for the cronjob to be published, but it is still on the kernel side..

Any ideas?

Thanks a lot!

http://www.acidre.com

Luis Micunco

Wednesday 05 August 2009 3:36:57 am

Is there a kind of "state" for objects that indicates it has been approved or rejected?

If so, a cronjob could be run as last for "frequent" group:

php runcronjobs.php frequent

This cronjob would look for "approved/rejected" objects and email the object creator/owner about object "state". Finally modify object "state" to do this only once per object.

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.