How to test smtp mail

Testing SMTP (Simple Mail Transfer Protocol) mail involves verifying that your email server is correctly configured and functioning properly. Here are some steps to test SMTP mail:

Method 1: Using Telnet

  1. Open a command prompt or terminal window.
  2. Type telnet <SMTP_server_IP> 25 (replace <SMTP_server_IP> with your email server's IP address or hostname).
  3. Press Enter to establish a connection.
  4. Type HELO <your_domain> (replace <your_domain> with your domain name).
  5. Press Enter.
  6. Type MAIL FROM:<your_email> (replace <your_email> with your email address).
  7. Press Enter.
  8. Type RCPT TO:<recipient_email> (replace <recipient_email> with the email address you want to send the test email to).
  9. Press Enter.
  10. Type DATA and press Enter.
  11. Type the email message and press Enter.
  12. Type . (dot) and press Enter to send the email.
  13. Type QUIT and press Enter to close the connection.

Method 2: Using a Mail Client

  1. Open a mail client like Microsoft Outlook, Mozilla Thunderbird, or Apple Mail.
  2. Set up a new email account using your email server's settings.
  3. Compose a new email and enter the recipient's email address.
  4. Click the "Send" button to send the email.
  5. Check your email account or the recipient's email account to verify that the email was sent successfully.

Method 3: Using an Online SMTP Tester

  1. Visit an online SMTP tester website, such as Mail-Test.com or SMTP-Test.com.
  2. Enter your email server's settings, including the hostname, port, username, and password.
  3. Click the "Test" button to send a test email.
  4. Check your email account or the recipient's email account to verify that the email was sent successfully.

Common SMTP Commands

Troubleshooting Tips

Remember to replace <SMTP_server_IP>, <your_domain>, <your_email>, and <recipient_email> with your actual email server settings and email addresses.