Forums / Developer / Remove e-mail sending from notification process
David Zaoui
Tuesday 03 July 2007 6:24:45 am
Hi,
I am working with the notification system and everything is working fine. The only thing is that i don't want users to receive an e-mail when a new content is published/modified ( they check new content via a custom interface directly on my website.)So the only thing last i have to do is to prevent eZ publish to send these notification e-mails.
Do you know how to do to remove this ?
Thanks
Marco Zinn
Tuesday 03 July 2007 9:22:27 am
erm. You want to use the notification system, but you do NOT want to send emails? What else do you want to use it for? Just for Collaboration emails or what?
Anyway... The Notification System makes use of "Event Handlers". Have a look at notification.ini (or some override) and look for those.I think, disable ezgeneraldigesthandler and ezsubtreehandler should disable sending emails based on new content.
Marco http://www.hyperroad-design.com
Thursday 05 July 2007 2:57:36 am
Hi Marco,
I use the notification system to allow users to subscribe to some folders.Then, they can check on a specific page which subscribed content has been added recently. So everything takes place inside the website, and not by sending e-mail. I know it's a bit weird because users have to check themselves new content.But it's what i have to do :-) So we can say that i'm using this system more for the "subscribing" part than for the "notification" part. Thank you for your advices, i will try it !