I dont think this one works when a user has subscribed to a forum?Disable email notifications for a user. This will also disable the email contact if they have it set to yes.
123456 need to edited to the users IDCode:
SET @user_id = 123456;UPDATE phpbb_user_notifications SET notify = 0 WHERE user_id = @user_id AND method = 'notification.method.email'; UPDATE phpbb_users SET user_allow_viewemail = 0 WHERE user_id = @user_id;
I ran this sql with the correct user ID but keep getting Undelivered Mail Returned to Sender notices
Statistics: Posted by Stoker 4.0 — Sat Jan 11, 2025 12:06 pm