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.HeaderValue
Queries header value by header name.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| EmailParser | 7.4 | Yes | Yes | Yes | Yes | Yes |
MBS( "EmailParser.HeaderValue"; EmailID; HeaderName ) More
Parameters
| Parameter | Description | Example |
|---|---|---|
| EmailID | The ID fo the email parser. | |
| HeaderName | The name of the header to look for. | "X-Priority" |
Result
Returns value or error.
Description
Queries header value by header name.Returns empty value if header is not found.
Queries of course only first value in case the header is there multiple times!
Examples
Query priority:
Set Variable [ $HeaderValue ; Value: MBS("EmailParser.HeaderValue"; $email; "X-Priority") ]
Show Custom Dialog [ "Subject" ; $HeaderValue ]
See also
Blog Entries
Release notes
- Version 7.4
- Added EmailParser.HasHeader and EmailParser.HeaderValue functions to make header queries easier.
Created 22nd August 2017, last changed 22nd August 2017
EmailParser.HeaderCount - EmailParser.Inline
Feedback: Report problem or ask question.
Links
MBS Xojo PDF Plugins