Remove e-mail sending from notification process

Author Message

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

Hi,

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

David Zaoui

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 !

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

eZ debug

Timing: Jan 18 2025 18:15:29
Script start
Timing: Jan 18 2025 18:15:29
Module start 'layout'
Timing: Jan 18 2025 18:15:29
Module start 'content'
Timing: Jan 18 2025 18:15:30
Module end 'content'
Timing: Jan 18 2025 18:15:30
Script end

Main resources:

Total runtime1.5088 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0061 589.1641152.6406
Module start 'layout' 0.00610.0023 741.804739.4766
Module start 'content' 0.00841.4988 781.2813534.3672
Module end 'content' 1.50720.0015 1,315.648412.1250
Script end 1.5088  1,327.7734 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.2122160.0002
Check MTime0.00140.0909160.0001
Mysql Total
Database connection0.00100.064510.0010
Mysqli_queries1.463597.0004570.0257
Looping result0.00050.0314550.0000
Template Total1.475597.820.7377
Template load0.00210.137420.0010
Template processing1.473497.652620.7367
Template load and register function0.00020.015410.0002
states
state_id_array0.00360.240310.0036
state_identifier_array0.00170.112020.0008
Override
Cache load0.00170.1113210.0001
Sytem overhead
Fetch class attribute can translate value0.00040.028720.0002
Fetch class attribute name0.00100.065240.0002
XML
Image XML parsing0.00070.049520.0004
class_abstraction
Instantiating content class attribute0.00000.000740.0000
General
dbfile0.00090.0600160.0001
String conversion0.00000.000540.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
6content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 15
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs