Forums / Install & configuration / Notification emails are not being sent

Notification emails are not being sent

Author Message

Benjamin Selmer

Thursday 01 June 2006 2:35:44 pm

I have installed ezp 3.7.5 and set up the cronjob. I have also successfully added subtrenotification to several users.

I have a log file for my cronjob. The following can be found i this log file:

Running cronjobs/notification.php
Starting notification event processing
Done

But none of the users recieve any emails. Have anyone had a similar problem?

Other emails, like user registration emails, are sent without any trouble. It's just the notifications that don't work.

Andrew Kelly

Friday 09 June 2006 6:16:46 am

I am having the same problems.
Subtreenotification was working brilliantly until I upgraded to 3.7.5 and then it broke.

Is there a bug report on this?

Andy

Kristof Coomans

Friday 09 June 2006 6:35:02 am

Hi guys

Do you get any messages in the debug output?

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

Benjamin Selmer

Monday 12 June 2006 1:01:25 am

How do I turn on debug output on the cronjob-scripts?

Benjamin Selmer

Monday 12 June 2006 1:31:36 am

The following is from the debug output of $php runcronjobs.php -d

Timing: ()
Script cronjobs/notification.php starting

Timing: ()
Script cronjobs/notification.php done

As you can see there is no errormessage regarding the notifications.

This is the second site I have this problem on. On the first one it was fixed by the Webdeal and eZ Publish sopport crews. This time however, I am not willing to pay for a solution.

My site is running on a standard LAMP stack with a pretty clean eZ Publish installation so notifications should work. There are lots of threads about this kind of problem on the forum but none of them have any clear answers.

Andrew Kelly

Monday 12 June 2006 2:10:10 am

This is clearly a problem that arose in the 3.6.x to 3.7.x migration, and resides in the eZ core files. I understand the need to get production boxes healthy, but why pay eZ support when eZ created the problem?

Andy

Kristof Coomans

Monday 12 June 2006 3:49:54 am

Have you checked the log messages of the mail server?

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

Benjamin Selmer

Monday 12 June 2006 4:42:32 am

Morten at Webdeal AS (certified eZ Publish hosting partner) told me that the notification emails have such long headers that the following setting in the postfix config needs to be increased:

in main.cf:
line_length_limit = 2048

I will try this later and report here whether it works or not.

I also found this this http://ez.no/community/forum/setup_design/e_mail_notification_are_not_sent/re_e_mail_notification_are_not_sent__5
It might provide another solution. I will try this if the above does not work.

Andrew Kelly

Tuesday 13 June 2006 4:25:53 am

I don't understand why the postfix change would have anything to do with it. My postfix was delivering like a champ until the upgrade from 3.6 to 3.7

Andy

Benjamin Selmer

Friday 22 September 2006 1:24:08 am

I still have this problem. Upgraded to 3.7.9 but that did not help.

Claudia Kosny

Friday 22 September 2006 1:47:02 am

Hi Benjamin

I would try to trace back the problem starting with the file kernel\classes\notification\ezmailnotificationtransport.php to see whether EZ tries to send notification emails at all. There is a function send where I would redirect the mail to a file to see what is actually sent (if anything at all).

If no emails are created at all, check the file kernel\classes\notification\handler\ezsubtree\ezsubtreehandler.php. It is a bit harder there to see what is happening but a few wellplaced debugging messages should bring you further.

if you find anything interesting please post again, sooner or later we will hopefully find out what is going wrong.

Good luck with debugging...

Claudia

eZ debug

Timing: Jan 30 2025 19:36:45
Script start
Timing: Jan 30 2025 19:36:45
Module start 'content'
Timing: Jan 30 2025 19:36:45
Module end 'content'
Timing: Jan 30 2025 19:36:45
Script end

Main resources:

Total runtime0.2152 sec
Peak memory usage8,192.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0073 588.0703370.2813
Module start 'content' 0.00730.0123 958.35161,013.7031
Module end 'content' 0.01960.1956 1,972.05473,901.9922
Script end 0.2152  5,874.0469 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00452.0928200.0002
Check MTime0.00140.6307200.0001
Mysql Total
Database connection0.00060.256010.0006
Mysqli_queries0.121456.42441410.0009
Looping result0.00140.65691390.0000
Template Total0.195290.710.1952
Template load0.00070.323310.0007
Template processing0.194590.355910.1945
Override
Cache load0.00050.222610.0005
Sytem overhead
Fetch class attribute can translate value0.00170.806110.0017
XML
Image XML parsing0.00030.158510.0003
General
dbfile0.00602.7898200.0003
String conversion0.00000.002830.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.0001 secs