Multitech MultiConnect Adapter Uživatelská příručka Strana 106

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 154
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 105
Chapter 10 – SMTP Client
Command Line Interface and Application Examples for Multi-Tech Systems, Inc. IP Modules (S000368F) 106
Scenario 3 – Sending a Text Email Using
Configuration and Interactive Mode
This scenario sends a text email with:
The to-addresses, cc-addresses, and subject taken from the configuration and
The message body is entered in interactive mode.
To support this scenario, you must configure the following details in addition to the mandatory configuration
Set subject data of maximum length 255 characters.
Command: set send-mail subject subject data
Set to-addresses of maximum length 64 characters.
Command: set send-mail to-address 1 <email-id #1>
set send-mail to-address 2 <email-Id#2>
Set cc-addresses of maximum length 64 characters.
Command: set send-mail cc-address 1 <email-ID#3>
set send-mail cc-address 2 <email-ID#4>
Issue the following command at the serial command prompt: #send-mail
The SMTP session then enters into interactive mode and requests that the message body be entered as shown in
the figure below. After completing the message, type Ctrl+D to end the message.
The email is sent only to the recipients who are pre-configured. The subject is also taken from the configuration.
Notes
1. The email is sent to addresses pre-configured using set commands.
2. At least one address, either the to-address or the cc-address, should be configured using set commands;
otherwise, the SMTP session enters into interactive mode prompting you to enter the required details.
3. If the subject option is not specified or is not pre-configured using set commands, SNMP enters into
interactive mode and requests a subject to be entered.
4. Type Ctrl+C to quit the email at any given time.
Zobrazit stránku 105
1 2 ... 101 102 103 104 105 106 107 108 109 110 111 ... 153 154

Komentáře k této Příručce

Žádné komentáře