Support > The Guide > Components Reference > Email Form Loader The Email Form Loader component allows emails to be read from disk and loaded into a Form.
The component reads emails stored on disk in the standard RFC822 format, each message in a separate folder, with any attachments already MIME decoded and stored individually.
You can use any software to prepare these files, however we recommend Mailtraq (www.mailtraq.com), which can receive emails by SMTP or POP3, and write them out to disk in the required format (Via its Separate Attachment Format option).
When the Email Form Loader has loaded an email, the source files are deleted from disk. This prevents the disk from filling up with historic files, and prevents the operating system stalling (Windows does not happily handle large numbers of files in a directory)
The Email Form Loader is configured by selecting two Forms: one for the Email itself, and one for any attachments. When an email is loaded, a record is created in the first Form, and if there are attachments, it will create a record for each attachment in the attachments Form.

In configuring the Email Form Loader, you need to specify which field in each form should receive the various parts of the email.
In the Behavior Editor you select the location on the disk where the email will be loaded from, and a schedule for when it should start the loading. This is typically performed daily, but other options are available.

When the Email Form Loader creates a record the event for that Form are triggered. So for example you could create a notification email to be sent out if an email was loaded that matched some criteria. Be careful to avoid creating message loops, where the email generated also gets loaded in by the Email Form Loader, triggering another email, etc
|