'메일보내기'에 해당되는 글 1건

  1. 2008.12.20 메일서버에서 메일 보내기
$telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.domain (127.0.0.1).
Escape character is '^]'.
220 localhost.domain ESMTP Sendmail 8.13.1/8.13.1; Sat, 19 Jul 2008 22:23:25 +0900
HELO localhost                                                               // localhost 대신 현재 telnet 접속한 메일서버 이름 적으세요. 
250 localhost.domain Hello CAS [127.0.0.1], pleased to meet you
MAIL FROM:csi@fbi.gov                                                  // 보내는 메일주소(가짜임)
250 2.1.0 csi@fbi.gov... Sender ok
RCPT TO:mindule337@hanmail.net                                   // 메일을 수신할 메일주소
250 2.1.5 mindule337@hanmail.net... Recipient ok
DATA                                                                            // 정보와 메일 본문
354 Enter mail, end with "." on a line by itself
Subject: test                                                                  // 메일 제목 
From: "FBI" <csi@fbi.gov>                                              // 메일 목록에서 "보낸이"에 들어갈 이름과 메일주소
To: <mindule337@hanmail.net>                                      //받는 메일주소

test                                                                              //  본문 내용
.                                                                                  // 메일 내용의 끝( . [엔터])
250 2.0.0 m9JTNPOW025296 Message accepted for delivery
QUIT                                                                            //  작업 종료
221 2.0.0 localhost.domain closing connection
Connection closed by foreign host.



악용하진 마세요'ㅡ'
Posted by 0xsecret
: