![]() |
![]() HP OpenVMS Systemsask the wizard |
![]() |
The Question is: Hello Wizard I would like to get messages out of a mailbox (eg. my own) and into a Vms-file. The reason for this is that the mail system should be able to communicate automaticly with other nodes on the internet. Sending is no problem since it can be done from the DCL -prompt. But as i see, extract works only from the MAIL-prompt. I would furthermore like to be able to do it without using C, pascal or other languages, but only using pure DCL and calls from there. Is it possible ? The Answer is : The following DCL command procedure will extract all new mail messages into a file called NEWMAIL.TXT, then move the messages into a folder called EXTRACTED (which you will need to create manually before executing the procedure). $ MAIL SELECT/NEW EXTRACT/ALL NEWMAIL.TXT FILE/ALL EXTRACTED EXIT $ EXIT If there are no new messages, the file is not created.
|