Telnetコマンド

TELNETでメール受信

ユーザ名の入力user ユーザ名
パスワードの入力pass パスワード
受信メールの件数表示stat
受信メール一覧の表示list
メール内容の表示retr メール番号
メールの削除dele メール番号


例)
 telnet
 set codeset JIS Kanji  ...   ※1
 open pop.hogehohe.com 110
 user xxxxxxxx
 pass xxxxxxxx
 stat
 list
 retr 1

※1 WindowsのTELNETはデフォルトの文字コードがShift JISなので
  日本語のメールが文字化けしてしまう為、明示的に文字コードを指定する。

Telnetでメール送信

telnet smtp.hogehoge.com 25
helo hogehoge.com
mail from: test@hogehoge.com
rcpt to: test@hogehoge.com
data
subject: TestMail
from: test@hogehoge.com
to: test@hogehoge.com

TEST MAIL!
.

トップ   差分 バックアップ リロード   一覧 単語検索 最終更新   ヘルプ   最終更新のRSS
Last-modified: 2009-05-28 (木) 17:06:23 (5440d)