Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.1   6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4    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 )

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


EmailParser.HeaderCount   -   EmailParser.Inline

Feedback: Report problem or ask question.




Links
MBS Xojo PDF Plugins