My experience is that when the mail server is not reachable an error will be logged to the osticket log.
System errors like this will additionally be mailed to the administrator email address. So you can see directly that something is going wrong. Even when the mail server is not reachable it uses a fall back method for the error mail with the php mailer which is independent from the configured mail accounts. But ist must be available on the host you are using.