Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
EmailParser.Subject
Queries the subject line of the email.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
EmailParser | 5.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
Parameters
Parameter | Description | Example |
---|---|---|
EmailID | The ID fo the email parser. |
Result
Returns text or error.
Description
Queries the subject line of the email.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.Release"; $email)]
See also
- EmailParser.HTMLText
- EmailParser.Parse
- EmailParser.ParseContainer
- EmailParser.PlainText
- EmailParser.Release
- EmailParser.Source
- IsError
- Text.ReadEMLXFile
Example Databases
- CURL/Email/Email Client
- CURL/Email/Email Parser and Preview
- CURL/Email/Email Parser
- CURL/Email/IMAP Email
Blog Entries
This function is free to use.
Created 24th September 2015, last changed 23th May 2024
EmailParser.SourceWithoutAttachments - EmailParser.WriteAttachment