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%9!'(Buso@dokoka.no.jp
$BAw$kAj

$B"%(BTop

6-2:BatterTelnet$B$G(BSMTP

$B!!$G$O(BBatterTelnet$B$rMxMQ$7$F!"%a!<%k$rAw?.$7$F$_$^$9!#$3$3$G$O:G$bC1=c$JJ}K!$r@bL@$7$^$9!#K\Ev$O$b$C$H5$$r$D$1$J$$$H4m81$G$9$N$G!"l9g$O(BTCP/IP$B4XO"$N=q@R$rFI$s$G$+$i9T$&$3$H$r$*>)$a$7$^$9!#(B

$B!!@\B3$O(BHTTP$B$N;~$H$[$\F1$8$G$9!#(B
$B!!(BBetterTelnet$B$rN)$A>e$2!"%a%K%e!<$N!V(BFile$B!W$+$i!V(BNew Connection$B!D!W$rA*Br$7$F!"(BHost Nem$B$K!V(Bsmtp.dokoka.no.jp 25$B!W$H$&$A!"(BConnect$B%]%?%s$r2!$7$^$9!#(B
$B!!@\B3$K@.8y$9$k$H!"(B
220 smtp.dokoka.no.jp ESMTP server (EIMS v3.02) ready Mon,1 Jan 2000 1:00:00 +0900
$B!!$N$h$&$KI=<($5$l$^$9!#(B

$B$G$O%a!<%k$rAw$C$F$_$^$7$g$&!#=i$a$F$G$9$N$G$3$3$G$O<+J,<+?H$KAw$C$F$_$F$/$@$5$$!#(B
HELLO
$B$H$&$A2~9T$7$^$9!#$9$k$H(B
250 smtp.dokoka.no.jp
$B$HI=<($5$l$^$9!# MAIL From: uso@dokoka.no.jp
$B$HBG$A2~9T$7$^$9!#$9$k$H!"(B
250 Sender <uso@dokoka.no.jp> ok
$B$HI=<($5$l$^$9!# RCPT To: uso@dokoka.no.jp
$B$HBG$A2~9T$7$^$9!#$9$k$H(B
250 Recipient <uso@dokoka.no.jp> ok
$B$HI=<($5$l$^$9!# DATA
$B$HBG$A2~9T$7$^$9!#$9$k$H(B
354 ok Send data endig with <CRLF>.<CRLF>
$B$HI=<($5$l$^$9!# $B$3$s$K$A$O!"$O$8$a$F(BBatterTelnet$B$G%a!<%k$r=P$7$^$9!#(B
.
$B%a!<%k$N=*N;$O%T%j%*!<%I!J(B.$B!K$N$_$N9T$G2~9T$9$k$3$H$K$h$j!"CN$i$;$k$3$H$,$G$-$^$9!#%T%j%*!<%I$@$1$N9T$G2~9T$9$k$H!" 250 Message received: $BF|IU(B.ID@[$B$=$N;~$N<+J,$N(BIP$B%"%I%l%9(B]
$B$3$l$G=*N;$G$9$N$G!"%5!<%P!<$H$N@\B3$r@Z$j$^$9!#(B QUIT
221 smtp.dokoka.no.jp ESMTP server closing connection
$B$H$J$j$^$9!#$+$J$i$:(BQUIT$B$7$F@ZCG$7$F$/$@$5$$!#@ZCG$;$:$K$H$a$k$HHs>o$K4m81$G$9!#(B

$B!!$3$l$G%a!<%k$,Aw?.$G$-$F$7$^$$$^$9!#4JC1$G$9$M(B(^_^;)$B!#K\Ev$KFO$/$+3NG'$7$F$_$F$/$@$5$$!#(B

$B"%(BTop

6-3:SMTP$B>\:Y@bL@(B

$B!!>e$N@bL@$r$D$J$2$F8+$^$9!#@bL@$NJX59$N$?$a$K9THV9f$b9_$C$F$*$-$^$9!#(B
$B!!#1!'(BHELLO
$B!!#2!'(B250 smtp.dokoka.no.jp
$B!!#3!'(BMAIL From: uso@dokoka.no.jp
$B!!#4!'(B250 Sender <uso@dokoka.no.jp> ok
$B!!#5!'(BRCPT To: uso@dokoka.no.jp
$B!!#6!'(B250 Recipient <uso@dokoka.no.jp> ok
$B!!#7!'(BDATA
$B!!#8!'(B354 ok Send data endig with <CRLF>.<CRLF>
$B!!#9!'$3$s$K$A$O!"$O$8$a$F(BBatterTelnet$B$G%a!<%k$r=P$7$^$9!#(B
$B#1#0!'(B.
$B#1#1!'(B250 Message received: $BF|IU(B.ID@[$B$=$N;~$N<+J,$N(BIP$B%"%I%l%9(B]
$B#1#2!'(BQUIT
$B#1#3!'(B221 smtp.dokoka.no.jp ESMTP server closing connection

$B!!(B1$B9TL\$O$3$l$+$i%a!<%k$rAw$k$?$a$N%a%=%C%I$G$9!#(B
$B!!(BSMTP$B$K$b(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<$N$h$&$KAw?.$5$l$^$9!#(B
$B%a!<%k%=%U%H!J<+J,!K"*(BSMTP$B%5!<%P!<"*B>$N(BSMTP$B%5!<%P"*(BPOP$B%5!<%P!<"*Aj $B!!DL>o:G=i$N(BSMTP$B%5!<%P$O<+J,$N%W%m%P%$%@!<$NJ*$rMxMQ$9$k$O$:$G$9!#$7$+$7!"(BSMTP$B$H$$$&%W%m%H%3%k$OC1$K%a!<%k%=%U%H$,Aw$C$F$-$?%3%^%s%I$rI|>'$7$F $B!!$3$l$r1~MQ$7$F!"!VB>?M$N(BSMTP$B%5!<%P!<$rMxMQ$7$?IT@5Cf7Q!W$H$$$&HH:a$,9T$o$l$F$$$^$9!#$7$+$7!"$@$l$K$G$b$G$-$k$N$G$3$l$O7k9=LdBj$G$9!#!#!#$J$K$;B>?M$N(BSMTP$B%5!<%P!<$H$$$&$N$O%a!<%k$N%X%C%@$K=q$-9~$^$l$^$9$N$G!"(BTelnet$B;H$($P$@$l$G$b@\B3$G$-$^$9$7!"$=$N$^$^%a!<%k$@$C$FAw$l$F$7$^$$$^$9$+$i(B(^_^;)$B!#(B

$B!!0J2<$N$h$&$K$9$l$P!"$^$C$?$/2M6u$N%a!<%k%"%I%l%9$+$i%a!<%k$rAw?.$G$-$k!#(B
HELLO
250 smtp.dokoka.no.jp
MAIL From: uso@dokoka.no.jp
250 Sender <uso@dokoka.no.jp> ok
RCPT To: uso@dokoka.no.jp
250 Recipient <uso@dokoka.no.jp> ok
DATA
354 ok Send data endig with <CRLF>.<CRLF>
Received: from pop.uso.no.jp ([110.110.110.110]) by smtp.uso.no.jp with SMTP
From: uso<uso@uso.no.jp>$B!J"+$3$3$OK\Ev$K$3$N$^$^!K(B
To:hoge<hoge@hoge.com>$B!J"+$3$3$O<+J,$N%a%k%"%I$K$9$k!K(B
Subject:UsoYO
X-Mailer: BatterTelnet
($B$3$3$K6u2~9T$r$$$l$k(B)
$B$3$s$K$A$O!"$O$8$a$F(BBatterTelnet$B$G2M6u%"%I%l%9$+$i%a!<%k$r=P$7$^$9!#(B
.
250 Message received: $BF|IU(B.ID@[$B$=$N;~$N<+J,$N(BIP$B%"%I%l%9(B]
QUIT
221 smtp.dokoka.no.jp ESMTP server closing connection

$B!!1~MQ$7$F$$$/$H$b$C$H4m81$J;v$b$G$-$F$7$^$$$^$9$,!&!&!&!&@bL@$9$k$H$5$9$,$K$d$P$$$N$G$7$^$;$s!#$"$/$^$GJY6/$K$@$1MxMQ$7$F$/$@$5$$!#(B


6-5:BatterTelnet$B$G(BPOP3

$B!!(BPOP3$B$O(BSMTP$B$h$j$b(B$B$5$i$K4m81(B$B$G$9!#AG?M$K$O07$$@Z$l$^$;$s!#CN<1$N0lIt$H$7$F5-=R$O$7$^$9$,!"JY6/DxEY$K$7$F$/$@$5$$!#(B
$B!!@\B3$O$$$D$b$N$h$&$K!"%a%K%e!<$N!V(BFile$B!W$+$i!V(BNew Connection$B!D!W$rA*Br$7$F!"(BHost Nem$B$K!V(Bpop.dokoka.no.jp 110$B!W$H$&$A!"(BConnect$B%]%?%s$r2!$7$^$9!#(B
$B!!@\B3$,@.8y$9$k$H!"(B
+OK EIMS (version 3.01) at pop.dokoka.no.jp starting <ID@uso.dokoka.no.jp>
$B!!$J$I$HI=<($5$l$^$9!#(B

$B!!$G$O4JC1$K%a!<%k$N +OK EIMS(I%%%%(B
USER hoge
+OK Password required for hoge
PASS ***************
+OK hoge has 3 messages (1204 octets).
STAT
+OK 3 2404
LIST
+OK 3 messages (1204 octets)
1 404
2 400
3 400
.
RETR 2
+OK 400 octets
($B%a!<%k$NFbMF$,I=<($5$l$k(B)
DELE 2
+OK Message 2 has been deleted.
QUIT
+OK pop server at pop.dokoka.no.jp signing off.

$B!!%a!<%k%=%U%H$H$O0c$$!"(BTelnet$B$G$O


6-6:POP3$B>\:Y@bL@(B

$B!!(BPOP3$B$N%3%^%s%I$OBg$-$/JL$1$k$H!"@\B3MQ%3%^%s%I$H!"%H%i%s%6%/%7%g%s!JJT=8Cf!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