Skip to content

Phalanx-Ai/ex-pop3-attachment

Repository files navigation

Email Attachment Extractor

The email attachment extractor allows you to download email attachments from the POP3 mailbox. There is no restriction for attachment type, so you can download also XLS files or images.

Configuration

A configuration consist of mostly mandatory parameters. A sample configuration can be found in the component's repository

  • POP3 server (server) - a name or IP address of the POP3 server
  • username (username) - a username used to login to POP3 server
  • password (#password) - a password associated with username
  • valid email address (accept_from) - accept only emails from a given address
  • valid filename of attachment (accept_filename) - accept only attachments with a given filename
  • valid RE of filename of attachement (accept_re_filename) - accept only attachments that matches RE

One of accept_filename, accept_re_filename is required.

Output

A file with content of email attachment, the name matches the filename of the attachment in case of accept_filename. When regular expression is set than the name of the file is same as the name of the original attachments in the email.