XenoGuard Documentation

Receive

Actions » Windows » Network » EMAIL » Receive 

The action Receive gets unread or new Email messages sent to your email account via Internet Message Access Protocol (IMAP).


[+] How to add the Receive action to the action script:

[-] Hide
  1. Open the Windows node in the Workspace Explorer.
  2. Open the Network node.
  3. In the EMAIL node, select the Receive action.

Parameters:

The action has the following input parameters:


name Description
Server
The mail server to use.
Username
The username of the mail server account to be used.
Password
The password of the mail server account to be used.
Port
The port number of the mail server.
SSL Connection
Enable or disable the Secured Sockets Layer (SSL) that encrypts the connection.

Allowed Context Scopes [Fixed, Local, Global]
Allowed Data Type [Boolean]

Information Allowed Context Scopes [Fixed, Local, Global]
Allowed Context Types [Variable, Parameter, Enum]
All other values of the parameters are determined by the specified format.

Results:

The action returns the following results:


name
description
Inbox Id
The id that identifies the Inbox.

Allowed Context Scopes [Fixed, Local, Global]
Allowed Data Type [Variable, Parameter]
Mail Count
The number of emails received.

Allowed Context Scopes [Fixed, Local, Global]
Allowed Data Type [Variable, Parameter]
Emails
The received email from the sender.

Parameters of the Row sub-branch:

  • Mail Id - the id of the sent email
  • Sender - the email address of the sender
  • Subject - the reason for sending the email
  • Content- the content of the email
  • Date Sent - the date when the email was sent
  • Has Attachment - indicates whether the email contains an attachment
Allowed Context Scope [Fixed]
Allowed Context Types [Variable, Parameter]

Example 1 (Get incoming messages of the Inbox):

This example retrieves email messages using the Internet Message Access Protocol (IMAP) from an email account. If the Mail Count parameter is equal to zero, it waits for 5000 milliseconds and returns to check for incoming email messages. Otherwise, the email list is then iterated and the details of each email are displayed in Message Box.


See other Email operations:

Send
Get Attachment