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

XF 1.5 Server Error Log: Zend_Mail_Transport_Exception

Discussion in 'Troubleshooting and Problems' started by Drew, Jan 13, 2016.

  1. Drew

    Drew Member


    All of a sudden I am getting the odd server error logged with regards to Zend Mail.

    Emails notifications do see to work fine right now, so this is quite confusing.

    Please advise what other info you may need in order to troubleshoot, thanks!

    Error Info
    Zend_Mail_Transport_Exception: Email to ****@gmail.com failed: Unable to send mail. mail(): Bad parameters to mail() function, mail not sent. -library/Zend/Mail/Transport/Sendmail.php:137
    Generated By: Unknown Account, Friday at 12:04 PM

    Stack Trace
    #0 /home/content/33/8436533/html/library/Zend/Mail/Transport/Abstract.php(348): Zend_Mail_Transport_Sendmail->_sendMail()
    #1 /home/content/33/8436533/html/library/Zend/Mail.php(1194): Zend_Mail_Transport_Abstract->send(Object(Zend_Mail))
    #2 /home/content/33/8436533/html/library/XenForo/Model/MailQueue.php(79): Zend_Mail->send(Object(Zend_Mail_Transport_Sendmail))
    #3 /home/content/33/8436533/html/library/XenForo/Deferred/MailQueue.php(10): XenForo_Model_MailQueue->runMailQueue(7.9584550857544)
    #4 /home/content/33/8436533/html/library/XenForo/Model/Deferred.php(295): XenForo_Deferred_MailQueue->execute(Array, Array, 7.9584550857544, '')
    #5 /home/content/33/8436533/html/library/XenForo/Model/Deferred.php(429): XenForo_Model_Deferred->runDeferred(Array, 7.9584550857544, '', false)
    #6 /home/content/33/8436533/html/library/XenForo/Model/Deferred.php(374): XenForo_Model_Deferred->_runInternal(Array, NULL, '', false)
    #7 /home/content/33/8436533/html/deferred.php(23): XenForo_Model_Deferred->run(false)
    #8 {main}

    Request State
    array(3) {
    ["url"] => string(36) "http://www.****.org/deferred.php"
    ["_GET"] => array(0) {
    ["_POST"] => array(3) {
    ["_xfRequestUri"] => string(1) "/"
    ["_xfNoRedirect"] => string(1) "1"
    ["_xfResponseType"] => string(4) "json"
  2. Mike

    Mike XenForo Developer Staff Member

  3. Pavle123

    Pavle123 Active Member

    I have this exact problem, I am on SiteGround. No idea what to do, there are so many email errors in XenForo error log.
    Any ideas?
  4. Tracy Perry

    Tracy Perry Well-Known Member

    Most likely it's the MTA configuration that is buggy. Some of the comments that I found in the search for that phrase tend to deal with the sending of HTML messages.
    Also found some others that involved a trailing space in the email address.
    Another response I found said that this resolved their issue (they were on GoDaddy)
    For the php.ini reference, I think he was talking about this setting
    default_mimetype = "text/html"
    Would be interesting to see if those having issues if they change those two settings it resolves it.
  5. Anthony Parsons

    Anthony Parsons Well-Known Member

Share This Page