iRobo.Activity.Get Outlook Message

Gets access to E-mail and receive mails.


       

     Note: 

         Before using Mail Activities, check Mail Automation prerequisites from Mail Page.

                       

                                                                               

Properties

Input

  • Folder - Select E-mail folder, example: inbox, sent,..etc.
  • UnreadOnly - Check to receive all messages or only unread ones. Its input is True/False arguments.


Misc

  • DisplayName - Activity header name.


Output

  • Emails - List accessed emails from logged E-mail. (Mandatory)

Steps of Using Get Outlook Message Activity

  1. Open iRobo Studio, and then open a new Workflow.
  2. Connect to Outlook Account in order to receive mails.
  3. Drag Get Outlook Message Activity to the Sequence.
  4. Select email Folder to access from the drop-menu in the Activity.
  5. Create Output Variable of type IEnumerable<email>.
  6. Add the Output Variable to Emails field in Properties Panel.
  7. Click Save button from iRobo Studio Menu to save Workflow.
  8. Click Play button to start the automated process to receive mails.

Example on Using Get Outlook Message Activity

Here you can see how the Get Outlook Message Activity is used in the following example to get all received mails in Inbox.


  1. Open iRobo Studio, and then open a new Workflow.
  2. Connect to your Outlook Account in order to receive mails .
  3. Drag GetMails Activity to the Sequence.
  4. Select Inbox Folder from drop-menu of the Activity as shown in the image below.

  1. Create Output Variable of type IEnumerable<email>.
  2. Add Output Variable of List Data Type to Emails field in the Output Panel. 

  1. Drag ForEachWithBodyFactory Activity to the Sequence.
  2. Enter List value of emails in Body as shown in the image below. 

  1. Drag MessageBox Activity into ForEachWithBodyFactory Activity.
  2. Type Item.Body.ToString in Message field of the MessageBox Activity Properties Panel.
  3. Click Save button from iRobo Studio Menu to save Workflow.
  4. Click Play button to start the automated process to loop inbox mails.



Created with the Personal Edition of HelpNDoc: Generate EPub eBooks with ease