Windows

SMTP Telnet 이용 하여 메일 보내기 테스트(mail send test)

Dongkkase 2016. 3. 22. 16:02
반응형

1.시작 > 실행 > cmd > telnet localhost 25

2. ehlo 127.0.0.1

3. mail from:test@domain.co.kr

4. rcpt to: your_mail@domain.co.kr

5. data

6. subject: test subject

8. test content

9. .

마지막음 마침표를 입력한다.



ehlo 127.0.0.1

250-WIN-GLO2H3S8F7E Hello [127.0.0.1]

250-TURN

250-SIZE 2097152

250-ETRN

250-PIPELINING

250-DSN

250-ENHANCEDSTATUSCODES

250-8bitmime

250-BINARYMIME

250-CHUNKING

250-VRFY

250 OK

mail from:admin@127.co.kr

503 5.5.2 Sender already specified

rcpt to: dev@crespe.co.kr

501 5.5.4 Unrecognized parameter: dev@crespe.co.kr

rcpt to: dev@crespe.co.kr

250 2.1.5 dev@crespe.co.kr

data

354 Start mail input; end with <CRLF>.<CRLF>

subject: testmail

this is test mail

.

250 2.6.0 <WIN-GLO2H3S8F7Ey6dw00000001@WIN-GLO2H3S8F7E> Queued mail for delivery


반응형