Estanthan7 (토론 | 기여) (→개요) |
Estanthan7 (토론 | 기여) (→개요) |
||
18번째 줄: | 18번째 줄: | ||
250 OK id=<mail id> | 250 OK id=<mail id> | ||
quit | quit | ||
221 | 221 <hostname> closing connection | ||
Connection closed by foreign host. | Connection closed by foreign host. | ||
</source> | </source> |
2018년 8월 23일 (목) 09:37 판
1 개요
- telnet으로 smtp요청하기
- telnet 프로토콜을 사용하여 smtp 통신, 즉 메일을 보낸다.
Console
Copy
$ telnet localhost smtp
Trying ::1...
Connected to localhost.
Escape character is '^]'.
220 <hostname> <mta > Thu, 23 Aug 2018 09:22:02 +0900
MAIL FROM:<sender@domain.com>
250 OK
RCPT TO:<recipient@remotedomain.com>
250 Accepted
DATA
<메세지 내용을 입력한다.>
.
250 OK id=<mail id>
quit
221 <hostname> closing connection
Connection closed by foreign host.
2 같이 보기
3 참고
편집자 Estanthan7 Jmnote
로그인하시면 댓글을 쓸 수 있습니다.