API: SMTP<-->POP3/IMAP

JSON Object Example

Fields description

Field Type Description

EmailAddress

String

Destination email address

Example:
"EmailAddress":"account@gmail.com"

Incoming_ServerType

String

This field defines protocol typePossible values are “POP3” and “IMAP”

Example:
"Incoming_ServerType":"POP3"

Incoming_Server

String

This field is for POP3/IMAP server address and port number

Example:
"Incoming_Server":"pop3.gmail.com:995"

SMPT_Server

String

SMTP Server address and port number

Example:
"SMPT_Server":"smtp.gmail.com:777"

Incoming_UserName

String

This field contains a username for POP3/IMAP authentication

Example:
"Incoming_UserName":"demo@company.com"

Incoming_Password

String

This field contains a password for POP3/IMAP authentication

Example:
"Incoming_Password":password"

SMPT_UserName

String

This field contains a username for SMTP authentication

Example:
"SMPT_UserName":"demo@company.com"

SMPT_Password

String

This field contains a password for SMTP authentication

Example:
"SMPT_Passwor":"password"

Incoming_UseSSL

Boolean

When enabled – POP3/IMAP over SSL will be requested.

Example:
"Incoming_UseSSL"true

SMPT_UseSSL

Boolean

When enabled – SMTP over SSL will be requested.

Example:
"SMPT_UseSSL"true

MaximumTimeoutForTestMessageReceiving

Int32

This field defines timeout for a test message receiving i.e. system will search for a test letter at a destination mail server for adjusted amount of time.

Example:
"MaximumTimeoutForTestMessageReceiving":10
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": 17713

Task_Type_Id

Int32

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

Example:
"Task_Type_Id": 5

Name

String

Task name

Example:
"Name""Gmail SMTP – POP3"

Timeout

Int32

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

Example:
"Timeout": 0