Get Email Count
Activity checks the inbox of an indicated address and returns the numer of emails as Emails Count.
To use the activity fill in the correct Login/Sender Email and Password for the email you want to access, as well as Protocol, Encryption method, Server Address and Port according to the email server’s settings.
NOTE: It's recommended that the email address is reserved for robot use.
Acquired Text | String | Output | text input by user |
---|---|---|---|
Alternative Scenario If Failed | Boolean | Input | checkbox; default is "on" |
Application ID | String | Input | string expression from Azure Active Directory (applies to Microsoft services) or Google Cloud (applies to Google services) obtained after the application registration process |
Client Secret | String | Input | string expression from Google Cloud obtained after the application registration process |
Display Name | Literal | Input | changes display name of the activity |
Emails Count | Int32 | Output | number of emails in inbox |
Encryption Method | Dropdown | Input | select encryption method from the dropdown list |
Exclude from Transaction Check | Boolean | Input | checkbox; default is "off" |
Login | String | Input | login |
Password | String | Input | password (string expression) |
Port | Int32 | Input | port number |
Protocol | Dropdown | Input | select the appropriate option from the dropdown list |
Provider | Dropdown | Input | select email provider from the dropdown list |
Result | Boolean | Output | returns a Boolean value. True if no error in activity, otherwise will return False |
Result Code | Int32 | Output | Result Code will return 0 if there is no error in activity, otherwise in most cases will return 1. See the table of Extended Result Codes for more info |
Server Address | String | Input | address of e-mail server the robot logs on to |
Tenant ID | String | Input | string expression from Azure Active Directory obtained after the application registration process |
Timeout [s] | Int32 | Input | set time in seconds to connect to email server |
Use OAuth | Boolean | Input | checkbox; default is "off" |