How do I test SMTP mail?

  1. Go to Administration > Global Settings.
  2. Click the SMTP tab.
  3. On the SMTP Server field, enter the IP address, hostname, or FQDN of the Exchange Server.
  4. Tick the Enable SMTP Server Authentication checkbox.
  5. Enter the domainsername and password in the fields provided.
  6. Click Save.
  7. Click Send Test Email.

How do you send a test email in PowerShell?

Testing SMTP with PowerShell Simply edit the line with SMTP server name, port (it will default to 25 if you don’t specify it), the from email address (doesn’t have to be valid, just in the format [email protected] and something your mail filter will not block), to email address, subject, and message body as follows.

How do I test the SMTP Relay Office 365 PowerShell?

Test the Office365 SMTP Relay Service from PowerShell

  1. To open PowerShell right-click the start button and Choose Windows PowerShell.
  2. Enter the following command. $msolcred = get-credential.
  3. A window pops up.
  4. Then use the Send-MailMessage command to send a test email.
  5. If there is no error, check your inbox for a new email!

How do I test SMTP manually in Windows server?

Resolving The Problem

  1. Type the command “Telnet” in the command prompt .
  2. Press Enter.
  3. Type “set LocalEcho” in the Telenet prompt.
  4. Press Enter.
  5. Type” open 25″
  6. Press Enter.
  7. Type “helo me”
  8. Press Enter.

How do you test if an SMTP server is working?

How to manually test if an SMTP server can receive email

  1. From the Windows Start Menu select Start->Run and enter CMD as the application to open. Select OK.
  2. At the command prompt, enter the following: telnet 25.
  3. Type the word QUIT and then press enter.

How do I set SMTP server in PowerShell?

You must specify a Simple Mail Transfer Protocol (SMTP) server or the Send-MailMessage command fails. Use the SmtpServer parameter or set the $PSEmailServer variable to a valid SMTP server. The value assigned to $PSEmailServer is the default SMTP setting for PowerShell.

How do I telnet in PowerShell?

Type Start PowerShell in the Command Prompt window to start Windows PowerShell. 2. Type Install-WindowsFeature Telnet-Client and press Enter to install the Telnet Client .

How do I test my SMTP server using telnet in Office 365?

From a telnet prompt, type the following commands:

  1. O port# , for example O 25 , and then press “Enter”.
  2. EHLO then press “Enter”.
  3. AUTH LOGIN then press “Enter”.
  4. MAIL FROM:[email protected] then press “Enter”.
  5. RCPT TO:[email protected] then press “Enter”.

How do I test my SMTP server locally?

To test the SMTP service, follow these steps:

  1. On a client computer running Windows Server or Windows 10 (with telnet client installed), type. Telnet at a command prompt, and then press ENTER.
  2. At the telnet prompt, type set LocalEcho, press ENTER, and then type open 25, and then press ENTER.

How do I test my SMTP Port 25?

Here’s how to open the command prompt on Windows 98, XP or Vista:

  1. Open the Start menu.
  2. Select Run.
  3. Type cmd.
  4. Press Enter.
  5. Type telnet MAILSERVER 25 (replace MAILSERVER with your mail server (SMTP) which may be something like or
  6. Press Enter.

How do I troubleshoot my SMTP connection?


  1. Check the SMTP server settings. SMTP server address—Check the host name or network address of the SMTP e-mail server.
  2. Check the SMTP authentication settings. Check whether the e-mail server requires authentication.
  3. Test SMTP settings by sending a test e-mail. If you are unable to send a test e-mail: