home *** CD-ROM | disk | FTP | other *** search
/ ProfitPress Mega CDROM2 …eeware (MSDOS)(1992)(Eng) / ProfitPress-MegaCDROM2.B6I / COMM / MISC / EMMA22.ZIP / EMMA.DOC < prev    next >
Encoding:
Text File  |  1990-11-07  |  27.0 KB  |  613 lines

  1.                                     Emma
  2.                                     ====
  3.  
  4.                          Documentation for version 2.2
  5.  
  6.                               by Pete Maclean
  7.                               -- ---- -------
  8.  
  9. (Note for users upgrading to 2.2:  a summary of new features is given at the end 
  10. of this document.  There is also a new section on using Emma with an MNP modem.)
  11.  
  12. I have prepared this document to accompany Emma, the PC/MS-DOS version of my MCI 
  13. Mail utility published by PC Magazine.  While this document is intended to be a 
  14. complete user's guide to Emma, users may benefit from also reading my original 
  15. article about it in PC Magazine (Issue 19, November 14, 1989).  Note that there 
  16. is a special version of Emma available for the Atari Portfolio palmtop computer.
  17.  
  18. Each time you run Emma it attempts to connect to MCI Mail, upload any messages 
  19. you have prepared to your outbox, and download any messages waiting in your 
  20. inbox.  Emma can handle messages of all kinds including those to be sent to fax 
  21. machines, telex machines, Internet mailboxes, CompuServe subscribers and other 
  22. networks via X.400 gateways.
  23.  
  24. Without a program like Emma, one connects to MCI Mail in what is called 
  25. "terminal mode."  Terminal-mode operation involves a lot of manual work and 
  26. bypasses one of MCI's most powerful features, the ability to ship arbitrary 
  27. files to other MCI subscribers.  Emma connects to MCI Mail in a different manner 
  28. called "batch mode."  With Emma, you never have to manually interact with MCI's 
  29. computers; Emma becomes your own private MCI agent.
  30.  
  31. Thanks to a script-file mechanism, Emma can be configured for use in any part of 
  32. the world.  It already has supporters in Canada, Hong Kong, Taiwan and many 
  33. European countries.  If you are using it outside the U.S.A., you may have to 
  34. write your own script file or find another user who has created a suitable one.  
  35. Emma correctly handles messages that contain accented letters and other 
  36. characters from the extended PC character set (that is, with codes of 128 and 
  37. above).
  38.  
  39. Emma has one major limitation compared to other agent programs:  it has no 
  40. built-in error-correction capability.  Thus it is an ideal utility only for 
  41. those people with suitable error-correcting modems, specifically modems that 
  42. support MNP.  Without such a modem, you should consider using Emma only if you 
  43. normally experience a negligible number of transmission errors when connecting 
  44. to MCI Mail.  Emma does have error-detection capability and guarantees that when 
  45. it completes delivery of a message that message will be free of errors.  Should 
  46. a transmission error intrude, Emma aborts the session.  No data is lost in such 
  47. an event, but any message being transferred at the time must be transferred 
  48. again.
  49.  
  50.  
  51.  
  52. Before you use Emma
  53. ------ --- --- ----
  54. Emma is designed to operate with modems that use the Hayes AT Standard Command 
  55. Set.  Should you have a modem that requires a different command set, you can 
  56. still use Emma but you will have to write a special script to enable it to work 
  57. with that modem.
  58.  
  59. Before running Emma for the first time, you must customize a script for the 
  60. program to follow in connecting to MCI Mail.  You will do best to start off with 
  61. one of the standard script files included in this package.  Select one as 
  62. follows:
  63.  
  64.           MNP.CSF      if you have an MNP modem, otherwise
  65.           800.CSF      if you connect, or plan to connect, to MCI Mail on a
  66.                           tollfree number,
  67.           LOCAL.CSF    if you connect, or plan to, via a local telephone number,
  68.           TYMNET.CSF   if you want to connect to MCI Mail via TYMNET.
  69.      or   DATAPAC.CSF  to connect via Canada's DataPac network
  70.  
  71. Use the DOS COPY command to copy the selected file to a file called EMMA.CSF.  
  72. Then edit EMMA.CSF using an editor or word processor that produces ASCII output, 
  73. and follow the instructions contained within it.
  74.  
  75.  
  76.  
  77. Running Emma
  78. ------- ----
  79. Early versions of Emma required a companion program, Bess, to provide 
  80. communication services.  Bess has now been integrated into Emma providing extra 
  81. convenience for almost all users.
  82.  
  83. To run Emma, enter at the DOS prompt:
  84.  
  85.           C>emma
  86.  
  87. Emma must be able to find its script, EMMA.CSF, so normally you should run it in 
  88. the directory where that file resides. 
  89.  
  90. An alternate method is to set up a batch file to take care of the whole job.  I 
  91. use a batch file that looks like this:
  92.  
  93.  
  94.           D:
  95.           CD \MCI
  96.           EMMA
  97.  
  98. The first command switches to the directory where I manage my electronic mail.  
  99. I call my batch file 1.BAT so, at any DOS prompt, all I have to do is type a 
  100. '1' and press Enter.
  101.  
  102. Once logged into the MCI Mail system, Emma looks for messages to be uploaded.  
  103. It searches the current directory for files named with an extension of "OUT".  
  104. Hence every message you create should be stored on such a file, e.g., PETE.OUT, 
  105. SALLY.OUT, etc.  When Emma has successfully delivered a message to MCI it 
  106. renames the corresponding file to give it an extension of "MLD" (for mailed).
  107.  
  108. Having completed any uploads, Emma downloads any waiting messages and appends 
  109. them to a file called MAIL.IN.  As each message is transferred, Emma displays 
  110. the envelope on your screen so that you can know at once who has sent you mail.  
  111. If you miss any of this information, there is no loss since it is all preserved 
  112. in MAIL.IN.
  113.  
  114. Once Emma has completed its work, you can inspect any new messages by reading 
  115. MAIL.IN with a word processor or a browsing program.  You may want to extract 
  116. certain messages and save them on other files.  After reading your mail it's a 
  117. good idea to delete or rename MAIL.IN so that when you next connect to MCI the 
  118. file will contain only your new mail.
  119.  
  120.  
  121.  
  122. Preparing Outgoing Messages
  123. --------- -------- --------
  124. The format of outgoing messages is described in a separate document file, 
  125. COMPOSE.DOC.
  126.  
  127.  
  128.  
  129. Things to remember when running Emma
  130. ------ -- -------- ---- ------- ----
  131.  
  132. * When you run Emma it must be able to find its script file, EMMA.CSF.
  133.  
  134. * You can abort a session at any time by pressing the Escape key.  Emma
  135.   ignores any other keyboard input.
  136.  
  137. * If your modem is not powered on or is disconnected, Emma will probably
  138.   complain about a timeout error.  This is because it sends a command to
  139.   the modem and receives no response.
  140.  
  141. * If MCI Mail sends an error message to Emma that message will be 
  142.   displayed on your screen.  The only things that MCI is likely to complain
  143.   about are:
  144.                - misformatted envelopes
  145.                - messages directed to unknown addressees
  146.                - messages with ambiguous addressees
  147.                - data damaged by transmission errors
  148.  
  149. * If MCI Mail rejects a message then Emma terminates the session.  Any
  150.   other messages awaiting transmission are left as they are.  Correct the
  151.   problem or rename the message before running Emma again.
  152.  
  153. * A "checksum error" is an almost certain indication of a transmission
  154.   error.  If you see one reported, try running Emma again.  If the error
  155.   happens again, you are probably getting connections that are too noisy.
  156.  
  157. * If you suffer a lot of aborted sessions because of transmission errors a
  158.   good trick to get cleaner connections is to run at a lower speed.  For
  159.   example, should you get frequent failures at 2400 bps, try 1200.  Message
  160.   transfer will take a little longer but, as long as you connect directly
  161.   to MCI Mail, the cost will be the same.
  162.  
  163. * After you upload a long message or attachment, it may take MCI a considerable
  164.   time to respond, close to two minutes in the worst cases.  This effect is
  165.   internal to MCI Mail; there is nothing that Emma can do to expedite matters.
  166.   If you send a file of several kilobytes, be patient waiting for the
  167.   transaction to complete.  Do not assume that the session is hung if nothing
  168.   happens for a while.
  169.  
  170. * Without an MNP modem it is unwise to use Emma to send messages or attached
  171.   files that exceed 10 KB.  The chances of the transmission being aborted by
  172.   an error grow with the length of the transaction.  Likewise, if you want to
  173.   transfer several files of substantial size as attachments, you should attach
  174.   each one to a separate message.
  175.  
  176. * Be very careful if you use WordStar to edit MAIL.IN.  Should you do a save
  177.   to MAIL.IN then WordStar pads the end of the file with Control-Zs, characters
  178.   that some programs including WordStar interpret as end of file markers.  If
  179.   Emma then appends further messages to MAIL.IN these messages appear after
  180.   the Control-Zs so that WordStar will fail to "see" them.  This phenomenon
  181.   may occur with certain other editors as well.
  182.  
  183.   To be safe, no matter what editor/word processor you use, it is very good
  184.   practice to clear out and delete MAIL.IN each time you read your new mail.
  185.   And in particular never do a save to MAIL.IN.
  186.  
  187.  
  188.  
  189. Writing Scripts
  190. ------- -------
  191. Emma needs a script file for four purposes:
  192.  
  193.      1. To tell it which COM port and what line speed (1200, 2400,...) to use.
  194.  
  195.      2. To give it the sequence of modem commands and expected responses 
  196.         required to connect to MCI Mail.
  197.  
  198.      3. To tell it how to login to the MCI systems, which means providing
  199.         your username and password.
  200.  
  201.      4. To inform it of other options that you may choose.  See the discussion
  202.         of "Advanced Options" below for details of these.
  203.  
  204. Normally, Emma looks for a script file called EMMA.CSF ("CSF" for connect 
  205. script file), but you can override that by providing Emma with an alternate 
  206. name as a command-line argument.  For example:
  207.  
  208.           C:\MCI>EMMA REG
  209.  
  210. tells Emma to use the script on file REG.CSF.  The extension of a script file 
  211. is assumed to be "CSF".
  212.  
  213. Script files are composed of simple commands written one per line as in the 
  214. following example:
  215.  
  216.           C     "Calling MCI Mail on an 800 number^M^J"
  217.           P  1  "2400"
  218.           T     "ATDT1-800-234-6245^M"
  219.           R 40  "CONNECT"
  220.           B
  221.           D  2
  222.           T     "^M"
  223.           R 25  "name:"
  224.           T     "username/batch,1ST/password^M"
  225.           M
  226.           R 10  "CLR DTE^M^J"
  227.  
  228. This is a barebones script to connect to MCI and run a mail-exchange session.  
  229. It serves as an illustration of the most important commands but, in practice, 
  230. you would want a slightly fuller script such as one of those distributed with 
  231. Emma.
  232.  
  233. Each command is identified by a single letter.  Here is a complete list:
  234.  
  235.           B - autoset bps
  236.           C - display a comment
  237.           D - delay for a number of seconds
  238.           K - sends a BREAK signal
  239.           L - enable logging of the session to a file (see advanced options)
  240.           M - conduct a mail-exchange session with MCI
  241.           P - configure the COM port to be used for communication
  242.           Q - select quick mode (see advanced options)
  243.           R - wait for an expected reply to arrive
  244.           S - specify an alternate message separator (see advanced options)
  245.           T - transmit a given string
  246.  
  247. Any command may take up to two arguments:  a numeric argument written as a 
  248. decimal integer and a string enclosed in double quotes.  Command letters and 
  249. arguments are separated by white space, that is spaces and/or tabs.
  250.  
  251. The command:
  252.  
  253.           P  1  "2400"
  254.  
  255. tells Emma to use COM1 and set the speed to 2400 bps.  Every script must contain 
  256. a 'P' command which should appear before any 'T' or 'R' commands.
  257.  
  258. The command:
  259.  
  260.           T     "ATDT1-800-234-6245^M"
  261.  
  262. tells Emma to transmit the given string, a dial command for the modem in this 
  263. example.  Any control characters that are required in strings must be expressed 
  264. using the common keyboard-equivalent notation.  Thus:
  265.  
  266.           ^M   means a carriage return (Control-M or Enter)
  267.           ^J   signifies a linefeed (Control-J)
  268.           ^L   indicates a formfeed (Control-L)
  269.           ^P   indicates a DLE (Control-P) used as an escape code by some PSNs.
  270.  
  271. and so on.  Emma ignores any literal control characters included in strings.  
  272. There is one exception to this rule:  horizontal tabs are accepted.
  273.  
  274. The command:
  275.  
  276.           R 25  "name:"
  277.  
  278. tells Emma to wait up to 25 seconds for the string "name:" to be received.  If 
  279. the expected characters do not turn up in the allotted time, Emma aborts the 
  280. session with a timeout diagnostic.
  281.  
  282. The 'B' command is for the benefit of speed-adjusting modems.  It tells Emma to 
  283. look at the characters arriving from the modem and to decode a speed if such is 
  284. present.  A typical modem response would be "CONNECT 1200".
  285.  
  286. The 'M' command initiates a session between Emma and MCI Mail using MCI's 
  287. proprietary mail-exchange protocol (MEP2).
  288.  
  289. The operation of the rest of the basic commands should be evident from the 
  290. above example.  More advanced commands are described below.
  291.  
  292. You should never have to write a script from scratch.  But if you connect to 
  293. MCI internationally or have a weird modem, you will need to edit one of the 
  294. scripts provided.
  295.  
  296.  
  297.  
  298. Advanced Options
  299. -------- -------
  300.  
  301. (*).  You may include comment lines in script files for documentation purposes.  
  302. Emma recognizes any line that starts with an asterisk or a semicolon as a 
  303. comment.  Don't confuse these internal comments with the external kind, that is 
  304. comments that are written to the user's screen via the 'C' command.
  305.  
  306.      C    "This is a comment that is written to the screen^M^J"
  307.      *    This is an internal comment that Emma ignores
  308.  
  309.  
  310. (*).  Emma can be run in an optional quick mode designed to minimize connection 
  311. times for those users who have to pay hefty line charges.  In quick mode, Emma 
  312. disconnects very quickly from MCI when there are no messages to be delivered; it 
  313. does not wait for all the commentary that MCI usually sends indicating the 
  314. numbers of messages sent and received.  Quick mode is selected by including a 
  315. 'Q' command in your script file.  Here is an example:
  316.  
  317.      Q    "There are no messages waiting in your INBOX^M^J"
  318.  
  319. The argument is a string defining a line that Emma can recognize as signifying 
  320. that MCI has no messages waiting for download.  The string must include one 
  321. entire line including the terminating CR and LF.  When Emma spots the given 
  322. line, and if it has no messages to upload, then it terminates the session.  Most 
  323. users who want to use quick mode will do best by copying the above example 
  324. exactly.
  325.  
  326. I chose to require that the user include the line explicitly in the 'Q' command 
  327. because wiring it into the program might lead to incompatibilities with 
  328. foreign-language versions and future revisions of MCI's system.
  329.  
  330. There is a means that Emma could use to determine automatically the number of 
  331. INBOX messages, but taking advantage of that would substantially increase the 
  332. connect time!
  333.  
  334. The 'Q' command may be placed anywhere in your EMMA.CSF before the 'M' command.
  335.  
  336.  
  337. (*).  You may select how messages are separated in the MAIL.IN file.  By 
  338. default, Emma adds three blank lines after each message.  If you want something 
  339. different then add an 'S' (for separator) command to your script file.  The 
  340. argument is a string defining the separator text.  Here is one example:
  341.  
  342.     S  "^M^J*************************************************************^M^J"
  343.  
  344. The 'S' command may be placed anywhere in your EMMA.CSF before the 'M' command.
  345.  
  346.  
  347. (*).  Three options are available on the 'M' command:  send-only, 
  348. attachment-overwrite and ASCII-mode.  Each option is selected by including a key 
  349. letter in a string argument.
  350.  
  351. In send-only mode, Emma sends MCI any outgoing mail without downloading INBOX 
  352. messages.  The feature is selected thus:
  353.  
  354.      M    "S"
  355.  
  356. Send-only mode is intended for users with secretaries who create and dispatch 
  357. mail but who do not handle incoming messages.
  358.  
  359. Normally, when Emma receives an attachment with a name that matches an existing 
  360. file, it generates a new name for the attachment of the form ATTACHED.xxx.  By 
  361. selecting attachment-overwrite mode, you instruct Emma to store attachments 
  362. under their original names even if such files already exist.  This option is 
  363. useful for those people who update remote files by MCI.  You select this option 
  364. by editing your 'M' command to read
  365.  
  366.      M    "O"
  367.  
  368. Finally, Emma's ASCII mode is provided for users of WordStar and similar editors 
  369. that bend high bits to their own uses.  The effect of selecting this option, by
  370.  
  371.      M    "A"
  372.  
  373. is that all messages are stripped down to 7-bit characters before transmission.  
  374. (This stripping applies specifically and only to message texts and not to 
  375. attached files.)
  376.  
  377. You may combine options as in this example:
  378.  
  379.      M    "AOS"
  380.  
  381. The option letters may appear in the string in any order.
  382.  
  383.  
  384. (*).  Emma's screen output can be redirected allowing the program to be used in 
  385. a more automated fashion.  You can, for example, invoke Emma from a batch file 
  386. and have it run "silently," that is with no screen output.  You can discard the 
  387. output completely by redirecting it to the null device, e.g.
  388.  
  389.                     EMMA >NUL:
  390.  
  391. Or you can redirect it to a file, e.g.
  392.  
  393.                     EMMA > OUTPUT
  394.  
  395. Warning:  don't carelessly redirect to a file named, say, EMMA.OUT.  Emma would, 
  396. of course, treat that file as a message to be sent to MCI.
  397.  
  398.  
  399. (*).  For the benefit of those who want to invoke it from batch files, Emma 
  400. terminates with one of the following exit codes:
  401.  
  402.           0 => Emma completed successfully but received no new mail
  403.           2 => file i/o error (no new mail received)
  404.           3 => script error (no new mail received)
  405.           4 => user interrupt, i.e. user pressed Esc  (no new mail received)
  406.           5 => timeout (no new mail received)
  407.           6 => protocol error (no new mail received)
  408.  
  409.           100 => Emma completed successfully and received some new mail
  410.           102 => file i/o error (after new mail was received)
  411.           103 => script error (after new mail was received)
  412.           104 => user interrupt (after new mail was received)
  413.           105 => timeout (after new mail was received)
  414.           106 => protocol error (after new mail was received)
  415.  
  416. Note that exit codes 1 and 101 are not used.  Emma adds 100 to whatever exit 
  417. code it would otherwise use if it has downloaded any new messages to MAIL.IN.  
  418. See the file, SAMPLE.BAT, for a model of how you might use these exit codes.
  419.  
  420.  
  421. (*).  Emma can create a transcript of each session it conducts with MCI Mail.  
  422. If you want a transcript for troubleshooting or any other reason, you must tell 
  423. Emma by adding an 'L' command to your .CSF file.  The argument is the name of 
  424. the file to which you want the log written, for example:
  425.  
  426.      L    "emma.log"
  427.  
  428. It is best to put this command near the beginning of the script file.  In future 
  429. versions, I may add options for selecting different levels of logging.
  430.  
  431.  
  432. (*).  The K command tells Emma to transmit a standard BREAK signal on the COM 
  433. port.  (A BREAK consists of approximately 385 milliseconds of SPACE.)  It is 
  434. included for compatibility with certain foreign packet switch networks that 
  435. require such a signal as a trigger for setting PAD parameters.
  436.  
  437.  
  438. (*).  Suppose you love Emma but are wary about keeping your MCI password in a 
  439. script file that someone else might look at.  Or suppose that you use Emma on a 
  440. portable PC and need a different dialing code every time you run it.  Emma can 
  441. help.  Place a question mark in front of any string argument and Emma displays 
  442. it on the screen as a prompt for you to type in the "real" string you want used.  
  443. For example, to avoid putting your password in your .CSF file, you could set up 
  444. the appropriate section of it as follows:
  445.  
  446.      R  15   "name:"
  447.      T       "your_username"
  448.      T       "/batch:1ST/"
  449.      T     ? "^M^JPlease type your password (and press Enter):  "
  450.      T       "^M"
  451.      R 20    "COM^M^J"
  452.  
  453. You can use this facility with any script command although it is not obviously 
  454. useful with any but 'T'.  Note that while you press Enter to terminate the 
  455. string that you type in, the Enter itself (i.e. a carriage return) is not 
  456. included in the string.  You may type in strings of up to 80 characters; 
  457. anything typed beyond this limit is quietly ignored.
  458.  
  459. You can use the Escape key to abort a session while typing a string just as you 
  460. can at any other time.
  461.  
  462. You can even go one step further with this mechanism.  When Emma reads the 
  463. response to a prompt, it reads standard input (not the keyboard directly).  Thus 
  464. you can redirect input from a file.  For example, set up your EMMA.CSF with null 
  465. prompts (?"") and create a file, RESPONSE, containing the responses, one per 
  466. line.  Then start Emma with the command:
  467.  
  468.      EMMA <RESPONSE
  469.  
  470. This would allow you, for instance, to set up a totally generic script file for 
  471. Emma then have some other application query the user for dialing code, username, 
  472. password, etcetera, write that information out to a file and then invoke Emma as 
  473. above (perhaps via a batch file).
  474.  
  475.  
  476.  
  477. Using Emma with an MNP Modem
  478. ----- ---- ---- -- --- -----
  479. With a properly configured MNP modem, Emma should work with perfect reliability.  
  480. Unfortunately, setting up your MNP modem with all the correct options may not be 
  481. trivial, especially since there is no uniformity among modems for the AT 
  482. commands that select MNP features.  Start with the MNP.CSF model script 
  483. provided, and make sure that your modem is sent the appropriate commands to 
  484. select:
  485.  
  486.      Flow control:  local birectional XON/XOFF.
  487.  
  488.      Disable bps-rate adjustment.
  489.  
  490.      Reliable mode (forces modem to make an MNP link or nothing).
  491.  
  492.      Enable data compression during MNP connections.
  493.  
  494. Note that the last option is usually a default but the other three are not.
  495.  
  496. By disabling the bps-rate adjustment, you can take advantage of higher 
  497. throughput thanks to MNP compression.  If you select this option then set the 
  498. port speed to a bps rate higher than that of the modem, for example 9600.  Also 
  499. be sure that you do not have a B command in your .CSF script.  Should Emma 
  500. complain about overrun errors then reduce the port speed; on slow PCs, Emma may 
  501. not be able to keep pace with 9600 bps.
  502.  
  503.  
  504.  
  505. General Tips
  506. ------- ----
  507. If you want to keep a thorough record of your outgoing messages, it is a good 
  508. idea to put a CC: line in each envelope to send yourself a courtesy copy.  There 
  509. is a charge for this but it gives you a copy of each message timestamped by MCI 
  510. and complete with the message identifier.  This can serve as a "certificate of 
  511. mailing."
  512.  
  513.  
  514.  
  515. Troubleshooting Tips
  516. --------------- ----
  517. If MCI finds faults with a message, an explanation will be displayed on your 
  518. screen.  (Unless, of course, you have redirected Emma's screen output.)
  519.  
  520. The most common problems are with misformatted envelopes.  For a message to be 
  521. delivered, the subscriber must be exactly identified.  If you address a message 
  522. to a name that's not unique, the IDs of all MCI subscribers with the name are 
  523. listed:  
  524.  
  525.       At least one problem with envelope 
  526.       608 More than 1 MCI Mail user matches recipient information
  527.       MCI ID   Name         Organization       Location
  528.       000-0000 Zoltan Shah  Whizzo Chocolate   New York, NY
  529.       111-1111 Zoltan Shah  Sunshine Desserts  Fresno, CA
  530.  
  531. Select the right one and edit your message to include the ID.  Remember that the 
  532. name should be separated from the ID by a slash, as in Zoltan Shah/111-
  533. 1111.  In fact, an ID alone is a perfectly acceptable address.
  534.     
  535. If MCI objects to something else in the envelope of a message, you may receive 
  536. a response such as:
  537.  
  538.      At least one problem with envelope 
  539.      610 Improper information in the envelope 
  540.      SUBJECT:  EMMA
  541.      This text is part of the message...
  542.  
  543. In this case, the blank line needed to terminate the envelope is missing.  Other 
  544. causes might be a mistyped keyword or the appearance of lines in an order that 
  545. MCI cannot handle.
  546.  
  547. Some errors offend MCI so much that it stops responding, such as a message with 
  548. two or more addresses on a line.  A message may be addressed to any number of 
  549. people, but each address must be on a separate To: or Cc: line.
  550.  
  551. And, if you receive either a Checksum error or Malformed data message, you can 
  552. be almost certain that a transmission error has ruined your session.  Just try 
  553. again.
  554.  
  555. With an MNP modem, Emma should be perfectly reliable.  If it proves not to be 
  556. then consider the following possible problems:  (1) You are not configuring the 
  557. modem so that it establishes an MNP connection with MCI.  (2) You have the modem 
  558. configured for the wrong type of flow control.  Emma uses Control-S/Control-Q 
  559. flow control.  If you set the modem for hardware flow control or any other 
  560. flow-control option then you are very likely to see errors.  (3) If your PC is 
  561. on a LAN the network software may steal sufficient processor time that Emma 
  562. misses characters coming in on the serial port.  Should you suspect this, verify 
  563. it by temporarily unloading the network software and seeing what happens.
  564.  
  565.  
  566.  
  567. Notes for International Users
  568. ----- --- ------------- -----
  569. Emma is the only publicly available agent software for MCI Mail that is 
  570. "internationalized."  As such, it has users all over Europe and Asia.
  571.  
  572. To use Emma from a foreign location, you will likely need to make substantial 
  573. modifications to a script in order to complete the connection.  The most 
  574. important thing to remember in doing so is that the connection must be set up 
  575. with no echoing.  This is different from terminal-mode connections and may 
  576. entail changing PAD parameters for foreign packet switch networks.
  577.  
  578. Should Emma give you the diagnostic:
  579.  
  580.      ***Protocol failure: unrecognized message received***
  581.  
  582. after completing a login to MCI, it is almost certain that echoing is the 
  583. problem.  Determine what has to be done to turn it off.
  584.  
  585.  
  586.  
  587. New Features In Version 2.2
  588. --- -------- -- ------- ---
  589. Version 2.2 brings two new features to Emma:  DataPac compatibility and 
  590. saving/restoring of the COM port.
  591.  
  592. The standard way of connecting to MCI Mail from Canada is via DataPac and then 
  593. through a gateway to TYMNET.  Earlier versions of Emma failed to operate via 
  594. DataPac due to some strange echoes apparently produced by that network.  The new 
  595. version is designed to discard these stray echoes and is accompanied by a script 
  596. file, DATAPAC.CSF, designed for such access.
  597.  
  598. Emma now saves the entire state of the COM port that it uses and restores that 
  599. state before terminating.  This feature was added for users who run Emma in a 
  600. multitasking environment such as DESQview.
  601.  
  602.                        *   *   *   *   *   *   *   *
  603.  
  604. Emma is Copyright (C) 1989 Ziff Davis Communications Co.
  605.  
  606. This document is Copyright (C) 1989, 1990 by Pete Maclean.  It may be freely 
  607. distributed with Emma as long as no additions, deletions, or alterations are 
  608. made.  All other rights reserved.
  609.  
  610. NOTICE: Emma was developed, in part, using, with permission, proprietary, trade 
  611. secret information of MCI Telecommunications Corporation.  The user agrees to 
  612. use this program only for the purpose of communicating with MCI Mail.
  613.