Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...


Image Added

Connect to Mailbox

This activity connects to the specified Mailbox, by using IMAP or POP3 protocols.

Activity Parameters

The Connect to Mailbox activity parameters can be provided by manual inserted values or via IN arguments or variables:

Image RemovedImage Added

Authentication:

  • Host (text box editor type) (type: string): the mailbox host IP. For example, if properly configured, the Exchange Server's IP can be used (for Exchange , POP3 and IMAP4 options need to be enabled on the mail server).
  • Password (password box editor type) (type: string): the mailbox username's password.
  • Password Binding (text box editor type) (type: string): bind to a variable containing the encrypted password. (This parameter is used only when the user wants to send an encripted encrypted password from outside the taskworkflow, for example Flowster Portal).
  • Port (text box editor type) (type: string): the mailbox  port number.
  • Protocol (combo box type) (type: string): the protocol which will be used for connection. The available options are IMAP and POP3.
  • Use SSL (combo box type) (type string): specify whether to use SSL or not
  • Username (text box editor type) (type: string): the username for mailbox authentication. If left empty, windows session credentials are used.

...

 

Execution: the activity will create a connection to the given server, using the provided IP, Port and credentials.


POP3 connection example - by using a Gmail account and allow retrieving the desired emails each time the Get Emails activity will be executed:

Image Added

  • insert pop.gmail.com for the gmail's host
  • insert port 995
  • select POP3 for the protocol
  • select Yes for SSL
  • insert the username in the full mail address format, e.g. demouser@gmail.com
    • insert recent: in front of the username. This command will return by default all the emails from the last 30 days (the emails will be filtered when using the Get Emails activity)
    • this command is mandatory to be used, in our google account connection example, so that the mails will be retrieved when a Get Emails activity will be executed second time
    • if recent: is not used, then when the activity will be executed again, no email will be found, regardless of the used filters.
  • insert the password for the given user.


 

Disconnect from Mailbox

This activity disconnects the specified Mailbox.

...

The Get Emails activity parameters can be provided by manual inserted values or via IN arguments or variables:

Image RemovedImage Added

Filters:

  • CC Contains (text box editor type) (type: string): filter by the email CC addresses. For multiple addresses, separate them with comma ( , ) (e.g. "mail1@server1.com,mail2@server2.com").
  • From Contains (text box editor type) (type: string): filter by the email From addresses.  For multiple addresses, separate them with comma ( , ) (e.g. "mail1@server1.com,mail2@server2.com").
  • To Contains (text box editor type) (type: string): filter by the email To addresses. For multiple addresses, separate them with comma ( , ) (e.g. "mail1@server1.com,mail2@server2.com").
  • Subject Contains  (text box editor type) (type: string): filter by the email Subject.
  • Text Contains  (text box editor type) (type: string): filter by the email Text.
  • Start Date (calendar control) (type: string): filter by the email Start date.
  • End Date (calendar control) (type: string): filter by the email End date.
  • Has Attachments  (combo box control) (type: string): whether the email has attachments or not. Flowster Studio provides True (with attachments), False (without attachments) and Any as options.

Parameters:

  • Attachments Path (folder selection window and also text box editor): the path where the attachments will be downloaded. If left empty, the attachments won't be downloaded. The activity will create new sub-folders in the selected directory with the email's subject as Name.
  • Connection (text box editor type) (type: object): the output from the Connect to Mailbox activity.

SMTP Filters:


  • Location  (text box editor type) (type: string): the Mailbox folder where the emails will be searched for. Flowster Studio provides Inbox, Drafts, Sent Items and Deleted Items as options.
  • Mark as Read  (combo box control) (type: string): whether to mark the retrieved emails as Read or not after being processed.
  • State  (combo box control) (type: string): the state of the retrieved email. Flowster Studio provides Read (there will be checked only the Read emails), Unread (there will be checked only the Unread emails) and Any as options.

Parameters:

  • Connection (text box editor type) (type: object): the output from the Connect to Mailbox activity.


The Read Only Output variable are the possible output values that the activity will provide:

...

The Send Email activity parameters can be provided by manual inserted values or via IN arguments or variables:

Image RemovedImage Added

Addresses:

...

  • Host (text box editor type) (type: string): the mailbox host IP. The Exchange Server IP can be also used, as seen in the screenshot above.
  • Password (password box editor type) (type: string): the password of the provided username.
  • Password Binding (text box editor type) (type: string): bind to a variable containing the encrypted password. (This parameter is used only when the user wants to send an encripted password from outside the taskworkflow, for example Flowster Portal).
  • Port (text box editor type) (type: string): the mailbox  port number. For Exchange, the default port 25 can be used.
  • Secure (combo box control) (type: string): False or True, for SSL enabling/disabling.
  • Username (text box editor type) (type: string): the username for mailbox authentication. If left empty, windows session credentials are used.

...