EmailParser.HeaderCount
-----------------------

Queries number of header entries.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [EmailParser](component_EmailParser.md) | [5.3](newinversion53.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "EmailParser.HeaderCount"; EmailID ) 

**MBS**( **"EmailParser.HeaderCount";** /\* Queries number of header entries. \*/  
**$EmailID**) /\* The ID fo the email parser.e.g. $Email \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| EmailID | The ID fo the email parser. | $Email |

### Result

Returns number or error.

### Description

Queries number of header entries.  
### See also

- [EmailParser.AddressCount](EmailParserAddressCount.md)
- [EmailParser.Header](EmailParserHeader.md)
- [EmailParser.HeaderValue](EmailParserHeaderValue.md)
- [EmailParser.InlineCount](EmailParserInlineCount.md)
- [EmailParser.Parse](EmailParserParse.md)

### Example Databases

- [CURL/Email/Email Client](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/CURL/Email/Email%20Client.shtml#1ScriptAnchor_)
- [CURL/Email/Email Parser and Preview](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/CURL/Email/Email%20Parser%20and%20Preview.shtml#1ScriptAnchor_)
- [CURL/Email/Email Parser](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/CURL/Email/Email%20Parser.shtml#1ScriptAnchor_)
- [CURL/Email/IMAP Email](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/CURL/Email/IMAP%20Email.shtml#4ScriptAnchor_)

This function is free to use.

Created 24th September 2015 , last changed 24th September 2015

  
[EmailParser.Header](EmailParserHeader.md) - [EmailParser.HeaderValue](EmailParserHeaderValue.md)

[HTML Version](EmailParserHeaderCount.shtml)