Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!rutgers!ames!ucbcad!ucbvax!CITHEX.CALTECH.EDU!carl From: carl@CITHEX.CALTECH.EDU (Carl J Lydick) Newsgroups: comp.os.vms Subject: Re: VMSMail undocumented feature Message-ID: <870820143044.01i@CitHex.Caltech.Edu> Date: Thu, 20-Aug-87 17:36:26 EDT Article-I.D.: CitHex.870820143044.01i Posted: Thu Aug 20 17:36:26 1987 Date-Received: Sat, 22-Aug-87 19:47:17 EDT References: <4347@bunny.UUCP> Sender: usenet@ucbvax.BERKELEY.EDU Distribution: world Organization: The ARPA Internet Lines: 29 > There is an undocumented feature in VMSMail for sending messages > outside of the DECNET environment. I'm not sure how it works - but > I know the syntax: > > $ mail > MAIL> send > To: host%user Actually, the syntax is: To: protocol%address > At this point, mail trys to invoke a program called: > system$disk:[SYS0.][SYSLIB]host_MAILSHR.EXE > > Thats all I know. > Does anyone know - > 1) What the MailShr program is invoked to do? The mailshr shareable image is invoked to send the mail to the address specified. > 2) How are parameters sent to this program? > 3) Can I write this program in C? I have a copy of a program that uses this feature (written by Kevin Carosso) but I've never had time to look into it (it's written in PASCAL, a language with which I have very little experience). If you want a copy of the saveset, let me know and we'll work out some way of getting it to you.