4 Ways to Check Email Flow using SMTP Commands
You should check the email often and see if it works. With these commands you can test email flow at a very granular level to find out what’s broken and where.

Scenario:
Your Domain: mydomain.com
The domain you want to send is: themdomain.com
1. Determine the mail server you are sending.
* Open CMD soon
* Type NSLOOKUP
> Set Q = mx
> Their domain.com
Answer:
Non-Official Reply:
Their Domain.com MX Priority = 50, Mail Exchanger = mail.theirdomain.com
2. Connect to their mail server
SMTP communicates via port 25. Now we try to use TELNET to connect to their mail server “mail.theirdom.com”.
* Open CMD soon
* TELNET MAIL.THEIRDOMAIN.COM 25
You should see something like this in response:
220 mx.google.com ESMTP 6si6253627yxg.6
Remember that different servers come with different wishes, but you have to get something. There are 2 problems if nothing comes up this time. Port 25 is blocked in your firewall or their server is not responding. Try a different domain, and if it works, it’s not you.
3. Send email
Now, use the simple SMTP command to send test emails. This is important, you cannot use the backspace key, it works on the screen but it is not properly understood. You must type these commands completely.
ehlo mydomain.com
From the mail: <”martin9700@mydomain.com”>
rcpt :: <”recipient @ theirdomain.com”>
Information
This is a test, please do not respond
.
Holiday
So, what does this mean?
EHLO — Introduce yourself to a mail server. Halo can also be used, but EHLO tells the server to use an extended command set (we are not using it).
Mail from — Who is sending email. Make sure it is higher / lower than the parentheses (Postini) as many email servers require it.
RCPT TO — Whom you send. Again you need to use parentheses. Check out step # 4 for testing e-mail!
Data — tells the SMTP server what the core of your email is. Finally press “Enter”.
. (“Period”) — The longest period of time on the line tells the SMTP server that you are working with all data components and that the email is clear.
Skipped — TELNET has left the session.
4. Test the SMTP relay
SMTP relays are easy to test, and require little change in the above commands. You can see below:
ehlo mydomain.com
Mail from:
RCT:
Information
This is a test, please do not respond
Holiday
See the difference? In the RCPT TO line, we are sending for a domain not controlled by the sending SMTP server. You get an instant error when the SMTP relay is turned off. If you can continue and send the email, the relay is allowed through that server.
If you want to read more blogs on free smtp server then visit this website: https://www.smtpservers.co