Close Menu
Technotification
    Facebook X (Twitter) Instagram
    Facebook X (Twitter) Instagram
    Technotification
    • Home
    • News
    • How To
    • Explained
    • Facts
    • Lists
    • Programming
    • Security
    • Gaming
    Technotification
    Home › Programming › How to Test a SMTP Server ?

    How to Test a SMTP Server ?

    By Vikram Singh RaoMay 20, 2021
    Facebook Twitter Reddit LinkedIn
    SMTP-server

    First of all, what SMTP actually is?

    The abbreviation SMTP is decoded as Simple Mail Transfer Protocol – the mean of transferring emails. This technology can be used to both send and deliver your letters via the Internet. The procedure is pretty simple: once you drop an email, it goes to an SMTP server; the latter sends it to your receiver.

    So, what things can you put to the test? Let’s see:

    • Does it work at all?
    • Why is the connection cut off? That may be your firewall.
    • Can your mail server communicate a certain email address or a domain?
    • What directives from SMTP does the mail server run?
    • In what time will you get the feedback from a server?
    • To which exactly hostname does the server respond? Is that configuration right?

    And there are two ways to check out all that stuff using the Command Line: manual telneting and online tools. Now, we are going to discuss each of those in detail.

    Read Also: What Is a Server? Types Of Servers

    Manual testing

    Basically, you have to pass authentication. Next, log in to a mail server using its DNS MX. Take a look at possible commands.

    For Windows: nslookup -type=mx mailtrap.io

    For Linux: nslookup -type=mx mailtrap.io

    Here, you need to use the DNS PTR to find out your IP address. Eventually, run one of the commands below (A.B.C.D stands for your IP).

    For Windows: nslookup -type=ptr A.B.C.D

    For Linux: nslookup -type=ptr A.B.C.D

    You will get the code to proceed with. Now, start the communication between the telnet client and the SMTP server. To that end, address the EHLO or HELO command to the mail server.

    Then, you will need to determine the address to which emails are transferred. For this, give the MAIL FROM command:

    MAIL FROM: <[email protected]>

    Your next step should be sending the RCPT TO command that identifies the email recipient.

    RCPT TO: <[email protected]>

    Here, the DATA command goes: it detects the actual email content (along with the headers “FROM” and “TO”). Run it previously to writing your message.

    Particular mail servers use the PIPELINING technique: the SMTP mail server cannot answer any other commands going after EHLO or HELO until the DATA command is given. It just has to wait. In such a situation, run MAIL FROM, RCPT TO, and DATA, and wait for SMPT to respond.

    Online testing

    To run the test, you must figure out the address of your SMTP server. For this, use the ns lookup command or search for proper online services on the Internet.

    When you check out your SMTP server via online services, the test comprises the following stages:

    • Examination of the DNS Black List status;
    • MX Records authentication;
    • Configuration your SMTP server to an SMTP relay server;
    • Determination of the email address using PTR Record.

    Now, let’s have a look at online tools you can efficiently test your SMTP server with.

    MX Toolbox – a simple service indicating such things, as SMTP Reverse DNS Mismatch, SMTP Valid Hostname, SMTP Banner Check, SMTP TLS, SMTP Connection Time, SMTP Open Relay, and SMTP Transaction Time for free. Note that it doesn’t allow you to detect the port or password.

    Wormly – you can try it out for free to test your SMTP without identifying the port and password. Besides, it doesn’t provide the secure connection.

    SMTPer – a flexible and beneficial service that allows you to submit information about sender and recipient. The functions of port identification, authorization, and a secure connection are supported.

    Test SMTP (or test-smtp.com) – a tool you can use for testing relays. However, it is not appropriate for a comprehensive SMTP check.

    testsmtp.tcsoftware.net – this is also a service for testing particular processes. It doesn’t examine your SMTP in all aspects; neither has it supported a secure connection.

    You can Read more about SMTP testing on the https://mailtrap.io

    Share. Facebook Twitter LinkedIn Tumblr Reddit Telegram WhatsApp
    Vikram Singh Rao
    • Website
    • Facebook
    • X (Twitter)
    • LinkedIn

    I am an entrepreneur at heart who has made his hobby turned a passion, his profession now.

    Related Posts

    The Best Python Libraries for Data Visualization in 2025

    April 1, 2025

    Is C++ Still Relevant in 2025 and Beyond?

    February 20, 2025

    5 Best Programming Languages for Machine Learning in 2025

    February 18, 2025

    10 Must-Have Chrome Extensions for Web Developers in 2025

    February 17, 2025

    Difference Between C, C++, C#, and Objective-C Programming

    February 16, 2025

    How to Learn Programming Faster and Smarter in 2025

    February 14, 2025
    Lists You May Like

    10 Sites to Watch Free Korean Drama [2025 Edition]

    January 2, 2025

    10 Best RARBG Alternative Sites in April 2025 [Working Links]

    April 1, 2025

    The Pirate Bay Proxy List in 2025 [Updated List]

    January 2, 2025

    10 Best Torrent Search Engine Sites (2025 Edition)

    February 12, 2025

    10 Best GTA V Roleplay Servers in 2025 (Updated List)

    January 6, 2025

    5 Best Torrent Sites for Software in 2025

    January 2, 2025

    1337x Alternatives, Proxies, and Mirror Sites in 2025

    January 2, 2025

    10 Best Torrent Sites for eBooks in 2025 [Working]

    January 2, 2025

    10 Best Anime Torrent Sites in 2025 [Working Sites]

    January 6, 2025

    Top Free Photo Editing Software For PC in 2025

    January 2, 2025
    Pages
    • About
    • Contact
    • Privacy
    • Careers
    Privacy

    Information such as the type of browser being used, its operating system, and your IP address is gathered in order to enhance your online experience.

    © 2013 - 2025 Technotification | All rights reserved.

    Type above and press Enter to search. Press Esc to cancel.