PMDF System Manager's Guide
PMDF-REF-6.0


Previous | Contents

28.3 Sending mail with the symbiont

Mail is sent with the queue to e-mail symbiont by printing a file with the OpenVMS PRINT command. Addressing information can either be specified with the /PARAMETER qualifier or embedded in the message body in a format acceptable to an addressing channel.

The recognized parameters are shown in Table 28-1 .

Table 28-1 Queue to e-mail symbiont parameters
Parameter Usage
BCC List of one or more addresses to which to send a blind carbon copy.
CC List of one more addresses to which to send a carbon copy.
ENCODING Encoding format to use; may be one of BASE64, HEXADECIMAL, QUOTED_PRINTABLE, or UUENCODE.
FROM Address to use as the message's From: address; requires that the option FROM_ALLOWED be set to 1 in the option file.
HEADERS The symbiont is to use the RFC 822 headers already present in the file; does not take a value.
MODE File access mode to use; may be one of CRATTRIBUTE, LFATTRIBUTE, CRLFATTRIBUTE, BLOCK, RECORD, or TEXT.
SUBJECT Subject: line to use for the message.

For example, the PRINT command

$ PRINT/QUEUE=Q2EMAIL/PARAMETER=(TO="mrochek@acme.com",-
_$   CC="bob@acme.com,sue@acme.com",SUBJECT="Test message") -
_$   message.txt
would send, via the queue Q2EMAIL, the file message.txt to mrochek@acme.com, bob@acme.com, and sue@acme.com. The Subject: line will read "Subject: Test message".

To print a Word Perfect PostScript file doc.ps to the PS-FAX channel, a command of the following form might be used:

$ PRINT/QUEUE=Q2EMAIL/PARAMETER=(MODE=BLOCK,ENCODING=BASE64,-
_$   TO="""/fn=621 5319/at=Mrochek/""@ps-fax") doc.ps

When mail is to be sent from a remote system (e.g., via LPD), then all of the addressing information may be embedded in the message body in a format acceptable to the addressing channel to which the message will be routed (since it will lack TO, BCC, or CC parameters specifying where to route it).


Previous | Next | Contents