Forums / Setup & design / Emails notification/workflow

Emails notification/workflow

Author Message

Arran Price

Tuesday 30 September 2008 5:49:04 pm

Hi,
Im using ezpublish 4.0.0 and my site is complete bar one issue - and I would like some help in figuring out what I should be doing in the way of troubleshooting.

My users dont get email notifications either by "my item notifications" under notification settings or when they are part of a workflow and need to approve something (they have the collaboration notification checkbox for approval checked).
The workflow and publishing otherwise works as expected (can appove/deny the items etc).

I can email from the commandline of the system using mailx.
running runcronjobs.php by hand I get the following output:

/usr/local/php5/bin/php runcronjobs.php frequent -d
Running cronjob part 'frequent'
Running cronjobs/notification.php
Starting notification event processing
Done

Running cronjobs/workflow.php
Checking for workflow processes
Status list
Workflow event deferred to cron job(4): 1

0 out of 1 processes was finished

Im not sure where I should be expecting an attempt of an email to be sent (Im assuming runcronjobs.php as above) - and what I should see in the way of logging or error/success messages.

Any help greatly appreciated.

Ivo Lukac

Wednesday 01 October 2008 1:46:30 am

Hello Arran

Sending mail depends on MailSettings section in settings/override/site.ini.append.php . You should first check how is this configured.

http://www.linkedin.com/in/ivolukac
http://www.netgen.hr/eng/blog
http://twitter.com/ilukac

Yannick Komotir

Thursday 02 October 2008 1:57:25 am

be sure that you server can sending mail, are you an activate protocol in your server that can send mail ?

<|- Software Engineer @ eZ Publish developpers -|>
@ http://twitter.com/yannixk

Arran Price

Thursday 02 October 2008 1:25:26 pm

just confirming that it was indeed settings/override/site.ini.append.php

thanks very much for your help :-)

eZ debug

Timing: Jan 18 2025 11:20:24
Script start
Timing: Jan 18 2025 11:20:24
Module start 'content'
Timing: Jan 18 2025 11:20:25
Module end 'content'
Timing: Jan 18 2025 11:20:25
Script end

Main resources:

Total runtime0.6259 sec
Peak memory usage4,096.0000 KB
Database Queries63

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0056 587.7109180.8359
Module start 'content' 0.00560.6152 768.5469598.6094
Module end 'content' 0.62070.0051 1,367.156346.1094
Script end 0.6258  1,413.2656 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00300.4847140.0002
Check MTime0.00120.1956140.0001
Mysql Total
Database connection0.00080.121410.0008
Mysqli_queries0.576192.0417630.0091
Looping result0.00080.1210610.0000
Template Total0.589994.220.2949
Template load0.00220.354320.0011
Template processing0.587793.893420.2938
Template load and register function0.00020.031710.0002
states
state_id_array0.00080.124910.0008
state_identifier_array0.00140.231020.0007
Override
Cache load0.00190.2990310.0001
Sytem overhead
Fetch class attribute can translate value0.00070.117630.0002
Fetch class attribute name0.00140.220160.0002
XML
Image XML parsing0.00120.190630.0004
class_abstraction
Instantiating content class attribute0.00000.001760.0000
General
dbfile0.00190.3035250.0001
String conversion0.00000.000630.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
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
8content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 21
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs