Step -1: Run the PowerShell application as an Administrator privilege.
Step -2: Run the below command
+++
telnet localhost 25
+++
Step -3: By running the below command to Start the communication with the server.
+++
EHLO server
+++
Step -4: Enter the email address you wish to send an email. The syntax as below.
+++
MAIL FROM: [sender_email_address@domain.com]
+++
Step -5: Enter the recipient email address as below.
+++
RCPT TO: [recipient_email_address@domain.com]
+++
Step -6: Inform the SMTP Server you are ready to send the message by entering the below command
DATA
Step -7: Enter the email subject
+++
Subject: Test Message
+++
Step -8: Press Enter twice and type in the message body and press Enter.
Step -9: Send the email by entering (.) and press Enter.