home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / os / vms / 13852 < prev    next >
Encoding:
Internet Message Format  |  1992-08-19  |  2.1 KB

  1. Path: sparky!uunet!pipex!unipalm!uknet!glasgow!unix.brighton.ac.uk!kej
  2. From: kej@unix.brighton.ac.uk (-* Terminal Rat *-)
  3. Newsgroups: comp.os.vms
  4. Subject: Re: Undocumented MAIL qualifier
  5. Message-ID: <1992Aug19.120646.9659@unix.brighton.ac.uk>
  6. Date: 19 Aug 92 12:06:46 GMT
  7. References: <1992Aug17.182226.29126@henson.cc.wwu.edu>
  8. Organization: Brighton Polytechnic, UK
  9. Lines: 40
  10.  
  11. n8846069@henson.cc.wwu.edu (Barry) writes:
  12. > There is an undocumented MAIL qualifier I have seen
  13. > people use to extract an image file from a message.
  14. > EXTRACT/FOREIGN is the usage they used.
  15. > How extactly does this work?  And how did they create
  16. > the special message to begin with?
  17. > -BarryB
  18.  
  19.  The /foreign qualifier is undocumented as you noted. As far
  20.  as I can tell if you MAIL or SEND a file from the DCL command
  21.  line or within MAIL itself specifying /FOREIGN then it will
  22.  treat the file as an image or binary file. If you know a little
  23.  about mail you will already know that "large" mail messages are
  24.  not actually stored within the recipients MAIL.MAI file but
  25.  are actually given a unique filename outside of the MAIL.MAI file
  26.  and then a pointer within MAIL is set to that filename.
  27.  
  28.  I assume that this prevents large overheads occuring while extending
  29.  the size of the MAIL file. Well anyway the /FOREIGN command just
  30.  appears to force this to occur because the file being sent is
  31.  assumed to be unreadable anyway. It sets a flag within the MAIL.MAI
  32.  file for that particular message which MAIL interprets and signals
  33.  with the special message you mention.
  34.  
  35.  The upstart of all this means that you can basically use MAIL to
  36.  send "any" type of file (Although I wouldn't recommend it) to a
  37.  user and when they EXTRACT it to a new file it will (hopefully)
  38.  be intact and usable ! I sometimes send test files to myself from
  39.  other usernames and find that it works fine.
  40.  
  41.  One question I'd like to know about it though is will it work over
  42.  a network ? As we only have access to JANET from our VMS system I
  43.  can test it for that but as for other nets ???????????
  44.  
  45.    Keith Jones
  46.  
  47.    [ kej@uk.ac.brighton.vms  ]
  48.    [ kej@uk.ac.brighton.unix ]
  49.