HP NetMail/3000 manual Programmatic Access

Page 89

NetMail/3000 Menu Interface

Users Guide

Programmatic Access

NetMail/3000 can be invoked as a son process to send electronic messages or files under programmatic control. The rules are similar to those used for batch processes - invoke the pro- gram NETMAIL.SYS.THREEK (with an appropriate INFO= parameter if necessary) and supply it the input fields it will need when processing the commands. This is most easily accomplished by writing the input data to an ascii file, then invoking the NetMail process with a ;STDIN= <the ascii file>.

Care should be taken when invoking NetMail/3000 programmatically in interactive mode. It is advisable to generate the message to be sent as a separate file in itself rather than letting Net- Mail/3000 invoke the user’s designated message editor. While this may be desirable in some cases, you may not know in advance what editor the user has chosen, and the effects of whatever potential editor is invoked should be accounted for (i.e. some editors may clear the screen, go into block mode, etc.).

NetMail/3000 will list all mail messages currently in the “INBOX” folder when invoked (if AUTOLIST is on, which is the default), so your application should be able to accommodate that. Messages may also be listed again after commands are processed.

We provide an RL and USL file for MPE/V sites in our standard distribution tape with a routine called “KOMMAND”, which is a replacement for the “COMMAND” intrinsic with the additional capability of being able to programmatically execute a :RUN command, complete with all MPE parameters, and even a few additional ones. See the .DOC files in the THREEK account for more information on these routines.

For MPE/iX sites, the HPCICOMMAND intrinsic can parse :RUN commands for you, saving you the hassles of setting up the parameters for the CREATEPROCESS intrinsic if you’re not already familiar with it.

2-89

Image 89
Contents Menu Interface What You Need to Know About Sending Electronic Mail NetMail/3000 Menu Interface Users Guide NetMail/3000 Menu Interface Users Guide NetMail/3000 Menu Interface Users Guide 70901.987@COMPUSERVE.COM What Are Mail Addresses?RUN NETMAIL.SYS.THREEK Running the NetMail ProgramBasic Operations ALT Key Cursor Keys Function Keys Message Options Compose/Send Message NetMail/3000 Menu Interface Users Guide NetMail/3000 Menu Interface Users Guide NetMail/3000 Menu Interface Users Guide NetMail/3000 Menu Interface Users Guide NetMail/3000 Menu Interface Users Guide NetMail/3000 Menu Interface Users Guide NetMail/3000 Menu Interface Users Guide NetMail/3000 Menu Interface Users Guide NetMail/3000 Menu Interface Users Guide NetMail/3000 Menu Interface Users Guide Recipients Help Finding Mail Names NetMail/3000 Menu Interface Users Guide Delete Message NetMail/3000 Menu Interface Users Guide File Away Message Forward Message NetMail/3000 Menu Interface Users Guide NetMail/3000 Menu Interface Users Guide Print Message Read Message NetMail/3000 Menu Interface Users Guide Reply to Message NetMail/3000 Menu Interface Users Guide NetMail/3000 Menu Interface Users Guide Write to File NetMail/3000 Menu Interface Users Guide Save Attachment NetMail/3000 Menu Interface Users Guide NetMail/3000 Menu Interface Users Guide Option Selections Set Signature NetMail/3000 Menu Interface Users Guide Verify Delete Set Printer Set Notification NetMail/3000 Menu Interface Users Guide Set Editor Set Auto Spell Checking Set Password Set Language Set Auto Reply Mailbox Names Spellcheck a File Display Selections Set Pause Set Headings Set Auto MultiMedia Set Listing Set Interface Set Mime Set Uuencode Set Binhex Folder Selections Goto Folder Create Folder Destroy Folder Mailing List Selections Add Mailing List NetMail/3000 Menu Interface Users Guide Remove Mailing List Edit Mailing List NetMail/3000 Menu Interface Users Guide NetMail/3000 Menu Interface Users Guide Subscribe Mailing List Unsubscribe Mailing List Expand Mailing List NetMail/3000 Menu Interface Users Guide Show All Mailing Lists Help NetMail/3000 Menu Interface Users Guide Exit 11MANAGER NetMail in Batch JobsNetMail/3000 Menu Interface Users Guide Join *Y E Programmatic Access MultiMedia Mail NetMail/3000 Menu Interface Users Guide SET NETMAILMM=C\NETMAIL MultiMedia Installation and SetupMultiMedia Operation NetMail/3000 Menu Interface Users Guide MultiMedia Customization Wav = soundrec.exe Setjcw NETMAILHPTERM=1 Special Terminal TypesHp3000 on &hostcontrol Hostcopy run monitor.pub.sys HP AdvanceLink Terminal EmulatorMinisoft’s MS92 Terminal Emulator Unison Software’s Business Session Terminal Emulator WRQ’s Reflection Terminal Emulator 102