How to test SMTP operations using Telnet

1. Telnet into Email Hosting service using TCP port 25.

Command is telnet <servername> 25

2. Turn on local echo on your telnet client so that you can see what you are typing.

On Win 9x and NT 3.5/4.0 Telnet client this done by selecting the "preferences" from the "terminal" pull down menu,
and checking the local echo radio button. 
For Windows 2000 telnet client, issue command "set local_echo", from the telnet command prompt.

3. Issue the following smtp command sequence

helo <your domain name><enter>                  

response should be as follows
250 OK

หากสามารถเชื่อมต่อ server ได้จะแสดงคำว่า 250 OK.

mail from: <your Email Address><enter>
response should be as follows
250 OK - mail from <your Email address>

rcpt to: <recipient address><enter>
response should be as follows
250 OK - Recipient <recipient address>

response should be as follows
354 Send data.  End with CRLF.CRLF

To: <recipient's display name><enter>
From: <your display name><enter>
Subject: <Subject field of Email message><enter>
<Enter you body text><enter><enter> . <enter>

response should be as follows
250 OK


Was this answer helpful?

 Print this Article

Also Read

การเปลี่ยน DNS เพื่อใช้งานกับ GoogleApp

1. Login DirectAdmin ControlPanel  https://Domainname:2222   # Domainname =...

How to Set Outgoing Server Requires Authentication

      เสร็จ แล้วทดลองรับ-ส่งดูอีกครั้งครับ...

spammer รู้ที่อยู่อีเมลของพวกเราได้อย่างไร

1. spammer ใช้โปรแกรมที่เก็บรวมรวมที่อยู่อีเมลโดยอัตโนมัติที่เรียกว่า Bot หรือ robot ที่สามารถ...

Add New Address Book in Outlook Express

How do I forward a message as an attachment ?

When you send attachments with your mails, you have to consider the following...