Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Component: EmailParser
Functions to parse emails and extract text, addresses and attachments.
Use CURL functions to query POP and IMAP servers to obtain the email content or load it from eml/emlx files.
You can send or receive emails with our CURL functions. For sending the SendMail functions help to build an email and send it, while EmailParser functions help to parse an email.
Version | macOS | Windows | Linux | Server | iOS SDK |
5.3 / 14.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
Item | Details |
---|---|
EmailParser.Address Queries an address value. | All 5.3 |
EmailParser.AddressCount Queries number of addresses. | All 5.3 |
EmailParser.AttachedEmails Queries email IDs for embedded emails. | All 9.4 |
EmailParser.Attachment Queries an attachment property. | All 5.3 |
EmailParser.AttachmentCount Queries number of attachments. | All 5.3 |
EmailParser.HTMLText Queries html text of email. | All 5.3 |
EmailParser.HTMLToPlainText Converts HTML to plain text. | All 5.3 |
EmailParser.HasHeader Checks if header exists. | All 7.4 |
EmailParser.Hash Returns a SHA512 hash for the email source parsed. | All 5.4 |
EmailParser.Header Queries a header entry. | All 5.3 |
EmailParser.HeaderCount Queries number of header entries. | All 5.3 |
EmailParser.HeaderValue Queries header value by header name. | All 7.4 |
EmailParser.Inline Queries an inline graphics property. | All 5.3 |
EmailParser.InlineCount Queries number of inline images. | All 5.3 |
EmailParser.List Lists all email parser reference numbers. | All 5.3 |
EmailParser.MessageID Queries the message ID of the email. | All 5.3 |
EmailParser.Parse Parses an email. | All 5.3 |
EmailParser.ParseContainer Parses an email stored in container. | All 6.3 |
EmailParser.ParseFile Parses an email from a file. | All 5.3 |
EmailParser.PlainText Queries plain text of email. | All 5.3 |
EmailParser.ProcessImageReferences Processes image references in HTML. | All 6.3 |
EmailParser.ReceiveDate Queries the date and time of the email. | All 6.4 |
EmailParser.Release Frees the email parser. | All 5.3 |
EmailParser.ReleaseAll Releases all emails. | All 14.3 |
EmailParser.SentDate Queries the date and time of the email. | All 5.4 |
EmailParser.Source Returns the source of the email as we parsed it. | All 5.4 |
EmailParser.SourceWithoutAttachments Returns the source of the email without attachments. | All 5.4 |
EmailParser.Subject Queries the subject line of the email. | All 5.3 |
EmailParser.WriteAttachment Writes an attachment to a file path. | All 5.3 |
EmailParser.WriteInline Writes an inline graphics to a file path. | All 5.3 |
30 functions shown.
Release notes
- Version 14.3
- Added EmailParser.ReleaseAll function.
- Renamed EmailParser.Free to EmailParser.Release, but old name will stay valid.
- Version 14.2
- Fixed an issue with EmailParser.ReceiveDate and EmailParser.SentDate function with east asian time zones.
- Improved EmailParser.HTMLToPlainText to handle title tag.
- Version 13.2
- Improved EmailParser.Attachment function to better handle PDF documents and return them as PDF container with preview.
- Version 12.5
- Improved EmailParser.HTMLToPlainText function to better handle comments in html and div tags.
- Version 12.2
- Fixed an edge case in EmailParser functions where file name got an extra space in front.
- Version 12.0
- Fixed a problem in email parser, which didn't get multi part right on Linux for EmailParser.Parse, EmailParser.ParseContainer and EmailParser.ParseFile.
- Version 11.3
- Fixed a problem with a math function, which affected time zone calculation for EmailParser.SentDate, EmailParser.ReceiveDate and Time.TimeStampToUTC functions (broken in v11.2).
- Version 11.0
- Optimized EmailParser.HTMLToPlainText function to add new line after pre element and to skip space runs.
- Version 10.4
- Fixed problem with EmailParser functions causing crash with parsing invalid email header.
Blog Entries
- MBS Plugin Advent calendar: 23 - MailParser
- Email and MBS Plugin
- MBS FileMaker Plugin, version 12.2pr4
- GMail for emails with MBS Plugin
- MBS FileMaker Plugin, version 10.4pr7
- MBS FileMaker Plugin 6.4 for OS X/Windows
- [ANN] MBS FileMaker Plugin 5.3 for OS X/Windows