Open phildtmm opened 4 years ago
I did try running the URL as above and did receive an email with the events for today (June 1).
If you receive message when go to url then module works well. You need check cron task which will run this url. Try run wget command in cli - maybe you see any errors.
@phildtmm any updates?
I can only guess, but i the problem can be in the Reply-To header, which uses default "noreply@localhost", which lacks real domain on the right side of the address, and it can be restricted in some email servers (e.g. my MX server validates all mail's email addresses and rejects broken, including Reply-To header).
My suggestion is to not use the Reply-To header at all, and use webtrees's default sender in the From header only (as it does already), or modify default NoReplyUser address, to use domain from the default address.
I am having a problem similiar to Joppla and have tried the suggestions in his email string.
I'm trying to get the notifications working but seem to have missed something. (I am in transition from MyHeritage and have several folks who are now receiving the daily notifications there.)
I have installed the "notifications" module and added the entry to crontab - "0 9 * wget -O - -q " mywebsite.duckdns.org/webtrees/index.php...key=lz5bat6RW1MXLCFQ "".
Since I am running Fedora with SELinux also checked on the type for the crontab file and per documentation it appears to have the necessary assignments - "-rwsr-xr-x. 1 root root system_u:object_r:crontab_exec_t:s0 78136 Mar 18 2019 crontab".
There was a string that indicated there would only be notifications is there were events for that day - I have checked to ensure that is the case but no notification was received. To expand on that, if I do not login, there are no events on the main page but once I login, I do see events for that day. From what I understand from the documentation for this module, it should be sending the notifications of the day that I see when I am logged in.
I did try running the URL as above and did receive an email with the events for today (June 1). Since Joppla's message indicated that he needed to allow access I checked my .htaccess files and there is no restriction's on IPs there. Also checked the Directory section in the httpd.conf file and it has access for all ("require all allow").
Is there anything else I should be checking?
P.S. - I am running webtrees 2.0.4