Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.3   7.4   7.5   8.0   8.1   8.2   8.3   8.4   8.5   8.6    Statistic  

EmailParser.HeaderValue

Queries header value by header name.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
EmailParser 7.4 Yes Yes Yes Yes Yes
MBS( "EmailParser.HeaderValue"; EmailID; HeaderName )   More

Parameters

Parameter Description Example value
EmailID The ID fo the email parser. $Email
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

Created 22nd August 2017, last changed 22nd August 2017


EmailParser.HeaderCount   -   EmailParser.Inline

Feedback: Report problem or ask question.




Links
MBS FileMaker tutorial videos