Notification Of Comment Received

This is the right place to report general bugs, make suggestions or ask for help.
WineMan
Posts: 51
Joined: Tue Sep 01, 2020 5:03 pm

Notification Of Comment Received

Post by WineMan » Tue Sep 01, 2020 5:09 pm

I recently installed the flatpress blog application and really like everything about it. I have come across a problem however in that notifications of comments made are not delivered. In testing, I found that if I use the contact form, the message is delivered (unless it is going to a yahoo email address), but no notification is sent when a comment is made.

Where would I check to see where the problem might be. Thanks in advance.

User avatar
Arvid
FlatPress Coder
Posts: 357
Joined: Sat Jan 26, 2019 7:40 pm
Contact:

Re: Notification Of Comment Received

Post by Arvid » Sun Oct 04, 2020 10:55 am

Hi, thanks a lot :)

Just to be sure: You have enabled the option "Enable email notification for comments" in Admin Area -> Options -> General settings?

All the best,
Arvid

WineMan
Posts: 51
Joined: Tue Sep 01, 2020 5:03 pm

Re: Notification Of Comment Received

Post by WineMan » Sun May 15, 2022 9:00 pm

I am having the same problem and yes...I have enabled the option "Enable email notification for comments" in Admin Area -> Options -> General settings?

Any idea what the problem is? I am assuming the notification is being sent to the admin only? If so, the admin does not have a yahoo.com email address.

bttr
Posts: 41
Joined: Tue Mar 22, 2022 9:20 pm
Location: Berlin, Germany
Contact:

Re: Notification Of Comment Received

Post by bttr » Tue May 17, 2022 7:11 pm

There's probably some kind of spam protection in action. You should check your junk folder, anti-spam settings and/or filters, ...
Can any other PHP script successfully sent mails via this web server?

Example:

Code: Select all

<?php
$to = 'your FP admin mail address';
$subject = 'Test';
$message = 'Lorem ipsum dolor sit amet, consetetur sadipscing elitr.';
$headers = 'From: your FP admin mail address';
@mail($to, $subject, $message, $headers)
?>

WineMan
Posts: 51
Joined: Tue Sep 01, 2020 5:03 pm

Re: Notification Of Comment Received

Post by WineMan » Tue May 17, 2022 8:13 pm

I checked the spam folder and yes, emails can be sent from this web server. The contact form, as an example works just fine.

bttr
Posts: 41
Joined: Tue Mar 22, 2022 9:20 pm
Location: Berlin, Germany
Contact:

Re: Notification Of Comment Received

Post by bttr » Tue May 17, 2022 8:41 pm

WineMan wrote: โ†‘Tue May 17, 2022 8:13 pm I checked the spam folder and yes, emails can be sent from this web server. The contact form, as an example works just fine.
Then I have no idea, sorry. Comment notification worked for me out of the box.

bttr
Posts: 41
Joined: Tue Mar 22, 2022 9:20 pm
Location: Berlin, Germany
Contact:

Re: Notification Of Comment Received

Post by bttr » Wed May 18, 2022 8:10 pm

Did you also check Administration area -> Entries -> Comment Center -> Configure the plugin -> [X] Notify comments via email?

WineMan
Posts: 51
Joined: Tue Sep 01, 2020 5:03 pm

Re: Notification Of Comment Received

Post by WineMan » Wed May 18, 2022 9:25 pm

Yes, I did.

WineMan
Posts: 51
Joined: Tue Sep 01, 2020 5:03 pm

Re: Notification Of Comment Received

Post by WineMan » Tue May 24, 2022 5:01 pm

I am still having problem receiving notification of a comment being posted. What code is used to generate the notification...perhaps I can figure out where the problem lies. Thanks in advance.

User avatar
Arvid
FlatPress Coder
Posts: 357
Joined: Sat Jan 26, 2019 7:40 pm
Contact:

Re: Notification Of Comment Received

Post by Arvid » Tue Jun 14, 2022 5:55 pm

Hi,

check out utils_mail() in core.utils.php - it utilzes the standard PHP mail() function.
Let us know about any findings!

All the best,
Arvid

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests