home *** CD-ROM | disk | FTP | other *** search
- * Use this script with EMMA if you have an MNP modem. This script was
- * created for use with a Microcom AX/2400c; for a different modem, some of
- * the AT commands are likely to require modification.
- *
- * 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*. With an MNP
- * modem it is wise to set a high bps rate since that speed is effective
- * only between the PC and the modem.
- *
- * (2) Edit the script so that the appropriate commands are sent to the modem
- * to:
- * Turn off bps-rate adjustment.
- * Force the modem into MNP mode.
- * Select Control-S/Control-Q flow control.
- *
- * (3) 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-333-1818" to "9,800-333-1818" if
- * you are dialing through a PBX. Please note that, at the time this
- * script is being created, the number used is the only tollfree number
- * on which MCI Mail supports MNP.
- *
- * (4) Replace "username" in the line marked *3* with your MCI Mail
- * username in double quotes.
- *
- * (5) Replace "password" in the line marked *4* with your MCI Mail
- * password in double quotes.
- *
- * (6) 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 using MNP^M^J"
- C "(Press the Escape key if you need to abort the session.)^M^J"
- P 1 "9600" *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 "AT\J0^M" Turn off bps-rate adjust
- R 5 "OK^M^J"
- T "AT\N2^M" Turn on MNP mode
- R 5 "OK^M^J"
- T "AT\Q1^M" Turn on Control-S/Control-Q flow control
- R 5 "OK^M^J"
- T "AT\V1^M" Turn on MNP result codes
- R 5 "OK^M^J"
- T "ATDT1-800-333-1818^M" *3* Adjust this command if necessary
- R 40 "CONNECT"
- D 2
- T "^M"
- R 20 "Port:"
- R 5 "name:"
- T "username" *4* Put your username in this line
- T "/batch:1ST/"
- T "password" *5* And 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"
-