Search code examples
symfony1doctrinesymfony-1.4doctrine-1.2doctrine-query

Emailng-list based on query beeing updated automaticcaly from that query


i have emailing-list(based on some params) being automatically updated from an existing query. I explain : I have an emailing list (containing only email addresses) called "new users list" that will automaticcaly be updated whenever there are new users. I assume this is going to be done by a query stocked somewhere!

Any ideas?


Solution

  • Add a postInsert() listener in your User model to automatically insert the new user's email to the email addresses whenever a new user is added.