Multitech MTCBA-G-F2 Manual de usuario Pagina 71

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 78
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 70
Appendix B – Detailed Examples
Multi-Tech Systems, Inc. AT Commands for Wireless Modems with IP Connectivity (S000333D) 71
Sending a Pre-Defined Email Combination
This example covers the following: Sending an email composed by a pre-defined combination of parameters stored into
the Flash memory.
Description: This command sends one of 3 pre-defined email combinations. This command will assemble the
parameters stored in the flash memory to compose and send the relevant email message combination.
Sending a pre-
defined email
The 'AT#SENDMAIL1' (or AT#SENDMAIL2, AT#SENDMAIL3) command will compose the email
using the following parameters:
'SUBJ1' (or SUBJ2, SUBJ3) for the email subject
'REC1' (or REC2, REC3) for the recipient email address
'CCREC1' (or CCREC2, CCREC3) for the carbon copy recipient email address
‘BODY1’ (or BODY2, BODY3) for the email body which has a limited size of 120 characters
'SENDERNAME' & 'SENDERADDR' for the specific identity of the module
The response message is only ‘OK’ when the process is successful. The body content is not
echoed on the serial port.
AT# Command: AT#SENDMAIL1 / AT#SENDMAIL2 / AT#SENDMAIL3
Notes:
The communication session must be established (AT#CONNECTIONSTART) before sending
this command. After the sending process, the modem will keep the communication established.
If the RECn, SENDERADDR and DOMAIN parameters are empty, the response from the
modem to the AT#SENDMAILn command will be an associated error code.
Other AT# Commands: AT#PUTMAIL
Configuration:
SMTP server Address of the SMTP server used for sending emails.
AT#SMTPSERV
SMTP port Port of the SMTP server used for the email sending.
AT#SMTPPORT
SMTP user name SMTP user name used by some SMTP servers for authentication.
AT#SMTPUN
SMTP user
password
SMTP user password used by some SMTP servers for authentication.
AT#SMTPPW
Domain Domain name of the sender.
AT#DOMAIN
Sender name The sender’s name which appears in the email header, in the field: 'From:'
AT#SENDERNAME
Sender email
address
Email address of the sender which appears in the email header, in the field ' From:'
AT#SENDERADDR
Recipient email
address
Email address of the recipient for sending email which appears in the email header, in the field ' To:'
AT#REC1 – REC2 – REC3
CC Recipient
email address
Carbon Copy email address of the recipient for sending email which appears in the email header, in
the field ' Cc:'
AT#CCREC1 – CCREC2 – CCREC3
Email subject Pre-defined email subject which appears in the email header, in the field ' Subject:'
AT#SUBJ1 – SUBJ2 – SUBJ3
Email Body Pre-defined email body
AT#BODY1 – BODY2 – BODY3
Vista de pagina 70
1 2 ... 66 67 68 69 70 71 72 73 74 75 76 77 78

Comentarios a estos manuales

Sin comentarios