How to test the remote SMTP connection from your server by using telent.
Before starting you will need to encoded your username and password with base 64 encoder.
BASE64 Encoder websites
SMTP Ports: 25, 465, 587
telnet IP PORT EHLO >HOSTNAME< AUTH LOGIN >Your BASE64 encoded username< >Your BASE64 encoded password<
And if you get "235 Authentication successful" then you have a successful connection.