From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,e662f8bf0e04438d X-Google-Attributes: gidf7344,public X-Google-Thread: 1164f8,e662f8bf0e04438d X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1993-11-02 10:55:18 PST Xref: gmd.de comp.os.vms:34139 comp.sys.dec:11501 Path: gmd.de!xlink.net!math.fu-berlin.de!umn.edu!spool.mu.edu!darwin.sura.net!math.ohio-state.edu!usc!elroy.jpl.nasa.gov!decwrl!crl.dec.com!crl.dec.com!nntpd.lkg.dec.com!smaug.enet.dec.com!devarajan From: devarajan@smaug.enet.dec.com Newsgroups: comp.os.vms,comp.sys.dec Subject: Re: MAIL from an application? Date: 2 NOV 93 13:25:43 EDT Organization: Digital Equipment Corporation Message-ID: <2b68mt$diq@nntpd.lkg.dec.com> References: <1993Nov2.161403.209@vedur.is> NNTP-Posting-Host: bahamt.enet.dec.com In article <1993Nov2.161403.209@vedur.is>, gulli@vedur.is (Gunnlaugur Kristjansson) writes... >Hi. > >I have to mail a message from an application in VMS. What is the best >way to do that? Is there a program interface to MAIL? > >Best regards, >gulli >-- >--------------------------------------------------------------------------- >Gunnlaugur Kristjansson Email......: gulli@vedur.is >Systems Analyst PSImail....: 274011724200::gulli >Data Processing Division DECUS mail.: EDCHUB::KRISTJANSSON >Icelandic Meteorological Office COMPUSERVE.: 72461,2160 >Bustadavegi 9 Telephone..: +354 1 600600 >IS150 Reykjavik Telefax....: +354 1 28121 >Iceland. >--------------------------------------------------------------------------- You can either use a command procedure or the "Mail utility routines" (Pls. check in Utility routines manual). If you are using a command proceudre, keep all the mail related commands inside the command procedure, the messgae to be sent, etc. and execute the command procedure from inside your application. You may have something like this. $ mail/ . In this method you may not have much flexibility. Otherwise, you may use MAIL$xxx routines from inside your application, which might be faster in execution but might take development effort. R. Devarajan Digital, Littleton, MA