• 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

#1
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?
 

CyclingTribe

Well-known member
#2
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
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.
 

CyclingTribe

Well-known member
#4
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