home *** CD-ROM | disk | FTP | other *** search
/ PDA Software Library / pdasoftwarelib.iso / PSION / COMMS / PSIONMAI / PMFULLSO / SUNMAIL / DOINCOMM < prev    next >
Encoding:
Text File  |  1995-07-06  |  629 b   |  28 lines

  1. #!/bin/csh
  2. echo doincomming Initialising
  3. source setupenv
  4. echo geting the remaining incomming mail
  5. getincomming
  6. echo compressing filenames
  7. setenv incount `complistfiles in.mta`
  8. echo $incount files from psion
  9. echo getting new emails
  10. dopop $incount
  11. # munge the headers
  12. echo "Extracting Headers"
  13. doheaders
  14. # make the lines acceptable to the psion
  15. echo "Shortening lines"
  16. doshorten
  17. # build the in.mta file
  18. createinmta
  19. # build the transfer program
  20. echo "Building the transfer command"
  21. buildintrans
  22. # actualy do the transfer
  23. echo "Transfering the files"
  24. dotrans
  25. # tidy up
  26. echo Deleting temporary files
  27. dotidy
  28.