Forums / Install & configuration / Notification emails are not being sent
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
Monday 12 June 2006 1:01:25 am
How do I turn on debug output on the cronjob-scripts?
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.
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?
Monday 12 June 2006 3:49:54 am
Have you checked the log messages of the mail server?
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__5It might provide another solution. I will try this if the above does not work.
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
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