Notification Of Comment Received
Re: Notification Of Comment Received
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
Still no idea what exactly could cause that problem.
Does anyone else experience problems with getting mails on new comments?
Does anyone else experience problems with getting mails on new comments?
- fraenkiman
- Posts: 221
- Joined: Thu Feb 03, 2022 7:25 pm
- Location: Berlin, Germany
- Contact:
Re: Notification Of Comment Received
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:
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
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);
}
Best Regards
Frank
You are strong in PHP and Java Script? Then help us to improve FlatPress.
Looking for ideas, templates, examples and answers to frequently asked questions?
You'll find it here.
My FlatPress-Blog: https://frank-web.dedyn.io
Looking for ideas, templates, examples and answers to frequently asked questions?
You'll find it here.
My FlatPress-Blog: https://frank-web.dedyn.io
Re: Notification Of Comment Received
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
Glad it works now - thx Frank
Who is online
Users browsing this forum: No registered users and 71 guests