Forums / Developer / Remove e-mail sending from notification process

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 !

eZ debug

Timing: Jan 21 2025 16:08:07
Script start
Timing: Jan 21 2025 16:08:07
Module start 'content'
Timing: Jan 21 2025 16:08:07
Module end 'content'
Timing: Jan 21 2025 16:08:07
Script end

Main resources:

Total runtime0.3738 sec
Peak memory usage2,048.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0068 591.0234180.8125
Module start 'content' 0.00680.0157 771.835993.9297
Module end 'content' 0.02250.3513 865.7656522.2500
Script end 0.3737  1,388.0156 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00511.3574200.0003
Check MTime0.00150.4003200.0001
Mysql Total
Database connection0.00060.165110.0006
Mysqli_queries0.273973.27891410.0019
Looping result0.00170.46501390.0000
Template Total0.350093.610.3500
Template load0.00110.288910.0011
Template processing0.348993.337310.3489
Override
Cache load0.00060.172310.0006
Sytem overhead
Fetch class attribute can translate value0.00100.256810.0010
XML
Image XML parsing0.00030.070910.0003
General
dbfile0.03709.8881200.0018
String conversion0.00000.001430.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0002 secs