[comp.os.vms] VMSMail undocumented feature

carl@CITHEX.CALTECH.EDU (Carl J Lydick) (08/21/87)

 > 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.