Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
EmailParser.Free
Frees the email parser.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| EmailParser | 5.3 | Yes | Yes | Yes | Yes | Yes |
Parameters
| Parameter | Description | Example |
|---|---|---|
| EmailID | The ID fo the email parser. |
Result
Returns OK or error.
Description
Frees the email parser.Please call this function always with the reference numbers you got from CURL.GetResultAsEmail or EmailParser.Parse.
Examples
Parse Subject, PlainText and HTMLText from email:
Set Variable [$email; Value:MBS("EmailParser.Parse"; Email Parser::Input)]
If [MBS("IsError") = 1]
Show Custom Dialog ["Failed to parse email."; Middle($email; 7; Length($email))]
Exit Script []
End If
#Show text:
Set Field [Email Parser::Subject; MBS("EmailParser.Subject"; $email)]
Set Field [Email Parser::PlainText; MBS("EmailParser.PlainText"; $email)]
Set Field [Email Parser::HTMLText; MBS("EmailParser.HTMLText"; $email)]
#cleanup
Set Variable [$r; Value:MBS("EmailParser.Free"; $email)]
See also
- CURL.GetResultAsEmail
- EmailParser.Hash
- EmailParser.HTMLText
- EmailParser.Parse
- EmailParser.ParseContainer
- EmailParser.PlainText
- EmailParser.Source
- EmailParser.Subject
- IsError
- Text.ReadEMLXFile
Example Databases
- CURL/Email/Email Client
- CURL/Email/Email Parser and Preview
- CURL/Email/Email Parser
- CURL/Email/IMAP Email
- Drag and Drop/for Mac/DragTest Email
Created 24th September 2015, last changed 16th October 2015
EmailParser.AttachmentCount - EmailParser.HTMLText
Feedback: Report problem or ask question.
Links
MBS Xojo Chart Plugins