home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 26 / CD_ASCQ_26_1295.iso / vrac / mred225.zip / MOREINFO.ZIP / MAILSEND.TXT < prev    next >
Text File  |  1995-06-28  |  9KB  |  261 lines

  1.  
  2.             DataEnter, Michael Kocum
  3.             Taborstrasse 27/23
  4.             A-1020 Vienna
  5.             AUSTRIA
  6.  
  7.         CIS: 70143,1667
  8.         MHS: MICHAEL @ DEMK (via CSERVE)
  9.    Internet: michael@demk.co.at
  10.         Fax: +43/1/2143829
  11.  
  12.  
  13.  
  14.  
  15.  
  16. Introduction to MailSend
  17. ------------------------
  18.  
  19. MailSend is a addon for Microsoft Mail and Windows for Workgroups.
  20.  
  21. Its purpose is to send MS Mail messages from the command line or from
  22. batch files.
  23.  
  24. Some suggestion what you can do:
  25.  
  26. -After you overnight backup, send the backup log to your mailbox
  27.  
  28. -Send your monthly report to you boss
  29.  
  30. -In a more sophisticated enviroment, you can export data out of your
  31.  application, pass it to MailSend as an attachment. MailSend will send
  32.  it to the destination and there you can use MailExtr to convert it back
  33.  to a file and import it in your application. (In fact, a lot of
  34.  customers make there database updates via MailSend and MailExtr fully
  35.  automated)
  36.  
  37.  
  38.  
  39. System Requirements
  40. -------------------
  41.   DOS 3.3 or higher
  42.   Microsoft Mail, version 3.0 or above or
  43.   Windows for Workgroups, versions 3.1 or above
  44.  
  45.  
  46.  
  47. Installation
  48. ------------
  49.  
  50. Create a directory on your server and copy MAILSEND.EXE, APPGET.EXE and
  51. APPPUT.EXE into this directory. We suggest that you make a directory
  52. called MailSend below your MAILEXE, so its clear that MailSend belongs
  53. to MS Mail.
  54.  
  55.  
  56. Arguments
  57. ---------
  58.  
  59. MailSend uses the following arguments:
  60.  
  61. -f<Mailbox>          Mailbox name
  62. -p<Password>         Mailbox password (default no password)
  63.  
  64. -t<Dest>             Destination address in full Microsoft format
  65.                      (Network/Postoffice/User) or in the format your
  66.                      gateway will require it.
  67.                      If you are sending a message to a user in you own
  68.                      postoffice, you can use a simpler addressing format
  69.                      and let MailSend resolving the address. You find
  70.                      more information about resolving addresses in
  71.                      section "Resolving address" below.
  72.  
  73.                      You can send to multiply addresses by using more
  74.                      than one -t switch.
  75.  
  76. -s<Subject>          Subject for message (if the subject contains spaces,
  77.                      put it between quotes, like -s'More than one word')
  78.  
  79. -d<Drive>            Drive where MailData is located (default drive M)
  80.                      or full path to MailData with trailing backslash
  81.                      like M:\MAILDATA\
  82.  
  83.                      If MailSend does not find a postoffice on the given
  84.                      drive, it will scan all you drives from C: to Z:
  85.                      for a postoffice and uses the first one it finds.
  86.  
  87.                      If there is still no postoffice found, it will try
  88.                      to find your MSMAIL.INI and read the postoffice
  89.                      drive out of it.
  90.  
  91.                      In the unlikly event that MailSend can't find the
  92.                      postoffice in this way, it will give you an error.
  93.  
  94.                      You can start MailSend with the -l option and
  95.                      it will help you finding the postoffice.
  96.  
  97.  
  98. -i<ImportFile>       File to import for message body
  99.  
  100. -a<AttachFile>       File to attach to message (Multiply files are
  101.                      allowed)
  102.  
  103. -@<ArgFile>          Read additional argument from a file (-qFILE.EXT)
  104.                      (each argument requries one line)
  105.  
  106. -l                   Scans your drives for a postoffice
  107.  
  108.                      If you have no idea where your postoffice is
  109.                      located and MailSend will not find it, you can use
  110.                      this option. After completion, write down the path
  111.                      and use it the next time you send a message.
  112.  
  113.  
  114.  
  115.  
  116. Samples
  117. -------
  118.  
  119.  
  120.    To send mail from Admin with a password of PASSWORD to
  121.    Rick (located on Network NET and postoffice POST) and your maildrive
  122.    is M: use the following.
  123.  
  124.    MailSend -fAdmin -pPassword -dM -tNet/Post/Rick -sTestmail
  125.  
  126.  
  127.    To attach a file to the message:
  128.  
  129.    MailSend -fAdmin -pPassword -dM -tNet/Post/Rick -sTestMail -aATTACH.XLS
  130.  
  131.    Same as above with an argument file:
  132.  
  133.    MailSend -@ARG.TXT
  134.  
  135.    Sample ARG.TXT
  136.    --------------
  137.  
  138.    -fAdmin
  139.    -pPassword
  140.    -dM
  141.    -tNet/Post/Rick
  142.    -sTestMail
  143.    -aATTACH.XLS
  144.    <End of file>
  145.  
  146.  
  147. Resolving address
  148. -----------------
  149.  
  150. MailSend can resolve your address to a full address. This is a real
  151. shortcut if you send a message to a user in your own network/postoffice
  152. or if you don't know your network/postoffice. WFW and Win95 users can
  153. always use this option, because there is only one postoffice.
  154.  
  155. How it works:
  156.  
  157. When MailSend detects that there is no valid address given, it will take
  158. a look inside the global address book and will try to find an address
  159. with matches you input. First it looks on every mailbox name and then
  160. on every alias name on you postoffice, and if it finds one, its uses its
  161. address.
  162.  
  163. Assume your network is called "Network" and your postoffice is
  164. "Postoffice" and you want to send to a mailbox "MillerC" with an alias
  165. of "Carl Miller".
  166.  
  167. The traditional way is to use -tNetwork/Postoffice/MillerC, which ist
  168. the full address of "MillerC".
  169.  
  170. The shortcut is to use -tMillerC instead of -tNetwork/Postoffice/MillerC
  171.  
  172. MailSend now searches for a mailbox "MillerC" and resolves the address.
  173.  
  174. Another way is to use -tCarl Miller or -tCarlMiller
  175. (The space does not care when resolving addresse). In this example
  176. MailSend searches for an alias name of "CarlMiller".
  177.  
  178. If you know that there is only one alias name starting with "Carl" you
  179. can further trim it down to -tCarl and MailSend will find it.
  180.  
  181.  
  182.  
  183. Sending to gateways and groups
  184. ------------------------------
  185.  
  186. Enclosed you will find additional information from Microsoft's knowledge
  187. base about MSMail addressing schemes (Q94410.TXT) and how to send to a
  188. group (Q119685.TXT)
  189.  
  190.  
  191. Return Codes
  192. ------------
  193.  
  194. MailSend supports the following return codes (errorlevel):
  195.  
  196.    0   Message sent
  197.    1   Message not sent
  198.  
  199.  
  200.  
  201.  
  202. Licensing Agreement
  203. -------------------
  204.  
  205.     MailSend (c) is copyrighted 1993-1995 by DataEnter, Michael Kocum,
  206.     portions (c) Microsoft Corp.
  207.  
  208.     This product and its documentation may not, in whole or in part, be
  209.     copied, reproduced, transmitted, transcribed, stored in a retrieval
  210.     system, or translated into any other natural or computer language, in
  211.     any form or by any means whatsoever, be it electronic, mechanical,
  212.     magnetic, optical, manual or otherwise, without the prior written
  213.     consent of DataEnter.
  214.  
  215.     DataEnter makes no warranty or representation, either expressed or
  216.     implied, with respect to the product MailSend and its
  217.     documentation, their quality, perfomance, merchantability, or fitness
  218.     for a particular purpose. DataEnter reserves the right to revise the
  219.     user's guide and make changes in the content without obligation to
  220.     notify any person or organization of such a change.
  221.  
  222.     In no event will DataEnter be liable for any direct, indirect,
  223.     special, incidental or consequential damages, real or imagined,
  224.     resulting from the use or purchase of this software.
  225.     Under no circumstances shall DataEnter's liability for damages
  226.     exceed the price paid for the software license.
  227.  
  228.     Should any remedy hereunder be determined to have failed, all
  229.     limitations of liability and exclusion of damages set forth above
  230.     shall remain in full force and effect.
  231.  
  232.     The extent of the DataEnter's warranty for the software and its
  233.     documentation is limited to physical defects of the distribution media
  234.     containing the software. Contact DataEnter to obtain return
  235.     authorization for the replacement diskette within 30 days of the
  236.     original date of purchase. Any further statement made by agents,
  237.     employees, distributors or dealers of DataEnter do not constitute
  238.     warranties and are not binding. No employee of DataEnter has the
  239.     authority to modify any portion of this warranty.
  240.  
  241.     All brand and product names we refer to in the documentation are used
  242.     solely for identification purposes and may be trademarks of other
  243.     companies.
  244.  
  245.     DataEnter, (the licensor) grants the buyer (the licensee)
  246.     the right to use this copy of MailSend (the program)
  247.     on a single postoffice at a single location as long as the
  248.     licensee complies with the terms of this license. The licensor
  249.     reserves the right to terminate this license if the licensee
  250.     violates any part of the agreement.
  251.  
  252.     The licensee agrees to make copies of the program only for backup
  253.     purposes. The licensee agrees not to copy the documentation and to
  254.     take all necessary precautions to ensure that the backup copies of the
  255.     software are not distributed to or acquired by other parties.
  256.  
  257.     Microsoft Mail is a trademark of Microsoft Corp.
  258.     Windows for Workgroups is a trademark of Microsoft Corp.
  259.  
  260.  
  261.