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

email troubleshooting

Discussion in 'Troubleshooting and Problems' started by gamecock, Feb 24, 2011.

  1. gamecock

    gamecock Member

    There are some indications I have a problem with my host mail server:

    1) There is quite a delay in sending some account verification mails according to users.

    2) The notification alert emails about posts etc don't seem to be getting sent

    3) Thunderbird complained about an error sending through the server once

    I don't see any sign of a forum error on the 'tools-server error page'. Would an error interacting with the mail server be logged somewhere else?
  2. Mike

    Mike XenForo Developer Staff Member

    Mail server errors would be logged there, but they'd mostly be connection errors. If the server appears to accept the mail, there's no error to report.

    I'm assuming you're using SMTP by the wording here, so you may want to try using the "Default" handler. It's usually more stable, though yes you do lose some control.
  3. gamecock

    gamecock Member

    Thanks for the reply. I actually had not noticed the 'default' setting. How does default email work?
  4. Mike

    Mike XenForo Developer Staff Member

    It uses whatever settings PHP has been setup with - usually sendmail on Linux or a local SMTP server on Windows.
  5. gamecock

    gamecock Member

    I believe i have a problem. In either default or smtp mode I can get account reg emails, albeit with latency. It appears to not be sending the alerts for watched threads etc. Odd.
  6. gamecock

    gamecock Member

    I think there is a bug here. System is not emailing the expected alerts reliably. Some are sent. My host is bluehost.com. I don't think it is their problem.
  7. Mike

    Mike XenForo Developer Staff Member

    Well, "delays" aren't possible from within XF. As soon as the email needs to go out, it's sent. We don't have anything that queues.

    As for the watched thread emails, if you enable alerts for posts in watched threads, then if you receive an alert, the email was sent (well, if you chose to get it). They're added at the same time.

    Also note that watch emails are only sent to people with "valid" account (ie, have confirmed their email address).
  8. gamecock

    gamecock Member

    After I switched from 'default' to smtp I am not seeing as much delay. I have a test account I am testing with by having it reconfirm the email. Those emails are coming through fine. However, when I test commenting in threads with another test account I don't see the alert email in that case.
  9. gamecock

    gamecock Member

    My test case was not valid. I have switched to smtp and all appears well. I was forgetting to visit the thread with the first test account so that the forum would note that I needed to be alerted to updates!

Share This Page