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

XF 1.1 E-mails are not sent

Discussion in 'Troubleshooting and Problems' started by shock, Oct 11, 2011.

  1. shock

    shock Member

    Yesterday i opened my forum, and people complained that they dont get mails.
    not email notifications and not email authentications from the registration.

    i get the next error when im using my Gmail:
    Code:
    Error Info
    Zend_Mail_Transport_Exception: Unable to send mail. - library/Zend/Mail/Transport/Sendmail.php:137
    Generated By: shock, לפני 5 דקות
    Stack Trace
    
    #0 /mounted-storage/home145/sub029/sc78959-IZDB/wopsh.co.il/library/Zend/Mail/Transport/Abstract.php(348): Zend_Mail_Transport_Sendmail->_sendMail()
    #1 /mounted-storage/home145/sub029/sc78959-IZDB/wopsh.co.il/library/Zend/Mail.php(1194): Zend_Mail_Transport_Abstract->send(Object(Zend_Mail))
    #2 /mounted-storage/home145/sub029/sc78959-IZDB/wopsh.co.il/library/XenForo/Mail.php(170): Zend_Mail->send()
    #3 /mounted-storage/home145/sub029/sc78959-IZDB/wopsh.co.il/library/XenForo/Mail.php(145): XenForo_Mail->sendMail(Object(Zend_Mail))
    #4 /mounted-storage/home145/sub029/sc78959-IZDB/wopsh.co.il/library/XenForo/ControllerPublic/Misc.php(195): XenForo_Mail->send('samu.elgozi@gma...', '', Array, 'samu.elgozi@gma...', 'shock')
    #5 /mounted-storage/home145/sub029/sc78959-IZDB/wopsh.co.il/library/XenForo/FrontController.php(310): XenForo_ControllerPublic_Misc->actionContact()
    #6 /mounted-storage/home145/sub029/sc78959-IZDB/wopsh.co.il/library/XenForo/FrontController.php(132): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
    #7 /mounted-storage/home145/sub029/sc78959-IZDB/wopsh.co.il/index.php(13): XenForo_FrontController->run()
    #8 {main}
    
    Request State
    
    array(3) {
      ["url"] => string(31) "http://wopsh.co.il/misc/contact"
      ["_GET"] => array(0) {
      }
      ["_POST"] => array(6) {
        ["subject"] => string(27) "אימייל ניסיוני"
        ["message"] => string(34) "זהוא אימייל ניסוני"
        ["_xfToken"] => string(53) "1,1318330671,5b020c07a574f2d10b51e54107576ebe6cda2519"
        ["_xfRequestUri"] => string(1) "/"
        ["_xfNoRedirect"] => string(1) "1"
        ["_xfResponseType"] => string(4) "json"
      }
    }
    
    
    and i get the next error while using an smtp server:
    Code:
    Error Info
    Zend_Mail_Protocol_Exception: 5.7.1 <samu.elgozi@gmail.com>: Sender address rejected: Access denied - library/Zend/Mail/Protocol/Abstract.php:431
    Generated By: shock, לפני רגע
    Stack Trace
    
    #0 /mounted-storage/home145/sub029/sc78959-IZDB/wopsh.co.il/library/Zend/Mail/Protocol/Smtp.php(289): Zend_Mail_Protocol_Abstract->_expect(Array, 300)
    #1 /mounted-storage/home145/sub029/sc78959-IZDB/wopsh.co.il/library/Zend/Mail/Transport/Smtp.php(211): Zend_Mail_Protocol_Smtp->rcpt('samu.elgozi@gma...')
    #2 /mounted-storage/home145/sub029/sc78959-IZDB/wopsh.co.il/library/Zend/Mail/Transport/Abstract.php(348): Zend_Mail_Transport_Smtp->_sendMail()
    #3 /mounted-storage/home145/sub029/sc78959-IZDB/wopsh.co.il/library/Zend/Mail.php(1194): Zend_Mail_Transport_Abstract->send(Object(Zend_Mail))
    #4 /mounted-storage/home145/sub029/sc78959-IZDB/wopsh.co.il/library/XenForo/Mail.php(170): Zend_Mail->send()
    #5 /mounted-storage/home145/sub029/sc78959-IZDB/wopsh.co.il/library/XenForo/Mail.php(145): XenForo_Mail->sendMail(Object(Zend_Mail))
    #6 /mounted-storage/home145/sub029/sc78959-IZDB/wopsh.co.il/library/XenForo/ControllerPublic/Misc.php(195): XenForo_Mail->send('samu.elgozi@gma...', '', Array, 'samu.elgozi@gma...', 'shock')
    #7 /mounted-storage/home145/sub029/sc78959-IZDB/wopsh.co.il/library/XenForo/FrontController.php(310): XenForo_ControllerPublic_Misc->actionContact()
    #8 /mounted-storage/home145/sub029/sc78959-IZDB/wopsh.co.il/library/XenForo/FrontController.php(132): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
    #9 /mounted-storage/home145/sub029/sc78959-IZDB/wopsh.co.il/index.php(13): XenForo_FrontController->run()
    #10 {main}
    
    Request State
    
    array(3) {
      ["url"] => string(31) "http://wopsh.co.il/misc/contact"
      ["_GET"] => array(0) {
      }
      ["_POST"] => array(6) {
        ["subject"] => string(27) "אימייל ניסיוני"
        ["message"] => string(34) "זהוא אימייל ניסוני"
        ["_xfToken"] => string(53) "1,1318330671,5b020c07a574f2d10b51e54107576ebe6cda2519"
        ["_xfRequestUri"] => string(1) "/"
        ["_xfNoRedirect"] => string(1) "1"
        ["_xfResponseType"] => string(4) "json"
      }
    }
    
    can someone help me to solve this problem please?
     
  2. CyclingTribe

    CyclingTribe Well-Known Member

    What are your email settings in Options > Email Options ?

    For example, are you using the Default option for Email Transport Method? or have you specified an SMTP server?

    Cheers,
    Shaun :D
     
  3. shock

    shock Member

    first - thanks for your reply :)
    in the first error i used the default option with my gmail mail.
    in the second error i used my domain mail, with smtp settings.
     
  4. CyclingTribe

    CyclingTribe Well-Known Member

    Okay, the SMTP error 5.7.1 - means it won't relay - so let's try using authentication to see if that will work.

    Select SMTP and type localhost into the Host field.

    Then for Authentication, select User Name and Password and in the first box enter your domain email address and in the second box the password for that email account. (This should validate your XF emails on the server and allow them to go out.)

    Try it now - any good?

    Cheers,
    Shaun :D
     
  5. shock

    shock Member

    I already did that but instead of using "localhost" i used the server that my host gave me.
     
  6. bambua

    bambua Well-Known Member

    Here are the settings I used for gmail/google apps. Just make sure wherever you put a username in you put the full username@whatever.com, if it's gmail it would be username@gmail.com if it's google apps, whatever your domain is.

    I've been using this set up since release without issue.
    gmail_setp.png
     
    GeeksChat likes this.
  7. shock

    shock Member

    ill try to use a new gmail with your settings, ill update the post later, thanks for the help :)
     
  8. Do you have the mail() extension enabled on your webserver?
     
  9. derdude

    derdude Member

    any news? i cant receive emails either.
     
  10. TheBigK

    TheBigK Well-Known Member

    Sorry to bump old thread - but I'm getting similar error with Amazon SES. Is there any fix?
     

Share This Page