WebFlow downloads mail a POP3 mail server and saves attachments in this file. Using regular expressions (see regular expression) you can generate an XML containing metadata extracted from the email.
Settings
Settings for getting email
Test
When you click test the first mail in the mailbox is retrieved.
Test EML
Get raw mail file
Open EML files
Use this to open external raw mail files, the eml files are processed as if they have been retrieved from email server. This is usefull for testing.
Any errors are displayed in a messagebox.
Remarks
If WebFlow cannot parse the mail it is saved in raw format with extension eml (can be openede by double clicking op a Windows computer) with timestamp (see settings) as filename. You can then manually save attachments.
A mail is deleted from server if it could be saved.
Server Settings
Fetch Email, General
WebFlow downloads mail a POP3 mail server and saves attachments in this file. Using regular expressions (see regular expression) you can generate an XML containing metadata extracted from the email.
Remarks
If WebFlow cannot parse the mail it is saved in raw format with extension eml (can be openede by double clicking op a Windows computer) with timestamp as filename. You can then manually save attachments.
A mail is deleted from server if it could be saved.
File Naming
Fetch Email, naming
Name
A regular expression that determines what filename WebFlow will use when saving attachment.
The drop down box determines what text WebFlow will use as the input for the regular expression.
Eg. ".*" with drop down option Attachment Filename will save the attachment with its original filename. "\d\d\d\d\d\d\d" with Subject will extract a 7 digit number from the subject line of the email.
If there is multiple attachments and the source for regular expression is not Attachment Filename "_001", "002", .... is attached to each filename.
Timestamp format
The format WebFlows uses when creating a timestamp (see Time Syntax).
If the reguler expression for filename does not match the filename (or if it returns a filename with an illegal character ("\/:*?<>|")) for both xml file and attachment is timestamp (eg. 2007-11-06_17_44_59.pdf). Be sure to include seconds in timestamp WebFlow downloads maximum one mail per second so no mails will have the same timestamp if you include seconds.
Attachment filename must match regular expression
Only attachments that match regular expression are processed.
eg. .*\.pdf$ to only include pdf files or .*\.(pdf)|(ps)$ to include both pdf and ps files
Multiple attachment
Determines how email with more than one attachment that matches preceding regular is handled.
- Single XML
A single xml file is generated - Counter, multiple XML
A XML file is generated for each saved attachment, if XML filename is not set from attachment filename a counter is inserted as in the filename for the attachment. - Not allowed, single XML
Meta Data
Fetch Email, Meta Data
List
A list of ids to put in xml, for each id you enter a regular expression and what source is used as input.
IDs
ID |
Name |
90 |
Subject |
91 |
From |
92 |
To |
93 |
Attached file |
94 |
Body |
95 |
Header |
96 |
All |
97 |
Timestamp |
Folders
Fetch Email, Folders
Backup folder for eml files
If enabled a backup in eml (raw) format is saved in this folder. The time stamp format is the same as normal timestamp except that you can also add $from and $subject to add from or subject field in mail, if these can be extracted from the email
Save attachments in subfolder
If enabled the name property in the naming tab refers to the name of a subfolder that will be created in the root folder you choose here. All attachments are then saved in this subfolder.
Append Timestamp format to subfolder name
The time stamp format is the same as normal timestamp except that you can also add $from and $subject to add from or subject field in mail, if these can be extracted from the email.
Comments