Please help us to help you by reading and following the posting guidelines located in this thread: Please read before requesting assistance. The more information you give us the better we will be able to assist you. Thank you.
Environment details? (see Admin panel -> Dashboard -> Information)
Did you follow the guide / docs at: https://docs.osticket.com/en/latest/Getting%20Started/Email%20Settings.html
ntozier Did you follow the guide / docs at: https://docs.osticket.com/en/latest/Getting%20Started/Email%20Settings.html
ntozier please help the error is not resolved Error Unable to log in. Check SMTP settings and at the bottom : Failed to connect to smtp.gmail.com:587 [SMTP: Failed to connect socket: Connection refused (code: -1, response: )]
Logs error
PHP Warning: stream_socket_client(): unable to connect to 74.125.24.109:587 (Connection refused) in /public_html/upload/include/pear/Net/Socket.php on line 166
If your settings are the same from two different locations and one works and one does not... then likely the problem is with the host that does not work.