Table of Contents

Search

  1. Preface
  2. Introduction
  3. Dashboard
  4. Resources
  5. Workflows
  6. Task Reference
  7. Services Overview
  8. Users
  9. Logs and Reports
  10. Encryption
  11. System
  12. Appendix
  13. Glossary Terms

Example 1: Retrieve Email

Example 1: Retrieve Email

Follow the steps below to retrieve emails that contain a From address of "example@informatica.com" and save their attachments to a directory:
On the Advanced tab, there is an option to delete the message after it is retrieved, which by default is set to false.  Changing it to true will delete the message from the mail box server after it is retrieved.
  1. From within the Project Designer page, expand the Email folder in the Component Library, and then drag the Retrieve Email task to the Project Outline.
  2. On the Basic tab of the Retrieve Mail task, specify values for the following attributes:
    Mail Box
    The Mail Box resource.
    Destination Directory
    The file path where the attachments should be saved.
    Save Attachments
    Whether or not to save the attachments to the destination directory.
  3. Click the
    Add
    button in the sub-menu and select the Message Filter menu item.
  4. On the Basic tab of the Message Filter element, specify values for the following attributes:
    • Match - Specify the type of matching to use. Valid options are 'all' and 'any'. The option 'all' means that all filter criteria must be met for an email message to be processed, whereas 'any' means that one or more filter criteria must be met for an email message to be processed.
  5. Click the
    Add
    button in the sub-menu and select the Add a From Address Filter menu item.
  6. On the Basic tab of the From Address Filter, specify values for the following attributes:
    Condition
    Specify the condition to use for including or excluding emails. Valid options are 'equals', 'not equals', 'contains', 'not contains', and 'regex'.
    Value
    Specify the search term.
    Case Sensitive
    Specify whether or not to use case sensitive matching.
  7. Click the
    Save
    button when finished.

0 COMMENTS

We’d like to hear from you!