API: SMTP

JSON Object Example

Fields description 

Field Type Description

Server

String

SMTP Server address and port number

Example:
Server": "pop.gmail.com:995"

LoginOnServer

Boolean

When enabled – login operation will be performed during monitoring session.

Example:
"LoginOnServer"true

UserName

String

This field contains a username for SMTP authentication

Example:
"UserName""username"

Password

String

This field contains a password for SMTP authentication

Example:
"Password""password"

UseSSL

Boolean

When enabled – SMTP over SSL will be requested.

Example:
"UseSSL"true
DNSResolveMode String Available modes:

  • Device Cached
  • Non Cached
  • TTL Cached
  • External DNS Server

For detailed explanation please see “DNS Mode Option” article

DNSserverIP String Field for a custom DNS server IP addressFor detailed explanation please see “DNS Mode Option” article

Int32

READ ONLY Field.Unique device ID.

Example:
"Device_Id": 8550

Id

Int32

READ ONLY Field.Unique task id

Example:
"Id": 17711

Task_Type_Id

Int32

Type of the task field. Please check Potential values for “Task_type_id” in appropriate table

Example:
"Task_Type_Id": 4

Name

String

Task name

Example:
"Name""Gmail SMTP"

Timeout

Int32

This field defines timeout value (in mseconds) for task execution.

Example:
"Timeout": 0