Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
MBS FileMaker Plugin Example Databases
Email Parser and Preview
All examples are included with download of MBS FileMaker Plugin.
Email Parser and Preview.fmp12
Overview | |
Tables | 4 |
Relationships | 3 |
Layouts | 4 |
Scripts | 4 |
Value Lists | 0 |
Custom Functions | 0 |
Custom Menus | 33 |
File Options | |
Default custom menu set | [Standard FileMaker Menus] |
When opening file | |
Minimum allowed version | 12.0 |
Login using | Account Name; Account= Admin |
Allow user to save password | Off |
Require iOS passcode | Off |
Switch to layout | Off |
Hide all toolbars | Off |
Script triggers | |
OnFirstWindowOpen | Off |
OnLastWindowClose | Off |
OnWindowOpen | Off |
OnWindowClose | Off |
OnFileAVPlayerChange | Off |
Thumbnail Settings | |
Generate Thumbnails | On; Temporary |
Table Name |
Statistics
| Occurrences in Relationship Graph |
Email Parser |
7 fields defined, 0 record
| Email Parser |
Address |
4 fields defined, 0 record
| Address |
Attachment |
3 fields defined, 0 record
| Attachment |
InlineGraphics |
4 fields defined, 0 record
| InlineGraphics |
Table Name: Email Parser - 7 Fields | ||||||||
Field Name | Type | Options | Comments | On Layouts | In Relationships | In Scripts | In Value Lists | |
Input | Normal, Text | Auto-Enter:
|
|
|
||||
Subject | Normal, Text | Auto-Enter:
|
|
|
||||
PlainText | Normal, Text | Auto-Enter:
|
|
|
||||
HTMLText | Normal, Text | Auto-Enter:
|
|
|
||||
Mailer | Normal, Text | Auto-Enter:
|
|
|
||||
EmailID | Normal, Number | Auto-Enter:
|
|
|||||
Datum | Normal, Text | Auto-Enter:
|
|
|
Relationship: Email Parser=Address
Table Occurrence | Email Parser | Address | |
Field | EmailID | = | EmailID |
Source Table | Email Parser | Address | |
Source File | Email Parser and Preview.fmp12 | Email Parser and Preview.fmp12 | |
Allow creation of records via this relationship | Off | Off | |
Delete related records in this table when a record is deleted in the other table | Off | Off | |
Sort records |
Off | Off |
Relationship: Email Parser=InlineGraphics
Table Occurrence | Email Parser | InlineGraphics | |
Field | EmailID | = | EmailID |
Source Table | Email Parser | InlineGraphics | |
Source File | Email Parser and Preview.fmp12 | Email Parser and Preview.fmp12 | |
Allow creation of records via this relationship | Off | Off | |
Delete related records in this table when a record is deleted in the other table | Off | Off | |
Sort records |
Off | Off |
Layout Hierarchy
Email Parser
Address
Attachment
InlineGraphics
Layout Name | Include In Menu | Quick Find | # of Objects | Show Records From | Save record changes automatically | Show field frames when record is active | Show field frames only on current record | Show current record indicator in List View | Used in Scripts | Custom Menu Set | Script Triggers | Theme ID |
Email Parser | Yes | Yes | Email Parser | On | On | Off | On | [File Default] | 01 | |||
Address | Yes | Yes | Address | On | On | Off | On | [File Default] | 01 | |||
Attachment | Yes | Yes | Attachment | On | On | Off | On | [File Default] | 01 | |||
InlineGraphics | Yes | Yes | InlineGraphics | On | On | Off | On | [File Default] | 01 |
Layout Objects: Email Parser
Field Name: Email Parser::Input | |||||
Field Properties | Coordinates | Field Format | Field Behavior | Quick Find | |
|
| Field Format:
| Field Behavior:
| No |
Field Name: Email Parser::Subject | |||||
Field Properties | Coordinates | Field Format | Field Behavior | Quick Find | |
|
| Field Format:
| Field Behavior:
| Yes |
Field Name: Email Parser::PlainText | |||||
Field Properties | Coordinates | Field Format | Field Behavior | Quick Find | |
|
| Field Format:
| Field Behavior:
| Yes |
Field Name: Email Parser::HTMLText | |||||
Field Properties | Coordinates | Field Format | Field Behavior | Quick Find | |
|
| Field Format:
| Field Behavior:
| Yes |
Field Name: Email Parser::Mailer | |||||
Field Properties | Coordinates | Field Format | Field Behavior | Quick Find | |
|
| Field Format:
| Field Behavior:
| Yes |
Field Name: Address::Type | |||||
Field Properties | Coordinates | Field Format | Field Behavior | Quick Find | |
|
| Field Format:
| Field Behavior:
| Yes |
Field Name: Address::Name | |||||
Field Properties | Coordinates | Field Format | Field Behavior | Quick Find | |
|
| Field Format:
| Field Behavior:
| Yes |
Field Name: Address::Email | |||||
Field Properties | Coordinates | Field Format | Field Behavior | Quick Find | |
|
| Field Format:
| Field Behavior:
| Yes |
Field Name: Attachment::Content | |||||
Field Properties | Coordinates | Field Format | Field Behavior | Quick Find | |
|
| Field Format:
| Field Behavior:
| No |
Field Name: Attachment::FileName | |||||
Field Properties | Coordinates | Field Format | Field Behavior | Quick Find | |
|
| Field Format:
| Field Behavior:
| Yes |
Field Name: InlineGraphics::Content | |||||
Field Properties | Coordinates | Field Format | Field Behavior | Quick Find | |
|
| Field Format:
| Field Behavior:
| No |
Field Name: InlineGraphics::FileName | |||||
Field Properties | Coordinates | Field Format | Field Behavior | Quick Find | |
|
| Field Format:
| Field Behavior:
| Yes |
Field Name: Email Parser::EmailID | |||||
Field Properties | Coordinates | Field Format | Field Behavior | Quick Find | |
|
| Field Format:
| Field Behavior:
| Yes |
Field Name: Email Parser::Datum | |||||
Field Properties | Coordinates | Field Format | Field Behavior | Quick Find | |
|
| Field Format:
| Field Behavior:
| Yes |
Button Properties | Coordinates | Script/Script Step | |||
|
| Perform Script [ “ParseEmail” ] Scripts: |
Button Properties | Coordinates | Script/Script Step | |||
|
| Perform Script [ “ShowEmail” ] Scripts: |
Button Properties | Coordinates | Script/Script Step | |||
|
| Perform Script [ “Load Test Email” ] Scripts: |
Portal Properties | Coordinates | Fields | Options | ||
|
| Field Objects
|
|
Portal Properties | Coordinates | Fields | Options | ||
|
| Field Objects
|
|
Portal Properties | Coordinates | Fields | Options | ||
|
| Field Objects
|
|
Web Viewer Control Properties | Coordinates | Web Address | |||
|
| "about:blank" |
Layout Objects: Address
Field Name: Address::Type | |||||
Field Properties | Coordinates | Field Format | Field Behavior | Quick Find | |
|
| Field Format:
| Field Behavior:
| Yes |
Field Name: Address::Name | |||||
Field Properties | Coordinates | Field Format | Field Behavior | Quick Find | |
|
| Field Format:
| Field Behavior:
| Yes |
Field Name: Address::Email | |||||
Field Properties | Coordinates | Field Format | Field Behavior | Quick Find | |
|
| Field Format:
| Field Behavior:
| Yes |
Layout Objects: Attachment
Field Name: Attachment::EmailID | |||||
Field Properties | Coordinates | Field Format | Field Behavior | Quick Find | |
|
| Field Format:
| Field Behavior:
| Yes |
Field Name: Attachment::Content | |||||
Field Properties | Coordinates | Field Format | Field Behavior | Quick Find | |
|
| Field Format:
| Field Behavior:
| No |
Field Name: Attachment::FileName | |||||
Field Properties | Coordinates | Field Format | Field Behavior | Quick Find | |
|
| Field Format:
| Field Behavior:
| Yes |
Layout Objects: InlineGraphics
Field Name: InlineGraphics::EmailID | |||||
Field Properties | Coordinates | Field Format | Field Behavior | Quick Find | |
|
| Field Format:
| Field Behavior:
| Yes |
Field Name: InlineGraphics::Content | |||||
Field Properties | Coordinates | Field Format | Field Behavior | Quick Find | |
|
| Field Format:
| Field Behavior:
| No |
Field Name: InlineGraphics::FileName | |||||
Field Properties | Coordinates | Field Format | Field Behavior | Quick Find | |
|
| Field Format:
| Field Behavior:
| Yes |
Field Name: InlineGraphics::CID | |||||
Field Properties | Coordinates | Field Format | Field Behavior | Quick Find | |
|
| Field Format:
| Field Behavior:
| Yes |
ParseEmail |
ShowEmail |
Clear |
Load Test Email |
Next Script: [ShowEmail] |
Script Name | ParseEmail |
Run script with full access privileges | Off |
Include In Menu | Yes |
Layouts that use this script | |
Scripts that use this script |
|
Script Definition | |
Script Steps |
|
Fields used in this script |
|
Scripts used in this script |
|
Layouts used in this script | |
Tables used in this script | |
Table occurrences used by this script | |
Custom Functions used by this script |
|
Custom menu set used by this script |
|
Previous Script: [ParseEmail] | Next Script: [Clear] |
Script Name | ShowEmail |
Run script with full access privileges | Off |
Include In Menu | Yes |
Layouts that use this script | |
Scripts that use this script |
|
Script Definition | |
Script Steps |
|
Fields used in this script | |
Scripts used in this script |
|
Layouts used in this script | |
Tables used in this script | |
Table occurrences used by this script | |
Custom Functions used by this script |
|
Custom menu set used by this script |
|
Previous Script: [ShowEmail] | Next Script: [Load Test Email] |
Script Name | Clear |
Run script with full access privileges | Off |
Include In Menu | Yes |
Layouts that use this script |
|
Scripts that use this script |
|
Script Definition | |
Script Steps |
|
Fields used in this script | |
Scripts used in this script |
|
Layouts used in this script | |
Tables used in this script | |
Table occurrences used by this script | |
Custom Functions used by this script |
|
Custom menu set used by this script |
|
Previous Script: [Clear] |
Script Name | Load Test Email |
Run script with full access privileges | Off |
Include In Menu | Yes |
Layouts that use this script | |
Scripts that use this script |
|
Script Definition | |
Script Steps |
|
Fields used in this script | |
Scripts used in this script |
|
Layouts used in this script |
|
Tables used in this script | |
Table occurrences used by this script | |
Custom Functions used by this script |
|
Custom menu set used by this script |
|
Download example: Email Parser and Preview
Used functions:- CURL.Cleanup
- CURL.GetResultAsText
- CURL.New
- CURL.Perform
- CURL.SetOptionURL
- EmailParser.Address
- EmailParser.AddressCount
- EmailParser.AttachmentCount
- EmailParser.Free
- EmailParser.Header
- EmailParser.HeaderCount
- EmailParser.HTMLText
- EmailParser.Inline
- EmailParser.InlineCount
- EmailParser.Parse
- EmailParser.ProcessImageReferences
- EmailParser.SentDate
- EmailParser.Subject
- Files.CreateDirectory
- Files.WriteFile
- Folders.UserTemporary
- Path.AddPathComponent
- Path.FilePathToFileURL
- Text.RemovePostfix
- Text.RemovePrefix
- Text.WriteTextFile