Page 2 of 2

Re: Notification Of Comment Received

Posted: Tue Jun 28, 2022 1:40 am
by WineMan
Still not being notified of posted comments. At this point, I don't know where else to look. If anyone else has any ideas, please let me know.

Re: Notification Of Comment Received

Posted: Sat Jul 09, 2022 12:27 pm
by Arvid
Still no idea what exactly could cause that problem.

Does anyone else experience problems with getting mails on new comments?

Re: Notification Of Comment Received

Posted: Sat Sep 10, 2022 5:59 pm
by fraenkiman
Hello, everyone,

I suspect this is not a problem with FlatPress.

Without knowing the configuration, I'm assuming that the mail server on the host is either unconfigured or misconfigured.

As a temporary solution, you could adapt the comments.php file from line 225 as follows:

Code: Select all

				// @utils_mail($from_mail, "New comment on {$fp_config['general']['title']}", $mail);
				
				$email_to = "mail@yahoo.ltd";
				$email_subject = "New Comment";
				$email_message = "$mail";
				@mail($email_to, $email_subject, $email_message);
			}
Where mail@yahoo.ltd is to be replaced with the real recipient address. This isn't a clean solution, but it works ;)

Best Regards
Frank

Re: Notification Of Comment Received

Posted: Sat Sep 10, 2022 8:14 pm
by WineMan
Thank you fraenkiman for your help in getting this to work for me. It provides exactly what I was looking for since the original code was not notifying me of any comment notification.

Re: Notification Of Comment Received

Posted: Sun Oct 02, 2022 11:31 am
by Arvid
Glad it works now - thx Frank :)