HP NetMail/3000 Manual do Utilizador Página 89

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 102
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 88
NetMail/3000 Menu Interface
Users Guide
2-89
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.
Vista de página 88
1 2 ... 84 85 86 87 88 89 90 91 92 93 94 ... 101 102

Comentários a estes Manuais

Sem comentários