The hook would be hook_nodeapi, and you'd want to focus in on either the submit or the insert $op. But there is probably already something out there. Have you looked at the notify module? (<a href="http://drupal.org/project/notify">
http://drupal.org/project/notify</a>)<br><br>William<br><br><div><span class="gmail_quote">On 8/26/07, <b class="gmail_sendername">Fred Jones</b> <<a href="mailto:fredthejonester@gmail.com">fredthejonester@gmail.com</a>
> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">For 5.2, is there a way to notify the admins of any new content? My<br>'Business Listings' site allows users to create accounts and then create
<br>a listing, which will be unpublished until the admins review it. I found<br>this:<br><br><a href="http://drupal.org/project/user_register_notify">http://drupal.org/project/user_register_notify</a><br><br>which notifies on creation of user account.
<br><br>Is there such a module which notifies on new content creation?<br><br>Seems trivial to write anyhow, if I knew the correct hook. :)<br><br>Thanks.<br>--<br>[ Drupal support list | <a href="http://lists.drupal.org/">
http://lists.drupal.org/</a> ]<br></blockquote></div><br>