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

XF 1.2 Cant send email

Discussion in 'Troubleshooting and Problems' started by Hristo Avramov, Aug 28, 2013.

  1. Hristo Avramov

    Hristo Avramov Active Member

    I get this error when sending email via the email users admin option. I think emails for watched threads are sent okay. Although I tested it only for my email.

    Stack Trace
    #0 /home2/morethb8/public_html/bettingforum/library/Zend/Mail/Transport/Abstract.php(348): Zend_Mail_Transport_Sendmail->_sendMail() #1 /home2/morethb8/public_html/bettingforum/library/Zend/Mail.php(1194): Zend_Mail_Transport_Abstract->send(Object(Zend_Mail)) #2 /home2/morethb8/public_html/bettingforum/library/XenForo/ControllerAdmin/User.php(993): Zend_Mail->send(Object(Zend_Mail_Transport_Sendmail)) #3 /home2/morethb8/public_html/bettingforum/library/XenForo/ControllerAdmin/User.php(921): XenForo_ControllerAdmin_User->_sendEmail(Array, Array, Object(Zend_Mail_Transport_Sendmail)) #4 /home2/morethb8/public_html/bettingforum/library/XenForo/FrontController.php(337): XenForo_ControllerAdmin_User->actionEmailSend() #5 /home2/morethb8/public_html/bettingforum/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch)) #6 /home2/morethb8/public_html/bettingforum/admin.php(13): XenForo_FrontController->run() #7 {main}
     
  2. Hristo Avramov

    Hristo Avramov Active Member

    email is enabled on the server. I tested it with email.php
     
  3. Jeremy

    Jeremy XenForo Moderator Staff Member

    Can you copy the actual error that appears above the stack trace?
     
  4. JulianD

    JulianD Well-Known Member

    What is the actual error? That's only the stack trace part
     
  5. Hristo Avramov

    Hristo Avramov Active Member

    Zend_Mail_Transport_Exception: Unable to send mail. - library/Zend/Mail/Transport/Sendmail.php:137
    Generated By: admin, 30 minutes ago
     
  6. Mike

    Mike XenForo Developer Staff Member

    This is only an indication that your mail handler (postfix, etc) rejected the mail (returned a failure error code). You would need to look in the mail log for more details.
     
    Hristo Avramov likes this.
  7. Hristo Avramov

    Hristo Avramov Active Member

    How do I look at the email log?
     
  8. Mike

    Mike XenForo Developer Staff Member

    It's likely /var/log/maillog but you'll need root access. You'll need to contact your host if you're unsure.
     
  9. Hristo Avramov

    Hristo Avramov Active Member

    Thank you for all the support. I will send email to support.

    What is strange is that I tested if it sends messages for watched threads(not to my email, but to normal google email) and it works. Only receive this error when I try to use the mass email, even if I select just 1 user.
     
  10. JulianD

    JulianD Well-Known Member

    Maybe it is a problem with the mail queue getting full and not accepting more new mail or something. I'm shooting in the dark here. Take a look at your mail log and the answer should be there.
     
  11. Hristo Avramov

    Hristo Avramov Active Member

    These are the error logs. but it seems they are not related to my emails. Its related to some spam emails. I never tried to send "Free shipping on Armani Jeans,"

    Code:
    2013-08-28 06:35:01 1VEexe-0001S2-Bp DKIM: d=reply1.ebay.com s=emarsys2012 c=relaxed/relaxed a=rsa-sha1 i=eBay@reply1.ebay.com [verification succeeded]
    2013-08-28 06:35:01 1VEexe-0001S2-Bp <= e3us-1706831468354-318d5eII8b9f04II1@reply1.ebay.com H=(e3uspmta192.emarsys.net) [91.194.248.192]:43548 P=esmtp S=110026 id=0.1.15B.956.1CEA3EB014BDEC0.0@e3uspmta192.emarsys.net T="Free shipping on Armani Jeans, Diesel and more, nadalbg" for admin1@betting-forum.com
    2013-08-28 06:35:02 1VEexe-0001S2-Bp => admin1 <admin1@betting-forum.com> R=virtual_user T=virtual_userdelivery
    2013-08-28 06:35:02 1VEexe-0001S2-Bp Completed
     
    2013-08-28 06:41:46 1VEf4E-0003di-Ls <= morethb8@box792.bluehost.com H=localhost (box792.bluehost.com) [127.0.0.1]:44364 P=esmtp S=1010 T="Betting Forum with new software" for admin1@betting-forum.com
    2013-08-28 06:41:46 1VEf4E-0003di-Ls => admin1 <admin1@betting-forum.com> R=virtual_user T=virtual_userdelivery
    2013-08-28 06:41:46 1VEf4E-0003di-Ls Completed
     
    2013-08-28 08:39:36 H=([109.102.169.248]) [109.102.169.248]:4654 F=<admin1@allouezmarine.com> rejected RCPT <admin1@betting-forum.com>: Message rejected because ([109.102.169.248]) [109.102.169.248]:4654 is blacklisted.
     
    2013-08-28 08:39:36 H=([109.102.169.248]) [109.102.169.248]:4654 F=<admin1@allouezmarine.com> rejected RCPT <admin1@betting-forum.com>: Message rejected because ([109.102.169.248]) [109.102.169.248]:4654 is blacklisted. 
     
  12. Jeremy

    Jeremy XenForo Moderator Staff Member

    It looks like the IP address that's attempting to send the email is being blocked by your server, which is something your host (or email provider) should be able to fix.
     
    Hristo Avramov likes this.
  13. Hristo Avramov

    Hristo Avramov Active Member

    I am confused. Is it my ip address or the ip address of my site?
    I am using local email on my host.
     
  14. Jeremy

    Jeremy XenForo Moderator Staff Member

    The error is stating that the following IP is blacklisted:
    109.102.169.248
     
  15. Hristo Avramov

    Hristo Avramov Active Member

  16. Tracy Perry

    Tracy Perry Well-Known Member

    More than likely it's because that IP is listed in 16 blacklists that are maintained.:whistle:
    I don't think I'd want them to "fix" it. ;)
     
  17. Hristo Avramov

    Hristo Avramov Active Member

    But thats not my ip. It doesnt have anything with me. Why cant I send mail then
     
  18. Mike

    Mike XenForo Developer Staff Member

    What (server) time corresponds with when that email error message was generated?
     
    Hristo Avramov likes this.
  19. Hristo Avramov

    Hristo Avramov Active Member

    I dont know, I dont see time match . I have 186 pages of errors on my admin panel, maybe for all emails I tried to send, since it was mass email. From 1:42 to 1:58

    Code:
    2013-08-28 06:35:01 1VEexe-0001S2-Bp DKIM: d=reply1.ebay.com s=emarsys2012 c=relaxed/relaxed a=rsa-sha1 i=eBay@reply1.ebay.com [verification succeeded]
    2013-08-28 06:35:01 1VEexe-0001S2-Bp <= e3us-1706831468354-318d5eII8b9f04II1@reply1.ebay.com H=(e3uspmta192.emarsys.net) [91.194.248.192]:43548 P=esmtp S=110026 id=0.1.15B.956.1CEA3EB014BDEC0.0@e3uspmta192.emarsys.net T="Free shipping on Armani Jeans, Diesel and more, nadalbg" for admin1@betting-forum.com
    2013-08-28 06:35:02 1VEexe-0001S2-Bp => admin1 <admin1@betting-forum.com> R=virtual_user T=virtual_userdelivery
    2013-08-28 06:35:02 1VEexe-0001S2-Bp Completed
     
    2013-08-28 06:41:46 1VEf4E-0003di-Ls <= morethb8@box792.bluehost.com H=localhost (box792.bluehost.com) [127.0.0.1]:44364 P=esmtp S=1010 T="Betting Forum with new software" for admin1@betting-forum.com
    2013-08-28 06:41:46 1VEf4E-0003di-Ls => admin1 <admin1@betting-forum.com> R=virtual_user T=virtual_userdelivery
    2013-08-28 06:41:46 1VEf4E-0003di-Ls Completed
     
    2013-08-28 08:39:36 H=([109.102.169.248]) [109.102.169.248]:4654 F=<admin1@allouezmarine.com> rejected RCPT <admin1@betting-forum.com>: Message rejected because ([109.102.169.248]) [109.102.169.248]:4654 is blacklisted.
     
    2013-08-28 08:39:36 H=([109.102.169.248]) [109.102.169.248]:4654 F=<admin1@allouezmarine.com> rejected RCPT <admin1@betting-forum.com>: Message rejected because ([109.102.169.248]) [109.102.169.248]:4654 is blacklisted.
     
    
    Untitled.jpg
     
  20. Mike

    Mike XenForo Developer Staff Member

    Can you submit a ticket with FTP and admin CP details?
     
    Hristo Avramov likes this.

Share This Page