PMDF User's Guide
OpenVMS Edition


Previous Next Contents Index

8.4.1 Sending Messages From DCL

From DCL, you can send a file as a message to one or more users with the command


$ PMDF MAIL/SUBJECT="subject" file-spec "recipient-address" 
where file-spec is the name of the file to send and recipient-address is the addressee (or addressees) to whom to send the file.

For instance, the command


$ PMDF MAIL/SUBJECT="Your report" CRITIQUE.TXT JOHN
sends the file CRITIQUE.TXT to the local user JOHN. To specify more than one recipient address, separate each address with commas. For instance,


$ PMDF MAIL/SUBJECT="Price Quote" quote5.txt "bob@example.com", "sue@example.com"

Wildcard characters are not allowed in the file specification; if not specified, the file type is assumed to be .TXT. The /SUBJECT qualifier is optional and can be omitted. See Section 8.14 for a complete description of the available qualifiers.


Previous Next Contents Index