I can not fix it.osTicket tries to connect to SMTP using SSL secure connection .. I've talked to a manager of my hosting server and tell me you can not try to connect to the account using SSL unless you get one. Obviously I can not connect to SMTP using SSL.

I guess what I got was that they connect to SMTP using TLS because that line it does is connect using TLS if the version of PHP is 5.1.0 and my version was that actually .. so I put the 6.1.0 (which does not exist) and connect without using TLS so now I accept the accounts and everything works perfect. :)

Whether this change is not negatively affect other functions, but I really work. accept my email accounts and typing tests I have done some ticket and receive automatic email response with no problem. :)

Thanks to everyone who wrote to me and thank you, jineedaj, i was testing what You told me but it was impossible ..

Only issue is I assume this is negating any type of secure link to the SMTP server, which is hosted on the same box should not be a big deal, but people should be away that using this workaround causes you SMTP communication to be unsecure.

Perhaps osTIcket should provide an option with SMTP configuration for secure or non-secure connection to avoid the code change.