You should continue to use VMS MAIL like you always have in the past. The only change in your usage will be how you specify addresses when sending mail to PMDF. When addressing a message to PMDF, enclose the address in double quotes,¹ and prefix the (now quoted) address with IN% as shown below:
IN%"address"For example,
$ MAIL MAIL> SEND/CC To: in%"mrochek@puppy.farm.org",in%"beckett@puppy.farm.org" Cc: in%"misha@summer.innosoft.com" Subj: Full moon tonight! Enter your message below. Press CTRL/Z when complete, or CTRL/C to quit: There's a full moon tonight. Let's meet in the back alley and have a howling good time. \Rex CTRL/Z MAIL>After you have entered the addresses, continue as you normally would; i.e., supply a subject line, enter the message body, etc. After you end the message with a CTRL/Z, it will be sent; no other action on your part is required. As usual, if you enter a CTRL/C, the message send will be aborted.
Note:
If you are using PMDF MAIL, then you should omit the IN% prefix and enclosing double quotes. They are not required.
Each address you specify with the IN% prefix must be in "RFC 822 format". This format, for those technically inclined, is specified in the document Standard for the Format of ARPA Internet Text Messages (RFC 822), a copy of which may be found in the PMDF_ROOT:[DOC.RFC] directory.² Here are some sample addresses, all in RFC 822 format:
in%"mrochek@puppy.farm.org" in%"Mro the dog <mrochek@puppy.farm.org>" in%"'V. Mrochek' <mrochek@puppy.farm.org>" in%"mrochek@puppy.farm.org (Mro the dog)"These samples all specify the same address,
mrochek@puppy.farm.org
.
Warning:
Failure to properly terminate any quoting used in VMS MAIL addresses (i.e., omitting a closing double quote, " ) may cause problems. Some versions of VMS MAIL will go into an infinite loop if quoting is not properly terminated. More recent versions of VMS MAIL will signal a fatal error and abort if unbalanced quotes are used. This is strictly a problem with VMS MAIL and not with PMDF; PMDF is not involved in any way with this part of VMS MAIL error handling.
PMDF allows multiple, comma-separated RFC 822 addresses inside of a single IN% construct; for example,
IN%"USER1@SYSTEM1.ACME.COM, USER2@SYSTEM2.ABC.EDU"While this format saves a certain amount of repetitive typing, it does, however, inhibit somewhat the transformation logic PMDF uses when trying to correct syntactically illegal addresses. Furthermore, in the event of an error, the particular address causing the problem will not be identified, since, owing to limitations of VMS MAIL, error reporting is done on a per-IN% construct basis.