次に、メッセージの例 2(前述の例)での IPMM カンバセーションの例を示します。このメッセージは、この例の 2 人の受信者「Jane User」および「Joe User」に送信されます。
この例では、太字フォントは、D-Mode-enabled アプライアンスとの手動による SMTP カンバセーションで入力する内容です。また、モノスペース タイプのフォントは、SMTP サーバからの応答を表し、イタリック体フォントは、コメントまたは変数を表します。
接続が確立されます。
220 ESMTP
EHLO foo
250 - ehlo responses from the listener enabled for IPMM
カンバセーションが開始されます。
XMRG FROM:<user@domain.com> [Note: This replaces the MAIL FROM: SMTP command.]
250 OK
変数およびパーツが各受信者に設定されます。
XDFN first_name="Jane" last_name="User" color="red" *PARTS=1,2
[Note: This line defines three variables (first_name, last_name, and color) and then
uses the *PARTS reserved variable to define that the next recipient defined will receive
message parts numbers 1 and 2.]
250 OK
RCPT TO:<jane@company.com>
250 recipient <jane@company.com> ok
XDFN first_name="Joe" last_name="User" color="black" *PARTS=1
[Note: This line defines three variables (first_name, last_name, and color) and then
uses the *PARTS reserved variable to define that the next recipient defined will receive
message parts numbers 1 only.]
RCPT TO:<joe@company1.com>
250 recipient <joe@company1.com> ok
次に、パーツ 1 が送信されます。
XPRT 1 [Note: This replaces the DATA SMTP command.]
354 OK, send part
From: Mr. Spacely <spacely@example.com>
To: &first_name; &last_name; &*TO;
Subject: Thanks for Being an Example.Com Customer
&*DATE;
Dear &first_name;,
Thank you for purchasing a &color; sprocket.
.
次に、パーツ 2 が送信されます。LAST キーワードは、パーツ 2 がアセンブルする最後のパーツであることを示すときに使用されます。
XPRT 2 LAST
Please accept our offer for 10% off your next sprocket purchase.
.
250 Ok, mailmerge message enqueued
「250 Ok, mailmerge message queued」は、メッセージが受け取られたことを示します。
この例に基づいて、受信者 Jane User は、このメッセージを受信します。
From: Mr. Spacely <spacely@example.com>
To: Jane User <jane@company.com>
Subject: Thanks for Being an Example.Com Customer
message date
Dear Jane,
Thank you for purchasing a red sprocket.
Please accept our offer for 10% off your next sprocket purchase.
受信者 Joe User は、このメッセージを受信します。
From: Mr. Spacely <spacely@example.com>
To: Joe User <joe@company1.com>
Subject: Thanks for Being an Example.Com Customer
message date
Dear Joe,
Thank you for purchasing a black sprocket.