home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / next / programm / 7391 < prev    next >
Encoding:
Text File  |  1992-11-24  |  2.2 KB  |  54 lines

  1. Newsgroups: comp.sys.next.programmer
  2. Path: sparky!uunet!stanford.edu!leland.Stanford.EDU!news
  3. From: spagiola@frinext.stanford.edu (Stefano Pagiola)
  4. Subject: Re: How does the NeXT embed objects in mail messages (file format)?
  5. Message-ID: <1992Nov24.035323.5043@leland.Stanford.EDU>
  6. Sender: news@leland.Stanford.EDU (Mr News)
  7. Reply-To: spagiola@frinext.stanford.edu
  8. Organization: DSO, Stanford University
  9. References: <1992Nov23.181849.22602@doug.cae.wisc.edu>
  10. Date: Tue, 24 Nov 92 03:53:23 GMT
  11. Lines: 41
  12.  
  13. Tom Wuttke writes
  14. > I do not have a Next, but someone I know mails me messages with 
  15. > embedding things like sounds, pictures, and formatted text.  When I 
  16. > look at the raw mail files, they look exactly like uuencoded 
  17. > binaries.
  18. > So, the first thing I do is uudecode them.  This usually results
  19. > in a file with a name like .tar.148.jpeg_FAQ.attach
  20. > Then, I proceed to assume that this is a tar archive of all
  21. > the embedded objects, so I run this into tar to look at the
  22. > list of files using syntax like:
  23. > tar -tf .tar.148.jpeg_FAQ.attach
  24. > This always gives me a table of contents error, or a "hmmm, this 
  25. > doesn't look like a tar file to me" error on the Next.
  26. > I believe the first part was right, uudecoding the message,
  27. > but what should I do with this binary file that comes out of
  28. > it, that seems like it should be an ordinary tarfile, but isn't?
  29.  
  30. I believe its both tarred and compressed.  If you rename the file  
  31. 148.jpeg_FAQ.attach.tar.Z and run it through uncompress and tar, it  
  32. should come out fine.
  33. You'll get a bunch of files, so its best to do this inside a  
  34. directory you create for the purpose.  One of these files is called  
  35. index.rtf.  This is the body of the message in Rich Text Format  
  36. (RTF).  The rest of the files and directories are the attachments.   
  37. Hopefully they are files that can be opened on the receiving system.    
  38. If you have an editor that can read RTF files, use it to open  
  39. index.rtf .  It will have the body of the text.  There will be no  
  40. text if just an attachment was sent. 
  41.  
  42.  
  43. --
  44. -
  45. Stefano Pagiola
  46. Food Research Institute, Stanford University
  47. spagiola@frinext.stanford.edu (NeXTMail encouraged)
  48. spagiola@FRI-nxt-Pagiola.stanford.edu (NeXTMail encouraged)
  49.