home *** CD-ROM | disk | FTP | other *** search
- * Use this script with EMMA if you call MCI Mail on a tollfree number.
- *
- * To prepare this script, copy it to a file called EMMA.CSF and then edit
- * it as follows:
- *
- * (1) Change the port parameters on the line marked *1*. The first number
- * indicates the COM port that EMMA is to use; it may be 1, 2, 3
- * or 4. The second number indicates the line speed in bits per
- * second; it must be given in double-quotes. Examples are "1200" and
- * "2400".
- *
- * (2) Adjust the dialing string on the line marked *2*. You might, for
- * example, need to change "ATDT" to "ATDP" to accomodate pulse dialing,
- * or change the number from "1-800-..." to "9,800-..." if you are
- * dialing through a PBX. Use one of the following numbers only:
- *
- * for 300 or 1200 bps, 800-234-6245
- * for 2400 bps, 800-456-6245
- *
- * (3) Replace "username" in the line marked *3* with your MCI Mail
- * username in double quotes.
- *
- * (4) Replace "password" in the line marked *4* with your MCI Mail
- * password in double quotes.
- *
- * (5) Remove these comments. That is, delete all lines from the top
- * of the file down to and including the line of asterisks.
- *******************************************************************************
- C "Calling MCI Mail on an 800 number^M^J"
- C "(Press the Escape key if you need to abort the session.)^M^J"
- P 1 "2400" *1* Your COM port number and speed go in this line
- T "ATZ^M"
- R 5 "OK^M^J"
- D 1
- T "ATE1 S7=45^M" Echo commands. Wait 45 secs for carrier.
- R 5 "OK^M^J"
- T "ATDT1-800-XXX-6245^M" *2* Adjust the dialing string as necessary
- R 40 "CONNECT"
- B
- D 2
- T "^M"
- R 20 "Port:"
- R 5 "name:"
- T "username" *3* Put your username in this line
- T "/batch:1ST/"
- T "password" *4* Put your password in this line
- T "^M"
- R 20 "COM^M^J"
- M
- R 10 "CLR DTE^M^J"
- C "You will find any new mail in file MAIL.IN"