1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.1 Members not getting email notices from watched threads

Discussion in 'Troubleshooting and Problems' started by Rudy, Dec 10, 2012.

  1. Rudy

    Rudy Well-Known Member

    I had a small number of complaints about users not receiving email notices of watched threads. While looking through the server error logs, I'm now finding mail transport errors that point to this problem:

    Code:
    Zend_Mail_Transport_Exception: Unable to send mail. mail() [<a href='function.mail'>function.mail</a>]: Bad parameters to mail() function, mail not sent. - library/Zend/Mail/Transport/Sendmail.php:137
    Generated By: LordThanos1969, Today at 7:59 PM
    Stack Trace
    #0 /usr/www/users/shtv/xfmain/library/Zend/Mail/Transport/Abstract.php(348): Zend_Mail_Transport_Sendmail->_sendMail()
    #1 /usr/www/users/shtv/xfmain/library/Zend/Mail.php(1194): Zend_Mail_Transport_Abstract->send(Object(Zend_Mail))
    #2 /usr/www/users/shtv/xfmain/library/XenForo/Mail.php(177): Zend_Mail->send()
    #3 /usr/www/users/shtv/xfmain/library/XenForo/Mail.php(152): XenForo_Mail->sendMail(Object(Zend_Mail))
    #4 /usr/www/users/shtv/xfmain/library/XenForo/Mail.php(204): XenForo_Mail->send('Takicat@msn.com', 'TakiJones', Array, '', '', '')
    #5 /usr/www/users/shtv/xfmain/library/XenForo/Model/ThreadWatch.php(234): XenForo_Mail->queue('Takicat@msn.com', 'TakiJones')
    #6 /usr/www/users/shtv/xfmain/library/XenForo/DataWriter/DiscussionMessage/Post.php(108): XenForo_Model_ThreadWatch->sendNotificationToWatchUsersOnReply(Array, NULL, Array)
    #7 /usr/www/users/shtv/xfmain/library/XenForo/DataWriter.php(1399): XenForo_DataWriter_DiscussionMessage_Post->_postSaveAfterTransaction()
    #8 /usr/www/users/shtv/xfmain/library/XenForo/ControllerPublic/Thread.php(504): XenForo_DataWriter->save()
    #9 /usr/www/users/shtv/xfmain/library/XenForo/FrontController.php(310): XenForo_ControllerPublic_Thread->actionAddReply()
    #10 /usr/www/users/shtv/xfmain/library/XenForo/FrontController.php(132): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
    #11 /usr/www/users/shtv/xfmain/index.php(13): XenForo_FrontController->run()
    #12 {main}
    Code:
    Error Info
    Zend_Mail_Transport_Exception: Unable to send mail. mail() [<a href='function.mail'>function.mail</a>]: Bad parameters to mail() function, mail not sent. - library/Zend/Mail/Transport/Sendmail.php:137
    Generated By: apple-richard, Today at 9:08 PM
    Stack Trace
    #0 /usr/www/users/shtv/xfmain/library/Zend/Mail/Transport/Abstract.php(348): Zend_Mail_Transport_Sendmail->_sendMail()
    #1 /usr/www/users/shtv/xfmain/library/Zend/Mail.php(1194): Zend_Mail_Transport_Abstract->send(Object(Zend_Mail))
    #2 /usr/www/users/shtv/xfmain/library/XenForo/Mail.php(177): Zend_Mail->send()
    #3 /usr/www/users/shtv/xfmain/library/XenForo/Mail.php(152): XenForo_Mail->sendMail(Object(Zend_Mail))
    #4 /usr/www/users/shtv/xfmain/library/XenForo/Mail.php(204): XenForo_Mail->send('ptortoise@comca...', 'bumbletort', Array, '', '', '')
    #5 /usr/www/users/shtv/xfmain/library/XenForo/Model/ThreadWatch.php(234): XenForo_Mail->queue('ptortoise@comca...', 'bumbletort')
    #6 /usr/www/users/shtv/xfmain/library/XenForo/DataWriter/DiscussionMessage/Post.php(108): XenForo_Model_ThreadWatch->sendNotificationToWatchUsersOnReply(Array, NULL, Array)
    #7 /usr/www/users/shtv/xfmain/library/XenForo/DataWriter.php(1399): XenForo_DataWriter_DiscussionMessage_Post->_postSaveAfterTransaction()
    #8 /usr/www/users/shtv/xfmain/library/XenForo/ControllerPublic/Thread.php(504): XenForo_DataWriter->save()
    #9 /usr/www/users/shtv/xfmain/library/XenForo/FrontController.php(310): XenForo_ControllerPublic_Thread->actionAddReply()
    #10 /usr/www/users/shtv/xfmain/library/XenForo/FrontController.php(132): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
    #11 /usr/www/users/shtv/xfmain/index.php(13): XenForo_FrontController->run()
    #12 {main}
    
    Code:
    Error Info
    Zend_Mail_Transport_Exception: Unable to send mail. mail() [<a href='function.mail'>function.mail</a>]: Bad parameters to mail() function, mail not sent. - library/Zend/Mail/Transport/Sendmail.php:137
    Generated By: Bill, Yesterday at 5:12 PM
    Stack Trace
    #0 /usr/www/users/shtv/xfmain/library/Zend/Mail/Transport/Abstract.php(348): Zend_Mail_Transport_Sendmail->_sendMail()
    #1 /usr/www/users/shtv/xfmain/library/Zend/Mail.php(1194): Zend_Mail_Transport_Abstract->send(Object(Zend_Mail))
    #2 /usr/www/users/shtv/xfmain/library/XenForo/Mail.php(177): Zend_Mail->send()
    #3 /usr/www/users/shtv/xfmain/library/XenForo/Mail.php(152): XenForo_Mail->sendMail(Object(Zend_Mail))
    #4 /usr/www/users/shtv/xfmain/library/XenForo/Mail.php(204): XenForo_Mail->send('Roland.Stauber@...', 'rjstauber', Array, '', '', '')
    #5 /usr/www/users/shtv/xfmain/library/XenForo/Model/ThreadWatch.php(234): XenForo_Mail->queue('Roland.Stauber@...', 'rjstauber')
    #6 /usr/www/users/shtv/xfmain/library/XenForo/DataWriter/DiscussionMessage/Post.php(108): XenForo_Model_ThreadWatch->sendNotificationToWatchUsersOnReply(Array, NULL, Array)
    #7 /usr/www/users/shtv/xfmain/library/XenForo/DataWriter.php(1399): XenForo_DataWriter_DiscussionMessage_Post->_postSaveAfterTransaction()
    #8 /usr/www/users/shtv/xfmain/library/XenForo/ControllerPublic/Thread.php(504): XenForo_DataWriter->save()
    #9 /usr/www/users/shtv/xfmain/library/XenForo/FrontController.php(310): XenForo_ControllerPublic_Thread->actionAddReply()
    #10 /usr/www/users/shtv/xfmain/library/XenForo/FrontController.php(132): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
    #11 /usr/www/users/shtv/xfmain/index.php(13): XenForo_FrontController->run()
    #12 {main}
    
    Any ideas?

    (I removed the "request state" for privacy reasons, but can send it to XF staff if they need it for troubleshooting.)
     
  2. Digital Doctor

    Digital Doctor Well-Known Member

    You hit your limit on emails you are allowed to send ?
     
    Jake Bunce likes this.
  3. Digital Doctor

    Digital Doctor Well-Known Member

  4. Rudy

    Rudy Well-Known Member

    No, we have a dedicated server, and have no limit.

    And...friends don't let friends use GoDaddy. :D
     
    Digital Doctor likes this.
  5. Rudy

    Rudy Well-Known Member

    Should add this. A user is getting emails for threads he starts, but for other watched threads, he is not getting notices.

     
  6. Digital Doctor

    Digital Doctor Well-Known Member

    http://xenforo.com/community/search...mail+Bad+parameters+to+mail()+function&o=date

    Jake suggested this
     
    Jake Bunce likes this.
  7. Rudy

    Rudy Well-Known Member

    I'd read through that--nothing applies from what I can tell. We're English only. But even if someone inputs an extended character, it should not make the email system bomb out. I'd file that under a bug report.
     
  8. Digital Doctor

    Digital Doctor Well-Known Member

    Jake Bunce likes this.
  9. Digital Doctor

    Digital Doctor Well-Known Member

    Alot of people don't know if you don't check a thread after one alert .... you stop getting alerts.
    To restart getting the alerts ... they have to revisit the thread.
    ie. go to all the threads here ...
    http://xenforo.com/community/watched/threads
     
    Jake Bunce likes this.
  10. Rudy

    Rudy Well-Known Member

    Not just forums either--it seems to be Zend-specific, as I've seen a couple of CMS systems listed in the Google search I did.

    A little regex would filter out characters, but...where to put it? And we don't even know if that's the problem.

    Pretty sad that a minor input like that would make it fail. I've written a lot of backends in my day for sites, and have had to make them as "user-proof" as possible.
     
  11. Rudy

    Rudy Well-Known Member

    That's a possibility as well. I still remember that from vB--I think it worked similarly. You'd only get the one alert to prompt you back to the thread, but once you did, you'd get another alert the next time someone replied. We had the forum on vB 3.7 previously, so they should be used to the same behavior in XF as well.
     

Share This Page