home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 35 Internet / 35-Internet.zip / mailto.zip / readme.txt < prev    next >
Text File  |  2002-06-24  |  2KB  |  50 lines

  1. MAILTO - A simple SMTP mailer program.
  2. by Mike Ruskai <thanny@netcarrier.com>
  3.  
  4. This program is for automating the sending of simple e-mails.  It was 
  5. written to fill a specific need, and is now being released, with a very 
  6. slight amount of added functionality, so that anyone else who has a similar 
  7. need may see said need fulfilled.
  8.  
  9. Usage:  mailto <options>
  10.  
  11. Options:
  12.  
  13. /s<smtp server> - SMTP server to use
  14. /f<from address> - from e-mail address
  15. /t<to address> - to e-mail address
  16. /d<filename> - file containing mail data to send
  17. /u<filename> - file containing list of addresses
  18. /nd - do not generate Date header line
  19.  
  20. Ex. mailto /ssmtp.myisp.com /fme@myisp.com /tyou@yourisp.com /dmsg.txt
  21.  
  22. You can skip the /s parameter by setting a SMTPHOST environment variable to 
  23. the hostname of your SMTP server.
  24.  
  25. The from and to addresses must be unembellished.  These are used for 
  26. message routing.  The formatted display (with name in quotes and address in 
  27. brackets, in most cases) is written as headers in the message body (see 
  28. example below).  The list of addresses should be plain text, with one 
  29. unembellished address per line (use Cc,Bcc, or additional To header fields 
  30. if you want formatted addresses).
  31.  
  32. The data file must contain all desired header information (e.g. From, To, 
  33. Subject, etc.).
  34.  
  35. A simple mail data file:
  36. -----
  37. From: "Me" <myaddress@myisp.com>
  38. To: "You" <youraddress@yourisp.com>
  39. Subject: Testing
  40.  
  41. This is the message body
  42. -----
  43.  
  44. An automatically generated Date header is prepended to the message (with 
  45. the current date and time) unless you use the /nd option (in which case you 
  46. should supply your own Date header).
  47.  
  48. This program may be distributed and modified freely.  No modification may 
  49. be sold, and credit should be given for the original work.
  50.