home *** CD-ROM | disk | FTP | other *** search
/ Magazyn Amiga Shareware Floppies / ma62.dms / ma62.adf / Voyager10 / Rexx / mailsmtppost next >
AmigaDOS Script File  |  1996-05-03  |  512b  |  23 lines

  1. .KEY TOADDRESS/A
  2. .BRA {
  3. .KET }
  4. ; set the script bit (protect +s) and call this from V
  5. ; with {path}:mailsmtppost "%h" 
  6. ; Generate To: and Subject: headers
  7. echo >T:V-Mailto.{$$} "To: {TOADDRESS}*NSubject: *N"
  8.  
  9. ; Append signature (change $HOME/.signature to the path and filename
  10. ; where your signature resides).
  11.  
  12. type >>T:V-Mailto.{$$} s:$user.signature
  13.  
  14. startCED -s T:V-Mailto.{$$}      ; CygnusED V3.5
  15.  
  16.  
  17. amitcp:bin/smtppost -f$user <T:V-Mailto.{$$}
  18.  
  19. ; Clean up temporary files.
  20.  
  21. delete >NIL: T:V-Mailto.{$$}
  22.