Fetch Email


Fetches emails from the pop3 server.

Parameters

  • Fetch Specifies the number of email that should be fetched.

  • Read fields Specifies the information items that should be stored into the variables.

    item description
    subjectThe subject of the email
    bodyThe body of the email, some emails will have two types of body in plain text and HTML format, and the content of plain text will be preferentially saved
    fromThe sender of the email
    dateThe date of the email
    replytoThe address to which the email needs to be replied to, sometimes different from the sender
    toThe address of receiver
    ccCC address, possibly not
    receiptWhether the sender needs a receipt
    attachmentAttachments are also saved in the array, one row corresponds to one attachment, each row contains: name (file name), content (file content) two elements, the binary data of the attachment is stored in content.

    For example: save the content to the array arrEmail, and select "From", "Body", "Date" and "Attachment", and receive two emails, the content of the array will be as follows:

    # body from date attachment
    1body text....abc@abc.com2040-2-1none
    2body text....cde@cdef.com2040-1-1
    # name content
    1aaa.txt(binary data)
    2bbb.doc(binary data)

    When subsequent steps need to use the contents of the array, either the name or the subscript (index number) operator can be used. It should be noted that the subscript of array starts from 0, 0 means the first element, 1 means the second, and so on.

    • arrEmail[0,1] //Access 'from' element with subscript operator
    • arrEmail[1,3,0,0] //Access 'name' value in the first attachment
    • arrEmail[1,'date'] //Use the element name to access 'data' field value of the second email.
    • arrEmail[1,'attachment',0,'name'] //Use the element name to get the name of the first attachment with the second email.
  • Extra fields Specifies the extra header items that should be stored into the variables. The mail servers may send more header items than the standard. Using option, you can save these header items, separated by semicolons if more than one items.

  • Save emails' source data into folder Specifies whether to save the email source data into a local folder. The source file will be named as the email id with the eml extension.

  • Populate array with information of emails Specifies the array to populate with the information item of the retrieved emails. The action will adjust the specified variable/array automatically for the email information.

  • Populate variable with number of emails Specifies a variable to populate with the number of retrieved emails.

  • Delete emails from server Using this option, all fetched email will be removed from the server after downloaded them.

  • Save attachments into folder Specifies the local folder to save the attachments with the email, the sub folder will be created and named with the email id.

  • Ignore emails already exists in local folder Specifies whether to ignore the fetched email.

Note:

  • For more information about the array, please refer to "Variables and Arrays".

  • For more information about the email server options, please refer to "Mail Server".

  • For more information about the email filter options, please refer to "Mail Filter".

  • For more information about the proxy options, please refer to "Proxy".

  • For more information about the timeout options, please refer to "Timeout".