The telnet application can be used to test your connectivity to our relay servers. If you are having difficulty in being able to connect to express-relay.jangosmtp.net, it is typically a matter of trying a different port and confirming your username/password combination.
If you are using Windows, you can use our SMTP testing tool. Otherwise, a quick test using a language/application that supports SMTP can be used for troubleshooting. Note: the testing tool uses relay.jangosmtp.net, not express-relay, but its results are still valid.
Here is an example using telnet, which is widely available on computers (see below if not). To get your Base64-encoded username and password values, go to http://www.base64encode.org/.
If my JangoSMTP username were MyJangoSMTPUsername, then the encoded value I would use after the “auth login” prompt would be TXlKYW5nb1NNVFBVc2VybmFtZQ==. Do the same thing to get your password encoded.
Ports: 25, 587, and 2525 for unsecure, and 465 for secure.
Using express-relay example – start with ehlo, not helo:
220 express-relay.jangosmtp.net ESMTP Welcome to the JangoSMTP trackable email relay system. ehlo express-relay.jangosmtp.net 250-express-relay.jangosmtp.net Hello 66-192-xxx-xxx.static.twtelecom.net [66.192.xxx.xxx], Haraka is at your service. 250-PIPELINING 250-8BITMIME 250-SIZE 31457280 250-STARTTLS 250 AUTH PLAIN LOGIN auth login 334 VXNlcm5hbWU6 enter your Base64 encoded username 334 UGFzc3dvcmQ6 enter your Base64 encoded password 235 Authentication successful mail from:enter your valid FROM address 250 sender <the address from above will be output here> OK rcpt to:enter email@example.com here 250 recipient <firstname.lastname@example.org will be output here> OK data 354 go ahead, make my day subject:testing express-relay hello . 250 Message Queued (4FEFB870-379A-45ED-A76C-B474AB3F6E71.1) quit 221 express-relay.jangosmtp.net closing connection. Have a jolly good day.
Using old relay or transactional-relay.jangosmtp.net:
$ telnet telnet> open relay.jangosmtp.net 25 Trying 18.104.22.168... Connected to relay.jangosmtp.net. Escape character is '^]'. 220 relay.jangosmtp.net ESMTP Welcome to the JangoSMTP trackable email relay system.; Wed, 01 Feb 2012 17:40:28 -0000 helo relay.jangosmtp.net 250 relay.jangosmtp.net Hello relay.jangosmtp.net, pleased to meet you. auth login 334 VXNlcm5hbWU6 Umxxxxxxxx (Base64 encoded username) 334 UGFzc3dvcmQ6 Mzxxxxxxxx (Base64 encoded password) 235 2.0.0 Authentication successful mail from:you@your_domain.com size=100 250 2.1.0 <you@your_domain.com>... Sender ok rcpt to:email@example.com 250 2.1.5 <firstname.lastname@example.org>... Recipient ok; will forward data 354 Enter mail, end with "." on a line by itself subject:sending via telnet and jangosmtp username/pwd hello .
Running telnet in Windows
The telnet client isn’t normally enabled in Windows (7, 8 and 10), but you can make it so via Control Panel > Turn Windows features on or off, and in the dialog window, scroll down and enable the telnet client (not the server). Open a new command prompt window and run your session.
Note that the message ID returned is from SMTP, not JangoSMTP, so this is not your transactional message ID. However, if you happen to have this ID and are working with Support to troubleshoot a sending/delivery issue, having this ID helps quite a bit given that we may have to search more than one relay server to find your session/transaction.