telnet redhat52 25
您會看到這樣的回應﹕
Trying 192.168.0.17...
Connected to redhat52.siyongc.domain.
Escape character is '^]'.
220 redhat52.siyongc.domain ESMTP Sendmail 8.9.3/8.9.3; Sun, 5 Dec 1999 21:59:57 +1100
然後我們得先介紹一下自己的所在地﹕ HELO redhat52.siyongc.domain
250 redhat52.siyongc.domain Hello IDENT:root@redhat52.siyongc.domain
[192.168.0.17], pleased to meet you
正如您看到的回應﹐MTA 會非常友善的跟您打個招呼。
如果您要寄信的話﹐先把自己的地址寫在信封上(這是按照西方的信封書寫習慣啦)﹕ MAIL FROM:
root@redhate52.siyongc.domain
250
root@redhate52.siyongc.domain... Sender ok
如果您的地址沒問題﹐然後輸入收信人地址﹕ RCPT TO:
kenny@siyongc.domain
250
kenny@siyongc.domain... Recipient ok
如果收件人的地址沒問題的話(嘿﹗他們的效率還真快哦﹐不像我們的郵差﹐要等差不多一個星期才知道收信人地址不對)﹐接著您就可以輸入﹕ DATA
354 Enter mail, end with "." on a line by itself
以下就是寫信的內容了﹕ TO:
kenny@siyongc.domain
Subject: Test Only
Hello Kenny,
This is a test only.
.
250 WAA02035 Message accepted for delivery