  SMTP MAIL, DCL Programming? 
 The Question is:
 
We currently run TCPware for OpenVMS v5.4. Can someone tell me if it is
 possible to write some DCL to automatically send out an SMTP mail message to a
 specified address? If so, how do I code this?
 
Thanks,
 
Steve
 
 The Answer is :
 
  Please contact Process Software for assistance on TCPware.
 
  For OpenVMS MAIL and for TCP/IP Services for OpenVMS, the command
  to send a mail message is MAIL.
 
    $ MAIL filename username
 
  Since the target username for an SMTP user contains an at-sign (and
  the at-sign has special meaning to DCL), you must quote a target
  username containing an at-sign.  For instance:
 
    $ MAIL/SUBJECT="Hello" NLA0: "user@host"
 
  As to how you code DCL, please see the available DCL documentation,
  such as the OpenVMS User's Guide.  Also please see the bibliographic
  information in the OpenVMS FAQ for pointers to various books on
  OpenVMS-related subjects.
 
 Answer written or last revised on  13-AUG-2001 
