I've just installed UBB on my site, and it seems to work OK, BUT SMTP is not working. I've typed in the IP of our SMTP server (which allows relays from that address) and I just get the error as shown below. I tested the SMTP server from the machine running UBB using telnet and it works fine.

Any ideas?

---
Could not connect to server.
The server does not respond appropriately.. it may not be an SMTP server.
Server Error: ""
Server Error: ""
Server Error: ""
Server Error: ""
Server Error: ""