Saturday, January 19, 2013

Send Email via Telnet


Sometimes you need to configure SharePoint to send or receive emails so to test the configuration of sending email with Exchange or SMTP you can use Telnet commands as following:
First Install Telnet client from Server Manager >> Features
Now open command line and run this line :

telnet 10.0.056 25

IP for SMTP or Exchanage
Port : 25


Note: if you get connection failed then this means the port is closed.
then run this command :

ehlo

then run this command:

mail from:test@test.com

then run this command:

rcpt to:test1@test.com

then run this command:

data

and last is :
.

No comments: