HELO test.com.tw
mail from:test@test.com.tw
rcpt to:test@testdomain.com.tw
data
Subject:test
xxxxxxxxxxx
.
HELO domainname.com.tw
這句是SMTP主機之間通訊的開頭問候語HELO,後面要帶一個網域名稱。
mail from:test@test.com.tw
宣告寄件者的來源、名稱。
rcpt to:test@testdomain.com.tw
告訴對方主機,這封信件要寄給誰或是哪個帳號。
data
告訴對方主機,準備要輸入訊息了(E-mail內文)
Subject:test
輸入主旨為test
xxxxxxxxxxx
這個部分就是內文,不一定要xxxxxxxxxxx,可以是任意字串
.
輸入完畢之後,要以一個單獨的 . 作為結束。
如果有任何錯誤,或是其他問題,都會在中間產生錯誤訊息。
除非對方主機設定DISCARD,就是先收取,然後丟棄且不提示。
USER name valid in the AUTHORIZATION state
PASS string
QUIT
STAT valid in the TRANSACTION state
LIST [msg]
RETR msg
DELE msg
NOOP
RSET
QUIT
Optional POP3 Commands:
APOP name digest valid in the AUTHORIZATION state
TOP msg n valid in the TRANSACTION state
UIDL [msg]
POP3 Replies:
+OK
-ERR
telnet mail.xxxxxxx.com.tw 25
auth login
....如果打了...auth login 有出現 334 XXXXxxxxXXX的話...表示 smtp 有開認證功能
- Jan 31 Thu 2008 14:26
mail 相關指令
全站熱搜
留言列表
發表留言