Simple Machines Community Forum

SMF Support => SMF 2.1.x Support => Topic started by: tkaiser_ikoffice on April 24, 2024, 08:27:46 AM

Title: No alerts and email notifications
Post by: tkaiser_ikoffice on April 24, 2024, 08:27:46 AM
Hi there,

i'm running a SMF 2.14 on a debian 11 server with php 8.2. I've configured exim and the sendmail function so that php can send emails. The testmail via smf is recieved correctly.
I've checked the database "smf_user_alerts_prefs" has all the flags set for my test users, but the "smf_user_alerts" table is empty. I also tested it manually (i created answers and new topics, so that users normally would get alerts and notifications).

I'm a developer myself with some php experience and i have read some of the older topics adressing this issue. None of them had a solution, it just seems that your mailing system is broken.

Is there a common fix?

Thanks in advance  :)
Title: Re: No alerts and email notifications
Post by: Kindred on April 24, 2024, 08:43:59 AM
Alerts are not normally emails in 2.1.x....
Title: Re: No alerts and email notifications
Post by: tkaiser_ikoffice on April 24, 2024, 10:16:31 AM
Let's focus on the email notifications first.
Do you have a recommendation what i can do here?
Title: Re: No alerts and email notifications
Post by: shawnb61 on April 24, 2024, 10:35:59 AM
Any errors in the smf error log?
The apache error log?

Have the users opted in to receiving emails?   (The very first box on the notifications form?)

Have the users subscribed to receive emails for any topics or boards? 
Title: Re: No alerts and email notifications
Post by: Kindred on April 24, 2024, 12:31:05 PM
Also, Have you correctly configured your server with DMARC and other DNS settings?
Title: Re: No alerts and email notifications
Post by: tkaiser_ikoffice on May 21, 2024, 10:17:22 AM
Every other mail system works correrctly. Test mail was send successfully.
User have also set up the permissions. (In profile and also in the thread dropdown)
Nothing was logged and nothing was send.
Title: Re: No alerts and email notifications
Post by: shawnb61 on May 21, 2024, 12:21:34 PM
Quote from: shawnb61 on April 24, 2024, 10:35:59 AMAny errors in the smf error log?
The apache error log?

Have the users opted in to receiving emails?  (The very first box on the notifications form?)

email_opt_in.png