Appendix C - Example of XRSQ T (Text First)
Using the same message as the previous example:
U: XRSQ ?
S: 215 T Text first, please.
XRSQ is indeed implemented, and the server says that it prefers "T", but that needn't stop the user from trying something else:
U: XRSQ R
S: 501 Sorry, I really can't do that.
Oh well. It's possible that it could have understood "R" also, but in general it's best to use the "preferred" scheme, since the server knows which is most efficient for its particular site. Anyway:
U: XRSQ T
S: 200 OK, using that scheme.
Scheme "T" is now selected, and the text must be sent:
U: MAIL
S: 350 Type mail, ended by <CRLF>.<CRLF>
U: Blah blah blah blah....etc etc etc
U: .
S: 256 Mail stored.
Now recipients can be specified:
U: XRCP Foo
S: 256 Stored mail sent.
U: XRCP Raboof
S: 520 Who's that? No such user here.
U: XRCP bar
S: 256 Stored mail sent.
Again, the text has now been sent to both "Foo" and "bar", and still remains stored. A new message can be sent with another MAIL/XRCP... sequence, but the fastidious or paranoid could chose to do:
U: XRSQ ?
S: 215 T Text first, please.
Which resets things without altering the scheme in effect.