Multitech MultiConnect Adapter Podręcznik Użytkownika Strona 103

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 154
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 102
Chapter 10 – SMTP Client
Command Line Interface and Application Examples for Multi-Tech Systems, Inc. IP Modules (S000368F) 103
Chapter 10 – SMTP Client
Introduction
SMTP Client is used to establish a TCP session on an SMTP server running on port 25.
SMTP Client supports sending ASCII text or MIME-encoded binary attachment emails with different media types and
subtypes from the host/serial device through commands to the IP module.
SMTP Client supports the following methods for sending emails:
To the hosts/email addresses specified in the command prompt.
To the hosts/email addresses pre-configured.
To the hosts/email addresses entered in interactive mode.
SMTP Client supports SMTP Authentication.
Note: Only PLAIN Text Authentication is supported.
Command:
send-mail [-b]
[-t "<Email-Id#1, Email-Id#2..>"]
[-c "<Email-Id#3, Email-Id#4..>"]
[-s "<subject>"]
[-d "<message-body>"]
Note: All of these commands are optional. The send-mail command prompts for the details required if they
are neither given as options nor pre-configured. Various scenarios are covered later in this chapter.
Important Notes
This application is applicable only in the IP module in non-transparent mode.
This application can be used only after the PPP link is UP with an IP Address on the modem port. (Refer to
the Prerequisites chapter - Physical Link Establishment for more details)
In the event of PPP link DOWN, the SMTP request triggers PPP link establishment.
Setup and Configuration Prerequisites
The following details are mandatory for configuration and have to be validated before sending an email:
Host Interaction Mode enabled to restrict Telnet-Dialout and PPP.
Command: set serial <s0> host-interaction-mode enable
Set SMTP server name or IP address of maximum length 64 characters.
Command: set send-mail smtp-server-name <ipaddress/servername>
Set SMTP server port.
Command: set send-mail smtp-server-port <25>
Set Host name of maximum length 64 characters.
Command: set send-mail host-name <hostname>
Set From address identity of maximum length 64 characters.
Command: set send-mail from-address-identity <hostnameidentity>
Set From address of maximum length 64 characters.
Command: set send-mail from-address <email-Id>
Enables or Disables the use of SMTP Auth by the SMTP Client.
Command: set send-mail authentication <enable/disable>
Sets the username to be used for authentication.
Command: set send-mail username <username>
Sets the password be used for authentication.
Command: set send-mail password <password>
Notes 1. The send-mail command prompts for the ERROR message if any of the above details are not
configured or not valid.
2. The following configuration suggestions are optional:
Set reply-to address of maximum length 64 characters. By default, the server takes the from
address as the reply-to-address.
If this is configured, this address is taken as the reply to address.
set send-mail reply-to-address <email-ID>
Przeglądanie stron 102
1 2 ... 98 99 100 101 102 103 104 105 106 107 108 ... 153 154

Komentarze do niniejszej Instrukcji

Brak uwag