osTicket recommends using SMTP servers to send email. I believe that others have discovered the GoDaddy servers block smtp. You would need to talk to GoDaddy support to confirm this.
As far as using local host if it works intermittently then it sounds like perhaps goDaddy is doing something to prevent you from sending emails. You would want GoDaddy support to look into this also.