PMDF System Manager's Guide


Previous Contents Index

27.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 27-1.

Table 27-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; can 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; can 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@example.com",-
_$   CC="bob@example.com,sue@example.com",SUBJECT="Test message") -
_$   message.txt
would send, via the queue Q2EMAIL, the file message.txt to mrochek@example.com, bob@example.com, and sue@example.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 can 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 Index