PMDF User's Guide
OpenVMS Edition


Previous Next Contents Index

8.4.2 Sending Messages From Within PMDF MAIL

After invoking PMDF MAIL, enter the SEND command to create and send a mail message. You are prompted for the addresses of the intended recipients, the subject of the message (optional), and the text of the message (again, optional). In the following example, a message is sent to the local user BECKETT:


EMAIL> SEND
To: BECKETT
Subject: Lunch?
Enter your message below. Press CTRL/Z when complete, or CTRL/C to quit: 
Hungry yet? Interested in lunch?
I'm ready to go whenever you are.
 
Mrochek
[CTRL/Z]
EMAIL> 
Once CTRL/Z is pressed, the message is sent. Anytime prior to pressing CTRL/Z, you can cancel the message by pressing CTRL/C.

To use the editor when sending a mail message interactively, use the /EDIT qualifier


EMAIL> SEND/EDIT

Note

After answering the To: and Subject: prompts, the editor will be invoked. In the editor you will see the message header with the Date:, To:, From:, Subject:, and other header lines. Enter your message below those header lines. Be sure to leave a blank line between the last header line and the first line of your message. While you can alter the contents of the header lines and even delete optional header lines such as the Subject: header line, do not delete all of the header lines! If you delete the recipient information, To:, Cc:, and Bcc:, then the message will have no recipients and will therefore not be sent.

Once you have finished composing the message, save the message being edited and exit the editor. To cancel the send operation, exit the editor without saving the message. The default editor is EDT. For that editor, you would exit by pressing CTRL/Z and then entering the EXIT command. To cancel the send, you would press CTRL/Z and then enter the QUIT command.

The /EDIT qualifier can also be used with the FORWARD, READ and REPLY commands. By entering /EDIT when invoking PMDF MAIL,


$ PMDF MAIL/EDIT
you instruct PMDF MAIL to always put you in the editor when you compose new messages or reply to messages. See Section 8.9.2 for further details.

Should a message send attempt fail for some reason, you can often recover the message by resending it and specifying /LAST. This will resend the last message which you were working on.


Previous Next Contents Index