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

XF 1.5 SMTP Settings problems

Discussion in 'Troubleshooting and Problems' started by samclarke669, Oct 16, 2015.

  1. samclarke669

    samclarke669 New Member

    Hi all,

    I hope someone can help me.

    I've just set up a forum for the company I work for but having issues with the SMTP..

    The error i get is

    "Zend_Mail_Protocol_Exception: Email to ******* failed: Connection timed out - library/Zend/Mail/Protocol/Abstract.php:277"

    We have an office 365 account which i'm trying to use as the SMTP host but seem to be failing! When i set the email method to default -f it still errors, i get

    "Zend_Mail_Transport_Exception: Email to ***** failed: Unable to send mail. - library/Zend/Mail/Transport/Sendmail.php:137"

    I hope someone can advise, i'm sure i'm doing something silly!

    Thanks in advance
     
  2. Tracy Perry

    Tracy Perry Well-Known Member

    There has been some issues reported of similar for those that are hosting with HostGator. Do you happen to be with them?
     
  3. samclarke669

    samclarke669 New Member

    Nope, i'm with JustHost. The domain i'm using ISN'T the domain we have with O365 if that could make a difference? I don't mind who hosts the SMTP though, if there's another way around it
     
  4. Tracy Perry

    Tracy Perry Well-Known Member

  5. samclarke669

    samclarke669 New Member

    Ah ok, that's annoying! Do you know of any way around it? if i was to use a different SMTP provider?
     
  6. Tracy Perry

    Tracy Perry Well-Known Member

    If it's the same issue, you have to contact your hosting provider to make sure that they will open the SMTP port(s) you are trying to use to connect to.
     
  7. samclarke669

    samclarke669 New Member

    OK - should i be able to use the default and -f parameter if they open the ports up? or will i have to use an external host?

    Thanks for your help so far.
     
  8. Tracy Perry

    Tracy Perry Well-Known Member

    If you are on a shared hosting provider, then probably the SMTP... but not sure if you can use php mail for it. They should be able to tell you.
     
  9. samclarke669

    samclarke669 New Member

    Great - i'll speak to them and let you know
     
  10. MarkMark

    MarkMark Member

    If you are with Hostgator, it is because about 48 hours ago they changed their firewall settings, essentially blocking outbound ports for all users. You have to manually request that they open specific ports - a right pain in the bum given they take an unholy amount of time to respond to tickets nowadays.
     
  11. samclarke669

    samclarke669 New Member

    Ah - thanks for the info. I'm trying to speak to them on livechat (pulling teeth) so we'll see..
     
  12. MarkMark

    MarkMark Member

  13. samclarke669

    samclarke669 New Member

    Cheers, i'll have a look. hopefully they don't put up much of a fight
     
  14. MarkMark

    MarkMark Member

    Please do let me know if you make any progress. Two days in and the problem remains for me. They do at least seem aware of the problem.
     
  15. samclarke669

    samclarke669 New Member

    This is all i got from them..

    11:41:31amPrathiksha
    You need to use below settings:
    11:42:05amPrathiksha
    Secure SSL/TLS Settings
    (Recommended)
    Username:email address
    Password: Use the email account’s password.
    Incoming Server:just61.justhost.com
    IMAP Port: 993
    POP3 Port: 995
    Outgoing Server: just61.justhost.com
    SMTP Port: 465
    Authentication is required for IMAP, POP3, and SMTP.
     
  16. samclarke669

    samclarke669 New Member

    When i enter the above settings in XenForo's SMTP using TLS and i try to do a test (activating two step verification for example) it just hangs ans spins round. if i use SSL it errors

    Using TLS: "Zend_Mail_Protocol_Exception: Email to ************ failed: Could not read from just61.justhost.com - library/Zend/Mail/Protocol/Abstract.php:385"
     
  17. MarkMark

    MarkMark Member

    Sadly, I have no idea - other than HG have really messed up with this change and they are not making it easy for customers to fix things.

    The last guy I spoke to on Live Chat told me that admins were trying to fix the issue, as they are aware it is impacting on lots of people. But I have no idea whether this is true or not, as the previous person tried to tell me it was purely my scripts problem.

    Now I am apparently waiting for someone to authorise the ports I need - although again I have no idea whether this is actually going to happen.
     
  18. samclarke669

    samclarke669 New Member

    Bugger - OK. It's so frustrating, i'm not sure whether i'm affected by this issue or doing something wrong!

    I presume "Could not read from just61.justhost.com" means it could be a port issue. they didn't seem to entertain that, though.
     

Share This Page