$telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
220 localhost ESMTP
helo localhost
250 localhost
auth login
334 UGFzc3dvcmQ6
dXNlcm5hbWU=
334 UGFzc3dvcmQ6
cGFzc3dvcmQ=
235 Authentication successful
mail from:"xxxx" <park17@domain.co.kr>
250 ok
rcpt to:"xxxx" <dewyplus@domain.co.kr>
250 ok
data
354 go ahead
from:"xxxx" <park17@domain.co.kr>
to:"xxxx" <dewyplus@domain.co.kr>
subject:This is a Subject

mail body.....
mail body....
.
250 ok 1259827087 qp 5294
quit
221 localhost
Connection closed by foreign host.

1. telnet 25 를 입력 합니다.
( 예 : telnet smtp.xxx.com 25 )

다음과 비슷한 출력이 표시됩니다.
220 computername.microsoft.com ESMTP Server (Microsoft Exchange Internet Mail Service 5.5.2651.58) ready
                    
2. helo me를 입력하고 Enter 키를 누릅니다.
다음과 비슷한 출력이 표시됩니다.
250 OK

3. mail from:email@domain.com을 입력하고 Enter 키를 누릅니다. 다음과 비슷한 출력이 표시됩니다.
250 OK - mail from
                    
4. rcpt to:youremail@yourdomain.com을 입력하고 Enter 키를 누릅니다. 다음과 비슷한 출력이 표시됩니다.
250 OK - Recipient

5. Data를 입력하고 Enter 키를 누릅니다. 다음과 비슷한 출력이 표시됩니다.
354 Send data. End with CRLF.CRLF

6. Subject:This is a test를 입력하고 Enter 키를 두 번 누릅니다.

7. Testing을 입력하고 Enter 키를 누릅니다.

8. Enter 키를 누르고 마침표(.)를 입력한 후 Enter 키를 누릅니다. 다음과 비슷한 출력이 표시됩니다.
250 OK

10. quit를 입력하고 Enter 키를 누릅니다. 다음과 비슷한 출력이 표시됩니다.
221 Closing Port / Mail queued for delivery

블로그 이미지

유효하지않음

,