WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] I'm only notified when I post a comment (not anyone else) (9 posts)

  1. brittanie
    Member
    Posted 8 years ago #

    I have noticed I'ce received a few comments that were not e-mailed to me. However, when I post a "test" comment, it is immediately e-mailed to me. Shortly after this test, I received another comment that was not e-mailed to me. I don't get it. So I just logged out and posted a test comment under my other e-mail address and that was not sent to me.

    Any ideas? I'm running 1.5.2 and am using the relaxation theme. I made a few mods to my template but I replaced it with the default template before sending the test comments.

  2. katie1
    Member
    Posted 8 years ago #

    Have you checked the Options/Discussions:

    check box: email me whenever...
    1) anyone posts a comment
    2)a comment is held for moderation

    in your admin dashboard?

  3. brittanie
    Member
    Posted 8 years ago #

    Of course, and my admin (aka me, the only author) has an e-mail assigned to it. As I said, email notification is working, but only when I MYSELF post a comment, not when anyone else does.

  4. katie1
    Member
    Posted 8 years ago #

    excuse me for offering some help.
    I won't do it again.

  5. brittanie
    Member
    Posted 8 years ago #

    That wasn't meant to be snarky. I just wanted to make it clear that I have searched the forums and tried to fix this on my own before posting the question.

  6. MichaelH
    Member
    Posted 8 years ago #

    Don't know if this answers the question, but the author of the original post receives the email about comments.

    See:

    Admin panel Options, Discussion

  7. brittanie
    Member
    Posted 8 years ago #

    Wow, Michael, you just swept the forum with answers, huh!

    Anyway, that's how I understood it as well. But, there is only one author on my site, me, and I am also the admin.

    After posting this question I noticed a new subdirectory on my server called TMP, which contained a file called mailError.log. The text of the file says this:

    "2005 Oct 01 04:27:39 Result: 9
    2005 Oct 01 04:27:39 From address not in member domain. Message not sent."

    Because I am getting virtually instant notification of my own comments when I am signed in as the admin, I do not think this is a WP-side issue (since it seems WP is not having trouble talking to my web server). I have e-mailed my host but have not received a response yet. Any ideas what this error message means?

  8. MichaelH
    Member
    Posted 8 years ago #

    Can't help there but search google for mailError.log; lots of interesting stuff.

  9. brittanie
    Member
    Posted 8 years ago #

    Okay, Michael, I tok you suggestion and Googled the above. The very first result was in regards to my host, Yahoo Small Business.

    According to Yahoo's help page:

    "When you send email with a Perl or PHP script, you will need to make sure that the "From:" address in your email header is set to an address within your domain name. If the address is set to an external email address, then you will see an error in your /tmp/mailError.log file. For example:

    2003 Jun 18 21:18:15 Result: 9
    2003 Jun 18 21:18:15 From address not in member domain. Message not sent.

    With the Perl/PHP mail feature, you will be limited to 250 emails per day. This means that once you have reached this limit, the email generated by your scripts will not be sent until this limit has been reset.

    Please note that these emails will not be held for delivery, so you may later need to regenerate the emails if your script has reached the 250/day email limit."

    I have followed Yahoo's instructions for "automatically" setting the "From" in my mail script, (filling out a form on my server) but that hasn't worked. I have also found some threads in this forum that reference the same error, but in regards to posting via e-mail, which would equal sending email via PHP, not receiveing it.

    When I'm logged in and post a comment, the notification shows it as having come from my e-mail address, not from WordPress or whatever. I'm assuming the same thing happens when other user post comments, since I have "Comment author must fill out name and e-mail" selected in Discussion Options.

    This would mean that the "From" field in any comment notification would always be from an e-mail address that is NOT on my domain, unless I am posting a comment as administrator (which explains why I'm only getting notified for my own comments). If I turn off that option and post a "test" comment as an anonymous user, it is e-mailed to me immediately.

    In the threads regarding posting via email, some people have found that their scripts allow you to specify either the TO or FROM field, but according to Yahoo you must specify the FROM field. Changing this Yahoo's way didn't work, so now I'm wondering if I can change it manually in one of the WP files. But I'm not sure which file in 1.5.2 contains this function. I've found this info for 1.5 and 1.5.1, but when I check those files on my latest install, I don't find the same code the previous threads reference.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.